日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

mysql ndb还原数据库_ndb_restore恢复出错

發布時間:2025/3/15 57 豆豆
生活随笔 收集整理的這篇文章主要介紹了 mysql ndb还原数据库_ndb_restore恢复出错 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

一共5個節點

ndb_mgm> show

Connected to Management Server at: localhost:1186

Cluster Configuration

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

[ndbd(NDB)]? ???2 node(s)

id=2? ? @192.168.2.235??(mysql-5.1.34 ndb-7.0.6, Nodegroup: 0, Master)

id=3? ? @192.168.2.239??(mysql-5.1.34 ndb-7.0.6, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)

id=1? ? @192.168.2.240??(mysql-5.1.34 ndb-7.0.6)

[mysqld(API)]? ?2 node(s)

id=4? ? @192.168.2.231??(mysql-5.1.34 ndb-7.0.6)

id=5? ? @192.168.2.233??(mysql-5.1.34 ndb-7.0.6)

這里顯示都是正常的

當在數據節點2恢復時報錯:

[root@dg bin]# ./ndb_restore -b2 -n2 -c host=192.168.2.240 -m -r /u01/mysql/data/BACKUP/BACKUP-2

Backup Id = 2

Nodeid = 2

backup path = /u01/mysql/data/BACKUP/BACKUP-2

Opening file '/u01/mysql/data/BACKUP/BACKUP-2/BACKUP-2.2.ctl'

Backup version in files: ndb-6.3.11 ndb version: mysql-5.1.34 ndb-7.0.6

Stop GCP of Backup: 0

Configuration error: Error : Could not alloc node id at 192.168.2.240 port 1186: Connection done from wrong host ip 192.168.2.235.

Failed to initialize consumers

NDBT_ProgramExit: 1 - Failed

在管理節點有報錯:

2009-07-24 19:54:20 [MgmSrvr] WARNING??-- Allocate nodeid (0) failed. Connection from ip 192.168.2.235. Returned error string "Con

nection done from wrong host ip 192.168.2.235."

2009-07-24 19:54:20 [MgmSrvr] INFO? ???-- Mgmt server state: node id's 2 3 connected but not reserved

網上查了和防火墻有關,但我的iptables 都是off的。

遇到過的朋友,幫我看看。

[本帖最后由 stronghearted 于 2009-7-28 11:33 編輯]

總結

以上是生活随笔為你收集整理的mysql ndb还原数据库_ndb_restore恢复出错的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。