Re: MySQL Cluster on Docker Swarm -- issues
I updated the issue -- good news, I got this to work!
The key is to change the service discovery mode from the default Virtual IP to DNS round robin (dnsrr).
This is documented here:
https://docs.docker.com/engine/swarm/networking/#configure-service-discovery
In combination with the hostname option for the service you now get a hostname that when looked up returns the IP of the container.
The only other issue I found is that the ndb_mgmd process doesn't seem to read its configuration from /etc/mysql-cluster.cnf. I specified it with the -f option but I thought it should be reading from there as described on Docker Hub.
Thanks!
Edited 1 time(s). Last edit at 07/17/2017 09:06AM by Sean McDowell.
Subject
Views
Written By
Posted
4543
June 29, 2017 12:37PM
1327
July 03, 2017 02:13PM
1119
July 12, 2017 09:32AM
1054
July 12, 2017 04:13PM
1036
July 14, 2017 06:39AM
Re: MySQL Cluster on Docker Swarm -- issues
1394
July 17, 2017 09:06AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.