I followed this tutorial and it works great. This is what I get when I showed in the ndb_mgm client.
ndb_mgm> show
Cluster Configuration
---------------------
[ndbd(NDB)] 2 node(s)
id=2 @1.1.1.10 (mysql-5.6.11 ndb-7.3.2, Nodegroup: 0, Master)
id=3 @1.1.1.8 (mysql-5.6.11 ndb-7.3.2, Nodegroup: 0)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @1.1.1.5 (mysql-5.6.11 ndb-7.3.2)
[mysqld(API)] 2 node(s)
id=4 @1.1.1.9 (mysql-5.6.11 ndb-7.3.2)
id=5 @1.1.1.11 (mysql-5.6.11 ndb-7.3.2)
It's good.
Then I changed NoOfReplicas = 1 in config.ini of managementemant node and restarted all the nodes.
Now I expect 2 nodegroups according to this .
[number_of_node_groups] = number_of_data_nodes / NoOfReplicas
But I still get the same output for the command showin the ndb_mgm client.
Am I doing something wrong? Please advice.
Thanks in advance.
source
share