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?
[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?