废话不多说,贴个命令以及回显。这种架构很不错!!应该找个机会在生产环境中跑跑。。。
fb00# ndb_mgm -e SHOW
Connected to Management Server at: 172.20.6.200:1186
Cluster Configuration
———————
[ndbd(NDB)] 2 node(s)
id=2 @172.20.6.201 (Version: 5.4.3, Nodegroup: 0, Master)
id=3 @172.20.6.202 (Version: 5.4.3, Nodegroup: 0)
[ndb_mgmd(MGM)] 1 node(s)
id=1 @172.20.6.200 (Version: 5.4.3)
[mysqld(API)] 2 node(s)
id=4 @172.20.6.203 (Version: 5.4.3)
id=5 @172.20.6.204 (Version: 5.4.3)