集群节点MPPDBServer实例故障后,通过温备替换将MPPDBServer实例安装到集群中的温备节点,以达到快速恢复MPPDBServer实例的目的。
温备节点是集群中已经存在的不包含MPPDBServer实例且运行状态正常的节点。
注意:source ${BIGDATA_HOME}/mppdb/.mppdbgs_profile
cm_ctl query -Cv
[ CMServer State ]
node instance state
-----------------------------------
1 szvphicprb15791 1 Down
2 szvphicprb15788 2 Primary
[ Cluster State ]
cluster_state : Degraded
redistributing : No
balanced : No
[ Coordinator State ]
node instance state
-----------------------------------
1 szvphicprb15791 5001 Down
2 szvphicprb15788 5002 Normal
3 szvphicprb15789 5003 Normal
[ Central Coordinator State ]
node instance state
-----------------------------------
2 szvphicprb15788 5002 Normal
[ GTM State ]
node instance state sync_state
-------------------------------------------------------------------
2 szvphicprb15788 1001 P Primary Connection bad Most available
1 szvphicprb15791 1002 S Down Unknown Sync
[ Datanode State ]
node instance state | node instance state | node instance state
--------------------------------------------------------------------------------------------------------------------------------------------
1 szvphicprb15791 6001 P Down Unknown | 2 szvphicprb15788 6002 S Primary Normal | 3 szvphicprb15789 3002 R Secondary Normal
1 szvphicprb15791 6003 P Down Unknown | 3 szvphicprb15789 6004 S Primary Normal | 2 szvphicprb15788 3003 R Secondary Normal
2 szvphicprb15788 6005 P Primary Normal | 3 szvphicprb15789 6006 S Standby Normal | 1 szvphicprb15791 3004 R Down Unknown
2 szvphicprb15788 6007 P Primary Normal | 1 szvphicprb15791 6008 S Down Unknown | 3 szvphicprb15789 3005 R Secondary Normal
3 szvphicprb15789 6009 P Primary Normal | 1 szvphicprb15791 6010 S Down Unknown | 2 szvphicprb15788 3006 R Secondary Normal
3 szvphicprb15789 6011 P Primary Normal | 2 szvphicprb15788 6012 S Standby Normal | 1 szvphicprb15791 3007 R Down Unknown
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69959250/viewspace-3147232/ ,如需转载,请注明出处,否则将追究法律责任。