Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have two Linux Active/Passive nodes on which i have the same simple processing application(not webapp). I just need to have a HA cluster when one machine is down the application on the second takes the job. I don't want that both application runs at the same time. I need someting like Node A is down, Node P notices that, the P becomes the A then begins to process.

How can i do it ?


share|improve this question

Heartbeat would work perfectly. You can also pair it up with DRBD to ensure that data is kept synchronised.

There is a good guide on How To Forge for an NFS server, but you can change it to suit whatever app you are running. The ha.d and resource.d dirs will allow you to execute your own start/stop failover scripts.


share|improve this answer
+1 for linking reading material. – msanford Sep 24 '12 at 19:25

Well, there's Heartbeat, or nowadays called Corosync exactly for that. With two nodes it's very simple to set up.

Take a look at Linux-HA page and get back here if you do have something to ask.

share|improve this answer
Thank for replies. – kod canavari Mar 22 '12 at 21:19

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.