« Previous Next »

Thread: Setting up Webfarm + NLB without NAS

Last post 10-18-2009 6:12 PM by Rovastar. 9 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (10 items)

Sort Posts:

  • 09-03-2009, 12:38 AM

    Setting up Webfarm + NLB without NAS

    Hi guys,

    I am going to setup a webfarm and will be trying NLB to loadbalance but my problem is that I do not have a central storage for my webfarm all webpage application is dump at the local HDD.  How do I sync webpage to all the server once the page is updated or new page was added.

  • 09-03-2009, 4:33 AM In reply to

    Re: Setting up Webfarm + NLB without NAS

    Look at using robocopy with a batch file and task scheduler between machines  Put the script on your first box in the farm, all changes are published there and the task pushes to other boxes.  You could look at using DFS with windows 2003 R2 and above.  This is darn slick, but does require a little setup and understanding.  

    Replicating configuration (metabase information) is tricky.  You can look at using iiscnfg or here is a good article on configuration.

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

     

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


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 09-03-2009, 8:02 AM In reply to

    • rdoram
    • Top 500 Contributor
    • Joined on 06-29-2007, 8:19 PM
    • Posts 16

    Re: Setting up Webfarm + NLB without NAS

    DFS-R is king.  We had the need for real-time replication, so that fit the bill quite nicely.  Like Steve said, if you have Windows 2003 R2 or higher (2008) I would definitely recommend it.  We were also able to replace a couple of 3rd party replication products with DFS-R (PeerSync, DoubleTake, etc...).

    I've also used iiscnfg.vbs to sync nodes with success...

  • 09-03-2009, 8:59 AM In reply to

    Re: Setting up Webfarm + NLB without NAS

    Prrsonally I would still use a third party replication solution. Just for the ease of use and flexability of upload/replication options, etc messing around with multiple homemade scripts can be a total pain at time.

    Something like

    http://www.repliweb.com/products/r1/index.php

  • 09-03-2009, 11:30 PM In reply to

    Re: Setting up Webfarm + NLB without NAS

    Hi guys,

     Thanks for your reply.  I will try your recommendation and will post my result here..

  • 10-12-2009, 9:13 AM In reply to

    Re: Setting up Webfarm + NLB without NAS

    I realize I'm late to this party but I came up with a solution that is pretty slick.  Assuming you're using Win2008, you can create a "scheduled task" that fires off every time specific events occur in the event log.  What I did is enable the IIS-Configuration log and create a task for every time I see an Event ID 50, 'IIS Changes have successfully been committed."

    At that point, a batch file fires off to run MSDeploy and replicate all of the changed setttings from one IIS server to the next.

    This would get complex if it were multi-master replication, but I have configured it in a master-slave design.  (The slave server even has a pre-login warning not to make IIS changes.)  It would be an easy matter to spin up additional nodes and configure them as replication targets using DFS-R and MSDeploy.

    -Jim

  • 10-12-2009, 9:27 AM In reply to

    Re: Setting up Webfarm + NLB without NAS

    Oops, sorry, I didn't realize this was the IIS5/6 forum.

  • 10-13-2009, 9:40 PM In reply to

    Re: Setting up Webfarm + NLB without NAS

    No worries your solutions might still be usefull to other forumers here.. Anyway I still use my other less utilize server to served as a NAS for my webfarm and create a daily scheadule to backup all files to my local HDD.  As for the IIS setting replication I have not tried it yet, at the moment I do the change for every server manually.

    Thanks guys for the reply.

  • 10-14-2009, 5:34 PM In reply to

    • rdoram
    • Top 500 Contributor
    • Joined on 06-29-2007, 8:19 PM
    • Posts 16

    Re: Setting up Webfarm + NLB without NAS

    For reference, my company wound up making a fairly significant investment in Repliweb (> 60 servers) after toying with scripting/DFS-R.  We demo'd some other replication/deployment products such as HP Deployer, MKS, and Serena ChangeMover.  Repliweb was the easiest to setup and use by far.  However, it still has most of the options that make sense in a fluid enterprise environment.  It all depends on your needs I guess...

     Thanks for the recommendation Rovastar!

  • 10-18-2009, 6:12 PM In reply to

    Re: Setting up Webfarm + NLB without NAS

    Yeah repliweb is still the best solution I have found out there. I have seen a few. Scripts are ok but for overall management of it you want something easier for larger environments. Glad you found it useful. :)

Page 1 of 1 (10 items)
Microsoft Communities