[TriLUG] clustering or server mirroring
jonc at nc.rr.com
jonc at nc.rr.com
Tue Apr 19 12:14:32 EDT 2005
Hi David,
I solved this very problem many years ago and put it here:
http://www.trilug.org/~jonc/Failover_scripts/
I've used LVS and Ulta Monkey with great results, and now I'm using CARP (from OpenBSD). These technologies are fantastic, but really overkill for the ordinary folk who just want to have a tranparent fail-over that they can setup easily and then forget about.
The above link details some easy to install scripts which setup a Master/Slave type of fail-over; where the slave comes on-line whenever the Master goes down. The transition is transparent and the scripts keep the Slave server synched up with modifications on the Master (though I recommend a 24 hour waiting period for the synching - in case the outage is caused by a config foo-bar :-).
The Slave backs down again automatically when the Master comes back on-line.
Hope you find it useful and easy,
Jon Carnes
----- Original Message -----
From: David McDowell <turnpike420 at gmail.com>
Date: Tuesday, April 19, 2005 8:58 am
Subject: [TriLUG] clustering or server mirroring
> One in the same? Here's my idea. I'd like to use CentOS 4 if
> possible to do this. I would like to have my webserver mirrored on
> another machine so that if one goes down, the site continues to
> run.
> If I change a config on one machine, the config should change on the
> mirrored machine. Is this running a cluster or is this some other
> kind of setup? Basically I have some time at work to play. Any good
> resources for this kind of information? Basically I want 2
> servers to
> be identical mirrors of one another so that if one of the 2 goes down,
> I'm still online. And, if I repair the broken one, it can resync
> itself so that the mirror of the 2 machines is identical again.
> Suggestions, links, etc?
>
> thanks,
> David McD
> --
> TriLUG mailing list :
> http://www.trilug.org/mailman/listinfo/trilugTriLUG Organizational
> FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
>
More information about the TriLUG
mailing list