[CentOS] Warm standby server with rsync

Michael Metz [SpeedPartner] metz at speedpartner.de
Wed Mar 8 09:21:18 UTC 2006


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/

-- 
With kind regards
 Michael Metz

****************************************************
SpeedPartner GmbH
Neukirchener Str. 57, 41470 Neuss
Tel.: 02137 / 91666-2, Fax: 02137 / 91666-1
E-Mail: info at speedpartner.de
****************************************************



More information about the CentOS mailing list