File Replication

  • Thread starter Thread starter JezB
  • Start date Start date
J

JezB

What is the dotNET-approved way of synchronizing ASP.NET application files
among the various servers of a web farm ?
 
I asked this question at an MS show recently. I was told that the way to do
it is to have the files on a shared network folder and to point IIS to that.


--
Pete
====
Audio compression components, DIB graphics controls, FastStrings
http://www.droopyeyes.com

Read or write articles on just about anything
http://www.HowToDoThings.com
 
Point multiple IIS servers to the same location ? Seems a bit daft - will
introduce an extra network exchange for each request that could be avoided.
Will also introduce a potential bottleneck that I thought webfarms should
avoid.
 
I Xcopy all of my files to a "stage" folder on one of my servers in the
farm.

Then I have a .CMD file or .BAT file that Xcopies all files from the web
sites to backup folders on their respective drives.
Then it Xcopies all of the files from the "stage" folder to each one of the
websites.

Works like a charm and is very uncomplicated.

TPS.
 
That's the approach I have adopted too, but I wasn't sure if it's the
approved way. Do you rely on directory shares on all your servers so that
the xcopy can copy to the desired location ? or do you use IIS virtual
directories in some way ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top