Haproxy script not found

I’m working from this document about Haproxy:

The document says:

To implement this setup, you will need two scripts:

clustercheck (located in /usr/local/bin) and a config for xinetd

mysqlchk (located in /etc/xinetd.d) on each node

This appears to be referring to the Percona Xtradb nodes recently installed. I can find the clustercheck script but not mysqlchk.

I don’t have an /etc/xinetd.d directory and don’t see a reference to it in the install docs. Please help.

1 Like

You can find the mysqlchk script here: percona-xtradb-cluster/scripts/mysqlchk.sh at trunk · percona/percona-xtradb-cluster · GitHub

1 Like

I did not find this in my binary install either. I’ve opened a JIRA for this

1 Like

Thanks. I’m also unclear about how the mysqlchk entry in /etc/services creates a listener that actually reaches the mysqlchk script. I’ve set up the /etc/services but netstat doesn’t show a port 9200 listener.

Hi Wayne,

xinetd is legacy, mainly for older RHEL 6 / Debian 7 / Ubuntu 14.04 and older.
If your server is using systemd than service and socket files should be created.

e.g.

@Vadim_Yalovets The documentation needs updating. Nothing about systemd/sockets is mentioned anywhere in the latest docs.