On Fri, Sep 08, 2006 at 03:14:04PM +0800, JM wrote: > If I have 3 clustered web servers... (they do not have a shared > storage) how can i sync the contents of those boxes..(contents are the > pages, images, etc..) one way is to upload it 3 times.. is there any > other way to deal with this situation?
Using one server as the master and two as slaves, you can either have a push approach or a pull approach. In the push approach, you have a script that forces a synchronization of the local contents with the contents on each of the two slaves. In the pull approach, you have a script on each of the two slaves that at regular intervals synchronizes with the master. The push approach makes more sense in that you get instant propagation, but requires that a script be run after the upload has been committed. For both, I highly recommend the use of rsync or an rsync-enabled tool. rsync with key-based SSH is a great way to automate secure synchronization between a master and multiple slaves. --> Jijo -- Federico Vicente C. Sevilla III Information Technology Consultant Q Software Research Corporation Website: http://jijo.free.net.ph _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

