Welcome to WebmasterWorld Guest from 3.226.251.81

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

Synchronizing a website across many servers

How do I do that effectively?

     
7:12 am on Jul 4, 2009 (gmt 0)

New User

10+ Year Member

joined:June 22, 2009
posts:9
votes: 0


I'm currently trying to run 5x instances of the same website on load balancers running Apache2 on CentOS. Currently, I either commit changes to subversion and update on each site manually, or I use rsync.

Ideally, I want to make a change to certain files on one server and have them show up live on the rest.

Since most of the files don't change, I was thinking of having a single server with all the files that do change. and have the rest query that server once in a while to keep everything up to date. Subversion + a cron job sounds like it may do the trick.

Any suggestions? Thanks!

9:54 am on July 8, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 23, 2003
posts:915
votes: 0


Use cron to schedule rsync from the 'master' server to your 'slaves'?