locked
Migrating from IIS 6.0 to another IIS 6.0 RRS feed

  • Question

  • User446870201 posted

       Hi,

     

    We are deploying a new IIS server and I want to migrate my sites from old IIS to new one which are both IIS 6.0. I have installed  MS Deploy tool on both new server and the old server. I have run the below command on the new server;

     

    "msdeploy -verb:sync -source:webServer60,computerName=10.90.1.7 -dest:webServer60 verboseLevel:Informational -whatif >msDeploySync.log"

     

    And I have the following error;

    "Fatal: Request to remote agent URL 'http://10.90.1.7/MSDEPLOYAGENTSERVICE' failed.  The remote server returned an error: (503) Server Unavailable.  
    Change count: 0
    Fatal count: 1"

     

    I have checked remote deploy agent service is running. Kindly ask you to assist. Thanks in advance.

     

    Regards.Sedat

     

    Saturday, July 12, 2008 9:57 AM

Answers

  • User-1653247517 posted

    Yes, commandline looks fine (assuming you missed hypen in front of verboseLevel while writing the post).

    I am not sure why you are seeing 503. Is it possible that you have a proxy configured on your machine which is participating in 503 response?

    -Kanwal-

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Saturday, July 12, 2008 1:17 PM
  • User-1653247517 posted

    Sedat,

    IsapiCgiExistence dependency check rule is pointing out that you have isapi_fcgi.dll installed on your source machine but not on destination. We don't move ISAPIs like this during sync operation and require you to do proper installation on destination. If you install php4 on destination, this error will go away. While syncing two IIS6 servers, having IIS5IsolationMode enabled is probably not bad (IIS7 doesn't support that and we flag it out if we see that. Need to confirm that this error can be ignored IIS6 to IIS6 case). In that case, you can ignore dependency check errors by adding -failureLevel:never to your commandline.

    -Kanwal-

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Saturday, July 12, 2008 1:52 PM
  • User-1653247517 posted

    This blog explains how to get SiteId in IIS5 and IIS6.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, July 14, 2008 1:10 AM

All replies

  • User-1653247517 posted

    Hi Sedat,

    Just to confirm again, you have verified that msdepsvc is running on your source machine (10.90.1.7). Also can you pls confirm that you didn't use the commandline install to change the port or listenurl on which agent service should listen.

    -Kanwal-

    Saturday, July 12, 2008 12:48 PM
  • User446870201 posted

     Hi,

     

    Yes, when check itfrom Services mmc I am able to see it running. I have installed the agent service with default options. Thanks.

     

    Regards 

    Saturday, July 12, 2008 12:58 PM
  • User446870201 posted

     Hi again,

    Beside the agent error is the syntax of the command true? Thanks for assistance.

     

    Rgds.Sedat 

    Saturday, July 12, 2008 1:02 PM
  • User-1653247517 posted

    Yes, commandline looks fine (assuming you missed hypen in front of verboseLevel while writing the post).

    I am not sure why you are seeing 503. Is it possible that you have a proxy configured on your machine which is participating in 503 response?

    -Kanwal-

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Saturday, July 12, 2008 1:17 PM
  • User446870201 posted

     Yes, there is a proxy configured and I have forgotten to check "Bypass proxy server for local addresses" checkbox:( . Now I have rerun the command and it takes longer than before. Thank you for your help. I will post If I have more errors on this. Thanks again.

     

    Regards.Sedat

    Saturday, July 12, 2008 1:29 PM
  • User446870201 posted

     Now I have this error;

     

    Fatal: The Iis5IsolationMode dependency check detected Iis5IsolationMode in source data.
    Fatal: The dependency check 'Iis5IsolationMode' found issues up to 'Fatal' level that must be resolved before the current operation can be processed.  See previous messages.
    Error: The InUseDependency or IsapiCgiExistence dependency check detected C:\php4\fastcgi\isapi_fcgi.dll in the source data but not installed on the destination server.
    Fatal: The dependency check 'IsapiCgiExistence' found issues up to 'Error' level that must be resolved before the current operation can be processed.  See previous messages.
    Change count: 0
    Fatal count: 3
    Error count: 1

    Saturday, July 12, 2008 1:31 PM
  • User-1653247517 posted

    Sedat,

    IsapiCgiExistence dependency check rule is pointing out that you have isapi_fcgi.dll installed on your source machine but not on destination. We don't move ISAPIs like this during sync operation and require you to do proper installation on destination. If you install php4 on destination, this error will go away. While syncing two IIS6 servers, having IIS5IsolationMode enabled is probably not bad (IIS7 doesn't support that and we flag it out if we see that. Need to confirm that this error can be ignored IIS6 to IIS6 case). In that case, you can ignore dependency check errors by adding -failureLevel:never to your commandline.

    -Kanwal-

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Saturday, July 12, 2008 1:52 PM
  • User446870201 posted

     Hi,

     

    Thank you for the information. What if I want to sync only the sites that I want to I mean I have seen a verb which stands for the site code how can I find the site codes in IIS 6? Thanks.

    Regards.Sedat

    Monday, July 14, 2008 12:59 AM
  • User-1653247517 posted

    This blog explains how to get SiteId in IIS5 and IIS6.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, July 14, 2008 1:10 AM
  • User446870201 posted

     Thank you all for your help. I have successfully synced servers but I have to clear some problems. Anyway sites are completeley synced.

     

    Regards.Sedat

    Monday, July 14, 2008 9:10 AM
  • User-411421990 posted

    Hi Doncidado, I'm new to IIS - I believe, you have successful to migration the IIS. Would you mind to let me know things you have done? I'm going to migrate IIS6 to IIS6 (newer hardware) too. Thanks a lot! (My email tam.pham@metc.state.mn.us)

    Thursday, October 9, 2008 1:03 PM