i have configured mysql-cluster in centos 7
Management Node
- db1 = 192.168.5.130
Data Nodes
- db2 = 192.168.5.131
- db3 = 192.168.5.132
SQL Nodes
- db4 = 192.168.5.133
- db5 = 192.168.5.134
output for management node as follows..
ndb_mgm> show
Cluster Configuration
---------------------
[ndbd(NDB)] 2 node(s)
id=2 @192.168.5.131 (mysql-5.6.28 ndb-7.4.10, starting, Nodegroup: 0)
id=3 @192.168.5.132 (mysql-5.6.28 ndb-7.4.10, starting, Nodegroup: 0)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @192.168.5.135 (mysql-5.6.28 ndb-7.4.10)
[mysqld(API)] 2 node(s)
id=4 (not connected, accepting connect from 192.168.5.133)
id=5 (not connected, accepting connect from 192.168.5.134)
data node connected to management node sucessfully.. but sql node is not connected
i have see the some error in ndb_1_cluster.log file.
WARNING -- Failed to allocate nodeid for API at 192.168.5.134. Returned error: 'No free node id found for mysqld(API).'
How to resolve this issue ? Please guide me to configure mysql-cluster