Re: help with solution to keep 2 servers in sync
From: Andrew Schulman (andrex_at_deadspam.com)
Date: 12/11/04
- Next message: Vincent: "Re: Network device driver and blocking send."
- Previous message: Rick Bilonick: "Connecting to an access point with shared wep key"
- In reply to: Pete K.: "help with solution to keep 2 servers in sync"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 11 Dec 2004 00:59:33 -0500
> The Issue
> Files need to stay in sync across the 2 webservers. This includes files
> that may be uploaded by users through script, as well as files uploaded
> through the staging server (rsync'd up, not really an issue) and files
> uploaded by admins on the admin server. This also includes keeping config
> files, tmp files, files moved or otherwise changed, sync'd between the 2
> servers. Using an NFS mount isn't an option.
>
> The proposed solution
> Go through all scripts, find any case that may some how change a file
> weather it be a copy, delete, chmod, fwrite so on and so on, and log each
> into a table with the file name and action to take. The server admin will
> then have a script that runs every few seconds and checks the table,
> performs an rsync based on the action then deletes the row.
Geez, that sounds like a nightmare, and fragile too. What about using
Unison? http://www.cis.upenn.edu/~bcpierce/unison/
See the FAQ, "What are the differences between Unison and rsync?"
-- To reply by email, replace "deadspam.com" by "alumni.utexas.net"
- Next message: Vincent: "Re: Network device driver and blocking send."
- Previous message: Rick Bilonick: "Connecting to an access point with shared wep key"
- In reply to: Pete K.: "help with solution to keep 2 servers in sync"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|