HAproxy configuration to monitor MySQL server status through xinetd daemon
Issue
- HA Proxy can't load balance MySQL when mysql service is hung. Though the tcp socket of MySQL 3306 shows as
listen
, clients will still be affected as MySQL server can't serve any request.
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.