I am using mysql cluster docker from below example https://hub.docker.com/r/mysql/mysql-cluster/
I have created a management node, a server node and 2 data node on 4 different Ubuntu machines.
It is working fine.
Then I wanted to add extra data node.
So I added a node on management mysql configuration file i.e. /etc/mysql-cluster.cnf.
Then i tried to restart the management node by using below command from inside docker.
ndb_mgmd -f /etc/mysql-cluster.cnf --reload.
But this is not working.
Anybody having solution for this.
I added the configuration to the same host where server management deployed.
Yes, i have run the command on the same host from inside docker.
We can run the command from inside docker or outside docker using docker exec command.
correct… it says you cannot add a node dynamically…
Important
Currently, you must add new data nodes to an NDB Cluster as part of a new node group. In addition, it is not possible to change the number of replicas (or the number of nodes per node group) online