- 论坛徽章:
- 0
|
我又仔细检查了配置,并重新测试,发现一个奇怪的现象:就是每次查看都会不一样,具体现象如下:
每次使用ndb_mgm -e show命令查看时,sql nodes都会不一样,到第四次时又全部显示正常了。
---------------------------------------------------------------------------------------
[root@localhost mysql-cluster]# ndb_mgm -e show
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)] 4 node(s)
id=2 @192.168.10.84 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0, Master)
id=3 @192.168.10.85 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0)
id=4 @192.168.10.86 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 1)
id=5 @192.168.10.87 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 1)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @192.168.10.80 (mysql-5.5.22 ndb-7.2.6)
[mysqld(API)] 4 node(s)
id=6 (not connected, accepting connect from 192.168.10.81)
id=7 @192.168.10.82 (mysql-5.5.22 ndb-7.2.6)
id=8 @192.168.10.83 (mysql-5.5.22 ndb-7.2.6)
id=9 (not connected, accepting connect from any host)
----------------------------------------------------------------------------------------
[root@localhost mysql-cluster]# ndb_mgm -e show
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)] 4 node(s)
id=2 @192.168.10.84 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0, Master)
id=3 @192.168.10.85 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0)
id=4 @192.168.10.86 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 1)
id=5 @192.168.10.87 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 1)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @192.168.10.80 (mysql-5.5.22 ndb-7.2.6)
[mysqld(API)] 4 node(s)
id=6 @192.168.10.81 (mysql-5.5.22 ndb-7.2.6)
id=7 (not connected, accepting connect from 192.168.10.82)
id=8 @192.168.10.83 (mysql-5.5.22 ndb-7.2.6)
id=9 (not connected, accepting connect from any host)
----------------------------------------------------------------------------------------
[root@localhost mysql-cluster]# ndb_mgm -e show
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)] 4 node(s)
id=2 @192.168.10.84 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0, Master)
id=3 @192.168.10.85 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0)
id=4 @192.168.10.86 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 1)
id=5 @192.168.10.87 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 1)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @192.168.10.80 (mysql-5.5.22 ndb-7.2.6)
[mysqld(API)] 4 node(s)
id=6 @192.168.10.81 (mysql-5.5.22 ndb-7.2.6)
id=7 @192.168.10.82 (mysql-5.5.22 ndb-7.2.6)
id=8 (not connected, accepting connect from 192.168.10.83)
id=9 (not connected, accepting connect from any host)
----------------------------------------------------------------------------------------
[root@localhost mysql-cluster]# ndb_mgm -e show
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)] 4 node(s)
id=2 @192.168.10.84 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0, Master)
id=3 @192.168.10.85 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0)
id=4 @192.168.10.86 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 1)
id=5 @192.168.10.87 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 1)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @192.168.10.80 (mysql-5.5.22 ndb-7.2.6)
[mysqld(API)] 4 node(s)
id=6 @192.168.10.81 (mysql-5.5.22 ndb-7.2.6)
id=7 @192.168.10.82 (mysql-5.5.22 ndb-7.2.6)
id=8 @192.168.10.83 (mysql-5.5.22 ndb-7.2.6)
id=9 (not connected, accepting connect from any host)
|
|