MySQL Forums
Forum List  »  NDB clusters

Re: MySQL Cluster on Docker Swarm -- issues
Posted by: Sean McDowell
Date: July 17, 2017 09:06AM

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:

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.


Edited 1 time(s). Last edit at 07/17/2017 09:06AM by Sean McDowell.

Options: ReplyQuote

Written By
Re: MySQL Cluster on Docker Swarm -- issues
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.