« Previous Next »

Thread: Works for me! One IP question

Last post 11-14-2008 4:18 PM by Wilburs1340. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 11-11-2008, 9:30 AM

    Works for me! One IP question

    Maybe I'm the only one. It seems like lots of people are having trouble with this.

     I just migrated 200 sites from a 2003 box to a 2008 box, using instructions found on this site.

    1- download msdeploy to both machines

    2- make sure the remote service is running on the dest machine

    3- deploy

     I had some errors on the first site. Needed to install CFMX and ASP1, which was a bit of a hassle actually. Once that was fixed, I manually added the App Pools.

     Then I ran something like this:

    msdeploy -verb:sync -source:metakey=lm/w3svc/72791780 -dest:metakey=lm/w3svc/72791780,computername=xxx.xxx.xxx.xxx

    I didn't need to copy the entire server so I made a monster batch file with only the sites I wanted. Same command as above x 200.

     Works great, sites are up and running, thanks to all involved!

     But is there a way to sync a site without resyncing the IPs? I have a minion changing all of the IP bindings for me right now, and I would hate to have him do it for nothing if I accidently run that batch file again...

  • 11-11-2008, 1:51 PM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 862

    Re: Works for me! One IP question

    Hi,

    You would need a skip rule to skip syncing of site bindings. This blog post explains skip/replace rules in detail. Let us know if you have trouble writing skip rule to skip syncing IPs.

    Latest release of msdeploy lets you parameterize source bindings and set the parameter values for destination as part of sync operation. I haven't tried that out but I would be happy to build the command if you need.

    Thanks,
    Kanwal

    Follow me on twitter at http://twitter.com/kjsingla
  • 11-14-2008, 8:00 AM In reply to

    • mixup
    • Not Ranked
    • Joined on 05-22-2008, 12:14 PM
    • Posts 11

    Re: Works for me! One IP question

    I had a similar issue with this and this is the syntax that I use and it works fine in terms of skipping Multiple Identities:

     "C:\Program Files\Microsoft Web Deploy\msdeploy.exe" -verb:sync -source:metaKey=/lm/w3svc/site_number -dest:metakey=/lm/w3svc/site_number,computername=office_wms01 -skip:objectName=metaProperty,absolutePath=Bindings > C:\Distribution\Logs\office_wms01.log

  • 11-14-2008, 4:18 PM In reply to

    Re: Works for me! One IP question

    Ya know, I read through that blog entry before my first post and somehow missed that part. Thanks ;)

     mixup, thanks I'lll try that out.

     

    Wilbur

Page 1 of 1 (4 items)
Microsoft Communities