5

Pacemaker Active/Active haproxy load balancing

view full story
linux-howto

http://serverfault.com – I am using Haproxy to load balance replicated mysql master servers. I am also using Heartbeat and Pacemaker for Active/Active ip failover with two virtual ips on the two load balancers for web server high availability. I used location in pacemaker to stay VIPs one on each load balancer and I'm using round-robin DNS domains pointing to VIPs to load balance the load balancers. Everything looks fine so far! crm configure show node $id="394647e0-0a08-451f-a5bf-6c568854f8d1" lb1 node $id="9e95dc4f-8a9a-4727-af5a-40919ac902ba" lb2 primitive vip1 ocf:heartbeat:IPaddr2 \ params ip="1.2.3.4" cidr (HowTos)