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 load-balancing servers running mod_proxy_balancer. Each server balances between two web servers.

Now I'd like to find a way to share a single IP address between those two load-balancing servers, in a way that will fail over.

Is it possible to use just heartbeat (without ldirectord) to share an IP address, with mod_proxy_balancer?

If so, could someone point me at some instructions, or suggest the way to proceed?

All the heartbeat tutorials I've seen assume that you're using ldirectord, or pacemaker (which I can't use because of restrictions on my cloud servers).

share|improve this question
Perhaps this?,0 – Richard Nov 22 '11 at 15:39

You can use the IPaddr / IPaddr2 Resource Agent in Heartbeat to accomplish this. In your haresources file (under /etc/ha.d/ for me) you would add a line like


If Heartbeat is already running, you'll need to start the resource manually

/etc/ha.d/resource.d/IPaddr start

If for any reason the server that the IP is active on fails, the secondary will pick up the resource automagically.

You do not need ldirectord or pacemaker for this.

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.