MySQL proxy HA with no need to reconnect after node failure

Posted by Matthias on Server Fault See other posts from Server Fault or by Matthias
Published on 2012-11-15T16:24:11Z Indexed on 2012/11/15 17:03 UTC
Read the original article Hit count: 259

I use MySQL with Galera wsrep to get synchronous replication, that part it's up and running

I need to setup a kind of proxy to handle client connections. Since any node in cluster can fail, clients will not connect nodes directly, but only via proxy.

Currently I use Galera Load Balancer which does it work, but with one exception: if one node fails, all clients connected via proxy to that node get connection error and need to reconnect.

I have no control over server applications connected to proxy and some of them can't reconnect automatically and need manual restart. So the question is how to force proxy automatically redirect already connected applications to new data node, without need to reconnect?

© Server Fault or respective owner

Related posts about mysql

Related posts about mysql-replication