Does anyone know if it is correct that the only ports being exposed by containers for the Galera catalog entry is the 3306:3307 mapping on the load balancer?
I am trying to get a Galera cluster working for a Rancher HA Server setup. I have set up a rancher “parent” server which has 3 hosts onto which I have started a Galera stack.
I am now trying to start up a Rancher bootstrap server container to do the initial database population. I keeping running into issues with connecting to the cluster.
I am trying to start the rancher/server container using :
...
-e CATTLE_DB_CATTLE_MYSQL_HOST=<IP of the docker host with the galrea-lb container> \
-e CATTLE_DB_CATTLE_MYSQL_NAME=rancher \
-e CATTLE_DB_CATTLE_MYSQL_PORT=3306 \
-e CATTLE_DB_CATTLE_PASSWORD=rancherdbpass \
-e CATTLE_DB_CATTLE_USERNAME=rancher \
...
I keep getting “(111 “Connection refused”)”
To me it looks like the lb container is not exposing port 3306. Am I overlooking something or is that correct?