MySQL Forums
Forum List  »  NDB clusters

Configuration error: Error: Could not alloc node id at 172.xx.xx.2 port 1186: Connection done from wrong host ip 172.xx.x.4.
Posted by: Rait K
Date: September 17, 2021 03:12AM

Im running in datanode 2 ndb_restorebut it get me error.

[root@a5aabaf20dc3 /]# ndb_restore --ndb-connectstring=172.xx.xx.2:1186 \
> --nodeid=2 --backupid=1 \
> --backup_path=/var/lib/mysql-cluster/BACKUP/BACKUP-1 \
> --restore_data --disable-indexes
Nodeid = 2
Backup Id = 1
backup path = /var/lib/mysql-cluster/BACKUP/BACKUP-1
Configuration error: Error: Could not alloc node id at 172.xx.xx.2 port 1186: Connection done from wrong host ip 172.xx.x.4.

also tried --ndb-connectstring "nodeid=2,172.xx.xx.2:1186" and with out port as well as with out --ndb-connectstring at all. nothing made it better

Cluster Configuration
---------------------
[ndbd(NDB)] 4 node(s)
id=2 @172.xx.xx.4 (mysql-8.0.21 ndb-8.0.21, Nodegroup: 0, *)
id=3 @172.xx.xx.3 (mysql-8.0.21 ndb-8.0.21, Nodegroup: 0)
id=4 @172.xx.xx.8 (mysql-8.0.21 ndb-8.0.21, Nodegroup: 1)
id=5 @172.xx.x.9 (mysql-8.0.21 ndb-8.0.21, Nodegroup: 1)

[ndb_mgmd(MGM)] 1 node(s)
id=1 @172.xx.xx.2 (mysql-8.0.21 ndb-8.0.21)

[mysqld(API)] 2 node(s)
id=101 @172.xx.xx.5 (mysql-8.0.21 ndb-8.0.21)
id=102 (@172.xx.xx.6 (mysql-8.0.21 ndb-8.0.21)

anyone have idea whats wrong?

Options: ReplyQuote


Subject
Views
Written By
Posted
Configuration error: Error: Could not alloc node id at 172.xx.xx.2 port 1186: Connection done from wrong host ip 172.xx.x.4.
858
September 17, 2021 03:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.