Add new comment

Want to support HowtoForge? Become a subscriber!
Submitted by Willy Tarreau (not registered) on Thu, 2010-11-04 00:19.

One more reason to use keepalived instead of heartbeat for this specific purpose. It has the ability to check for the presence and responsiveness of the haproxy process and use that to weigh the priorities and choose which node to elect as the master. Also, the master-backup switching is seamless and extremely fast (only the IP address is enabled/disabled, no process is restarted). A failure is covered in just a few seconds. Heartbeat is for clusters, not for handling virtual addresses.

 

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.