How to synchronize files between multible web servers
am 15.10.2007 08:05:36 von Ahmed Saeed
Hi
I have a website consisting of 6 web servers and hardware balancer. Admin
users are uploading certain pdf and document files to the server they
connected to. What would be the best way to real time synchronize these
files between all the six servers. Any hint will be appreciated.
Thank you
Ahmed S.
Re: How to synchronize files between multible web servers
am 15.10.2007 10:53:31 von David Wang
On Oct 14, 11:05 pm, "Ahmed Saeed" wrote:
> Hi
>
> I have a website consisting of 6 web servers and hardware balancer. Admin
> users are uploading certain pdf and document files to the server they
> connected to. What would be the best way to real time synchronize these
> files between all the six servers. Any hint will be appreciated.
>
> Thank you
> Ahmed S.
Put web content on a single NAS or SAN and point the six web servers
to that single content source via UNC Virtual Directory.
Real-time synchronization of 6 web servers by copying files around is
not an effective approach. It treats your hardware balancer as a
liability, not asset.
I do not see why you allow admin users to upload pdf and document
files directly to the servers they connect to -- that breaks the
abstraction of a hardware balancer by making the balanced servers
stateful.
If you make all six web servers read content from a single NAS or SAN,
and admin users upload pdf/documents through a web server to the
single NAS / SAN, the abstractions are preserved automatically.
You then cluster the NAS/SAN to remove it as a single-point-of-failure
and improve availability.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//