Yanis Guenane 0849647908 Change mysqlchk xinetd script port
Current mysqlchk xinetd script listens on port 9200, which conflict
with ElsaticSearch. Hence the default port is changed from 9200 to 8200.

Change-Id: I5b580e7d60569a2356b7330114940e788c4ead8d
2015-02-05 08:59:00 -05:00

25 lines
751 B
Plaintext

# Managed by puppet
# Module cloud
#
# default: on
# description: mysqlchk
service mysqlchk
{
# this is a config for xinetd, place it in /etc/xinetd.d/
disable = no
flags = REUSE
socket_type = stream
port = 8200
wait = no
user = nobody
server = /usr/bin/clustercheck
log_on_failure += USERID
log_on_success =
#FIXME(sbadia) Security: Restrict this parameter to HAProxy pool.
only_from = 0.0.0.0/0
bind = <%= @galera_clustercheck_ipaddress %>
# recommended to put the IPs that need
# to connect exclusively (security purposes)
per_source = UNLIMITED
}