Add new comment
Want to support HowtoForge? Become a subscriber!
|
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.
Reply |



Recent comments
19 hours 54 min ago
23 hours 37 min ago
23 hours 48 min ago
23 hours 54 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 17 hours ago
3 days 2 hours ago
3 days 6 hours ago
3 days 7 hours ago