I'm answering my own question since I found what has been gone wrong. When we change config.ini
in management node we have to do 2 things.
1) Restart Management node with --reload
option
2) Restart data nodes with --initial
option
Now my SHOW output is as follows.
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: 1)
[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)