Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

How to sync 2 complete identical IIS 7.5 webservers with webdeploy 3.5 (msdeploy)

$
0
0

Hi all,

I could configure my script correctly for IIS6 with webdeploy but for one reason or another I can't make it work with IIS 7.5??
Hope one of you will be able to help me, it certainly is a detail I overlooked but still can't find itYell

Situation:
So I have 2 identical frontend servers W2K8R2 both of course running IIS7.5. The goal is to load balance them for redundancy.
Only issue is the sync that I can't get fixed. So here is the line I'm using to sync them both.

Msdeploy -verb:sync -source:webServer -dest:webServer,computername=SERVERNAME2 skip:Directory="C:\\temp" > WebSyncLog.log

I'm trying to use the push method here, the script is running on the 'source' webserver and SERVERNAME2 is the destination server.
The goal is to synchronize 'ALL' the sites hosted from one webserver to the other.

Hope you can help me with this one, I'm sure it's something stupid I'm overlooking but can't find out what??!!!
So again thanks for your help!

Amazing regards from Belgium! Laughing

Fabrice


Viewing all articles
Browse latest Browse all 780

Trending Articles