Re: best way to keep web servers in sync
On Sun, Mar 03, 2002 at 11:20:26PM +0800, Patrick Hsieh wrote:
> I have some apache web servers under the server load-balancer. To
> keep the static html and php files in sync among them, I have to use
> NFS to achieve the purpose. My problem is, since NFS is not quite
> stable and is prompt to be a network bottleneck, I have to find other
> methods to keep the files in sync.
> I am considering to use rsync, but I have to write scripts to automate
> the rsync behavior.
Have a look at sitecopy.
sitecopy is for copying locally stored websites to remote web servers.
The program will upload files to the server which have changed
locally, and delete files from the server which have been removed
locally, to keep the remote site synchronized with the local site,
with a single command. The aim is to remove the hassle of uploading
and deleting individual files using an FTP client.
FTP, WebDAV and HTTP-based authoring servers are supported.
__Pascal_Bourguignon__ (o_ Software patents are endangering
() ASCII ribbon against html email //\ the computer industry all around
/\ and Microsoft attachments. V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100 2001:my($f)=`fortune`; http://petition.eurolinux.org/
-----BEGIN GEEK CODE BLOCK-----
GCS/IT d? s++:++(+++)>++ a C+++ UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------