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 ?