Comment 1 for bug 1405786

Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :

I am marking this as invalid, as HAProxy uses different technique for detecting issues with MySQL

HaProxy uses galeracheck script via port 49000. Configuration can be found at /etc/haproxy/conf.d/110-mysqld.cfg

galeracheck is a simple bash script running via xinetd which generates the response in HTTP format.

xinetd configuration can be found at /etc/xinetd.d/galeracheck. galeracheck itself can be found at /usr/local/bin/clustercheck

galeracheck uses unix socket as it's default configuration for mysql client. If to block port 3307 it won't detect it ad it requires some modification to set protocol=tcp for mysql client. If to block port 4567 only, after 1-2 minutes this node will be marked as down.