On Wed, 8 Mar 2006 at 10:15:50, Nick wrote:
I'm trying to mirror a live server onto a slave server of identical hardware. Theory being that when the master server blows up I can change the IP of the slave, restore the db's, restart a few processes and make everyone happy again.
What is the best way of doing this? Can you literally rsync / (with the exception of perhaps /proc and /tmp) and create an identical copy of the master? Is there a better way to achieve this?
Have a look at DRBD [1] for "shared-nothing-storage" and heartbeat [2] for failover (both part of CentOS)
[1] http://www.drbd.org/ [2] http://www.linux-ha.org/