Ссылаясь на: http://galeracluster.com/documentation-webpages/glb.html Я пытаюсь настроить кластер для моего кластера Galera.
мой файл glbd.cnf:
# Address to listen for client connections at. Mandatory parameter.
# To bind to all interfaces only port should be specified.
LISTEN_ADDR="3306"
# Address for controlling connection. Mandatory part is port.
# If not specified control socket will not be opened
CONTROL_ADDR="10.0.3.84:4444"
# Control FIFO name. It is opened always. glbd will refuse to start if
# this file already exists.
CONTROL_FIFO="/var/run/glbd.fifo"
# Number of threads (connection pools) to use. It is always a good idea
# to have a few per CPU core.
THREADS="2"
# Maximum connections. System open files limit will be modified to accommodate
# at least that many client connections provided sufficient privileges.
# Normally you should set it if you plan to go above 500.
#MAX_CONN=
# Target servers for client connections, space separated.
# Target specification: IP[:PORT[:WEIGHT]] (WEIGHT and PORT optional)
# WEIGHT defaults to 1, PORT defaults to LISTEN_ADDR port.
DEFAULT_TARGETS="ip_node_1:3306:1 ip_node_2:3306:2"
# Other glbd options if any as they would appear on the command line.
#OTHER_OPTIONS=""
Когда getinfo становится нижеошибка:
service glb getinfo
Port for control communication is not configured.
glbd.cfg находится в / etc / defaults