Continuing on from Setting up Galera Load Balancer (GLB), wouldn’t it be nice to ensure that Galera Load Balancer (GLB) handles failover, seamlessly?
Router:
------------------------------------------------------
Address : weight usage map conns
188.166.179.177:3306 : 1.000 0.500 N/A 1
165.22.50.152:3306 : 1.000 0.500 N/A 1
165.22.49.92:3306 : 1.000 0.000 N/A 0
------------------------------------------------------
Destinations: 3, total connections: 2 of 493 max
Pool: connections per thread: 1 1 0 0 0 0
Here is an example of a Galera Load Balancer (GLB) handling 3 backend MySQL servers, and it currently has 2 connections, evenly distributed between 2 hosts.
We can verify this by doing: select @@hostname; which shows:
…[Read more]