High Availability Configuration using Heartbeat and Pacemaker

Posted by pradeepchhetri on Server Fault See other posts from Server Fault or by pradeepchhetri
Published on 2012-08-13T20:44:29Z Indexed on 2012/09/11 15:40 UTC
Read the original article Hit count: 346

Filed under:
|
|

I have the following setup:

enter image description here

I have configured high availability between two load balancers (HAProxy) so that if HAProxy1 get down, the floating IP gets transferred to the other load balancer HAProxy2, hence all the clients will get the response from HAProxy2, which at the back-end is doing LB among the sme two webserver. This is for removing the single point of failure in case of only one HAProxy.

Whenever I stops the hearbeat in HAProxy1, the floating IP goes to HAProxy2. But I want to configure such that whenever the process haproxy goes down, the floating IP should get assigned to HAProxy2. Can someone tell me how to implement it ?

© Server Fault or respective owner

Related posts about linux

Related posts about haproxy