Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1562

Failed to allocate nodeid for mysqld (2 replies)

$
0
0
Hello

I created a NDB cluster of 4 data nodes, 1 management node, 3 server nodes. When I try to start my cluster, I get the following error:

----------------------------------------------------
2021-06-21 18:36:01 [MgmtSrvr] WARNING -- Failed to allocate nodeid for API at 172.31.63.143. Returned error: 'No free node id found for mysqld(API).' - Repeated 2 times
2021-06-21 18:36:01 [MgmtSrvr] WARNING -- Failed to allocate nodeid for API at 172.31.49.54. Returned error: 'No free node id found for mysqld(API).'
2021-06-21 18:36:01 [MgmtSrvr] WARNING -- Failed to allocate nodeid for API at 172.31.49.54. Returned error: 'No free node id found for mysqld(API).'
2021-06-21 18:36:01 [MgmtSrvr] WARNING -- Failed to allocate nodeid for API at 172.31.55.144. Returned error: 'No free node id found for mysqld(API).'
----------------------------------------------------

How can I resolve this?

Thanks!
Deepak


My Config file:

------------------------
[ndbd default]
# Options affecting ndbd processes on all data nodes:
NoOfReplicas=2 # Number of replicas
DataMemory=3500M # How much memory to allocate for data storage
IndexMemory=1000M # How much memory to allocate for index storage
MaxNoOfConcurrentOperations=1048576
MaxNoOfConcurrentTransactions= 1048576
MaxNoOfLocalOperations=1048576
MaxNoOfConcurrentIndexOperations=16384
MaxNoOfConcurrentScans=500

[ndb_mgmd]
# Management process options:
hostname=172.31.63.143 # Hostname of the manager
datadir=/var/lib/mysql-cluster # Directory for the log files

[ndbd]
hostname=172.31.50.227 # Hostname/IP of the first data node
NodeId=2 # Node ID for this data node
datadir=/usr/local/mysql/data # Remote directory for the data files

[ndbd]
hostname=172.31.48.145 # Hostname/IP of the second data node
NodeId=3 # Node ID for this data node
datadir=/usr/local/mysql/data # Remote directory for the data files

[ndbd]
hostname=172.31.52.45 # Hostname/IP of the second data node
NodeId=4 # Node ID for this data node
datadir=/usr/local/mysql/data # Remote directory for the data files

[ndbd]
hostname=172.31.49.125 # Hostname/IP of the second data node
NodeId=5 # Node ID for this data node
datadir=/usr/local/mysql/data # Remote directory for the data files

[mysqld]
# SQL node options:
hostname=172.31.63.143 # In our case the MySQL server/client is on the same Droplet as the cluster manager

[mysqld]
# SQL node options:
hostname=172.31.55.144 # In our case the MySQL server/client is not on the same Droplet as the cluster manager

[mysqld]
# SQL node options:
hostname=172.31.49.54 # In our case the MySQL server/client is not on the same Droplet as the cluster manager


------------------------

Viewing all articles
Browse latest Browse all 1562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>