View Single Post
  #3  
Old 07-15-2004, 01:10 PM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Replication can be easily done with today's version software.

Let's say, you have /mylsws folder which contain all your lsws binary, config, and php/html files, you can just do this:

Subversion master server : /mylsws

primary webserver : run code update from master on /mylsws every 60 seconds

secondary webserver: run code update from master.....

For svn, just have to run "svn update" every 60 in cron and you have a full backup ready to rock-n-roll. I do this for my cluster slaves so that all them will have up to date code within 60 seconds when I change the code on the cvs server.

Replication of code/files is such a beast I say leave it to the specialty versioning softwares. =)
Reply With Quote