Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wonder if anyone can help me, I am trying to setup heartbeat on a redhat 5 to failover an IP address when ssh stops responding on a server. So basically you ssh to a VIP and then get put through which ever server has the floating ip.

/------------------------\     |     /------------------------\
| Server 01              |     |     | Server 02              |
| eth0 -     |-----/     | eth0 -     |
| eth0:0 - |           | eth0:0 - down          |
\------------------------/           \------------------------/

if ssh stops responding i want eth0:0 to be brought up on the second machine to allow ssh connections to carry on being served.

I have tried to follow some documents I have found online so here is my current configuration:

bcast eth0
keepalive 2
warntime 10
deadtime 30
initdead 120
udpport 694
auto_failback off
node vm-bal01
node vm-bal02
debugfile /var/log/ha-debug
logfile /var/log/ha-log


auth 1
1 sha1 sshhhsecret1234



Hope someone can help as this is driving me nuts...

share|improve this question

Write a monitoring-method for SSH. If it fails issue a hb_standby all.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.