Linux server failover

Posted by Lukasz on Server Fault See other posts from Server Fault or by Lukasz
Published on 2012-04-02T15:55:12Z Indexed on 2012/04/02 17:31 UTC
Read the original article Hit count: 167

Filed under:

I have two Linux servers (CentOS6) - both are identically configured connected to the same switch with a direct link between them. I only have one external IP that is assigned to eth0 on both servers (connected to the internet switch) with the interface shutdown on server 2.

How can I failover to server 2 if server 1 dies - as stated they are linked directly so they can check for availability of each other via ping/tcp/udp. I toyed with Heartbeat but the documentation seems to be non-existent - not sure how to bring up an interface and start some services if the other server dies.

© Server Fault or respective owner

Related posts about linux