文档主页
NDB 集群内部机制
相关文档 下载此手册
PDF (US Ltr) - 1.2Mb
PDF (A4) - 1.2Mb


2.6 导出 17

代码

17

符号

DihDumpNodeStatusInfo

内核块

DBDIH

描述.   导出节点状态。

示例输出.  

2014-10-13 21:02:28 [MgmtSrvr] INFO     -- Node 5: Printing nodeStatus of all nodes
2014-10-13 21:02:28 [MgmtSrvr] INFO     -- Node 5: Node = 5 has status = 1
2014-10-13 21:02:28 [MgmtSrvr] INFO     -- Node 5: Node = 6 has status = 1
2014-10-13 21:02:28 [MgmtSrvr] INFO     -- Node 6: Printing nodeStatus of all nodes
2014-10-13 21:02:28 [MgmtSrvr] INFO     -- Node 6: Node = 5 has status = 1
2014-10-13 21:02:28 [MgmtSrvr] INFO     -- Node 6: Node = 6 has status = 1

附加信息.   可能的节点状态值如下表所示

表 2.1 节点状态值和名称

名称
0 NOT_IN_CLUSTER
1 ALIVE
2 STARTING
3 DIED_NOW
4 DYING
5 DEAD