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 am trying to setup a HA system based on CentOS, I want to use heartbeat v3 for the "heartbeat" mechanism, resource start/stop, looks heartbeat can get it done.
But about the resource status, heartbeat cannot monitor it, for example httpd, we manually stop it, but it cannot be restarted or switch to another node.

Could heartbeat v3 achieve it?

share|improve this question

You need to use a proper Cluster Resource Manager like Pacemaker, in conjunction with a messaging layer like Heartbeat or Corosync. So no, Heartbeat v3 is not going to cut it, because it only does the messaging/heartbeat part.

If you search this site for other Heartbeat and Pacemaker-related questions you'll see that the best supported and most stable and feature-rich HA stack is based on Corosync and Pacemaker. It is not wise to use any other combination nowadays, unless you have a very specific reason and know exactly what you are doing.

Here is some material on Corosync and Pacemaker to get you started:,0 and

share|improve this answer
actually i don't want to involve pacemaker as CRM modules, because we have no complicated service/resource dependencies, only one service we need to monitor. there any ways to make heartbeat to monitor service/resource? – Emre He Dec 14 '12 at 8:32
No. Heartbeat v3 is not a cluster resource manager, just as Corosync is not a cluster resource manager. They provide messaging, cluster membership and quorum. They don't know or care about resources. You could go back to Heartbeat v2, which can do what you want, but it'll probably end in tears. You could also switch to Keepalived/VRRPD and not use a traditional cluster setup at all. Depends on the resources you want to have highly available. – daff Dec 14 '12 at 18:30

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.