« Previous Next »

Thread: deployment in a web farm configuration

Last post 10-29-2009 1:15 PM by moshaikh. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 10-22-2009, 7:28 PM

    • judywang
    • Not Ranked
    • Joined on 10-22-2009, 11:26 PM
    • Posts 2

    deployment in a web farm configuration

    Hi, we just set up a web farm for our application (3 Virtual Machines), however, for each deployment, we have to publish it 3 times (to each individual VM), it's not the right way, can you tell me how to just deploy it once and this deployment can apply to the other 2 VMs?  thanks.

  • 10-22-2009, 9:39 PM In reply to

    Re: deployment in a web farm configuration

    Depends on what type of application you have.  You could use something like robocopy and a batch file on node 1 and copy to 2,3 via a task scheduler.  You'd use iiscnfg.vbs to replicate IIS metabase information.  Look at this article for replicating iis metabase information. 

    http://weblogs.asp.net/owscott/archive/2006/06/07/IISCnfg.vbs---IIS-Settings-Replication.aspx

    There are other 3rd applications such as repliweb, double take for example.  HTH

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 10-23-2009, 4:10 PM In reply to

    Re: deployment in a web farm configuration

    The IIS team developed the "Web Deployment Tool" to help you with this task.  You can use it to replicate whole web servers, sites etc.  You can replicate just the configuraiton (metabase) or also content/certificates. 

    There is a separate forum for this tool. 

    For example, here would be the command line to replicate the server

    msdeploy.exe -verb:sync -source:webserver60 -dest:webserver60,computername=othermachine

    This command would copy over the metabase/content from the local machine to "othermachine".  It would do this incrementally, so you could repeatedly call this tool and it would just copy over the changes. 

    Check it out and post any questions to the forum. 

  • 10-28-2009, 9:35 PM In reply to

    • judywang
    • Not Ranked
    • Joined on 10-22-2009, 11:26 PM
    • Posts 2

    Re: deployment in a web farm configuration

    Hi I have read a lot of doc in order not to publish newest code to a web farm setting. (1) install the web deployment tool to the source server (2) install the remote service on the source server (3) ran net start msdepsvc to start the service (on both source and dest servers) (4) run msdeploy in the command line. in your suggestion: msdeploy.exe -verb:sync -source:webserver60 -dest:webserver60,computername=othermachine. What exactly I have to enter for the webserver60? Is that the full qualified server name? Also, is the computername is an option?  Thanks.

  • 10-29-2009, 1:15 PM In reply to

    Re: deployment in a web farm configuration

    webserver60 is a provider for msdeploy that is used to carry out sync from or to an IIS 6 server. The computername is required when you are syncing to or syncing from a remote system.

     

Page 1 of 1 (5 items)
Microsoft Communities