How to Build a Highly Available MySQL Setup with HAProxy and Keepalived

A step-by-step tutorial for load balancing two MySQL clusters through a single floating virtual IP, with automatic failover between two…