[SATLUG] Simple fail-over options

Sean Carolan scarolan at gmail.com
Tue Nov 13 22:31:47 CST 2007


On Nov 13, 2007 9:52 PM, Samuel Leon <leon36 at gmail.com> wrote:
> I need to get redundancy on a business webserver.  Not really sure how
> to go about this.  First I got to figure out the best way to keep the 2
> servers synced.  And then I was thinking about maybe writing a bash
> script on server#2 or something that would ping server#1 every minute or
> so.  Then if the ping times out, it will run another script to change
> its IP to server#1's IP.  Seems like it would work as long as server#1
> is truly down and doesn't come back to life and we end up with 2 of the
> same IP's on the same network.  Sound good or alittle too dirty?

Why not use Linux Heartbeat (HA)?  It's included in many distro repositories.

http://www.linux-ha.org/GettingStartedV2/TwoApaches


More information about the SATLUG mailing list