Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

HA proxy startup error after starting Galera cluster

We are using the pacemaker architecture and all the documentation shows that the haproxy in on the same server as the controller node. But when we do that we are not able to start the services and we are facing port conflicts. Below is the snippet of the haproxy config

listen galera_cluster bind balance source option httpchk server controller1 check port 9200 inter 2000 rise 2 fall 5 server controller2 backup check port 9200 inter 2000 rise 2 fall 5

We are getting error as port 3306 is already being used by galera cluster. Is anybody else having similar issue? Or does anybody has a suggestion on how to setup the haproxy on the controller node when the ports are already bound to the same service.