如果存在集群范围的仲裁,但一个或多个节点与集群之间不同步,则您必须对节点进行同步,才能还原节点上复制的数据库 (RDB) 并使其进入仲裁状态。
步骤
- 在运行状况良好的节点上,以高级权限级别使用 system configuration recovery cluster sync 命令来同步与集群配置不同步的节点。
示例
以下示例将节点 (
node2) 与集群的其余节点进行同步:
cluster1::*> system configuration recovery cluster sync -node node2
Warning: This command will synchronize node "node2" with the cluster
configuration, potentially overwriting critical cluster
configuration files on the node. This feature should only be
used to recover from a disaster. Do not perform any other
recovery operations while this operation is in progress. This
command will cause all the cluster applications on node
"node2" to restart, interrupting administrative CLI and Web
interface on that node.
Do you want to continue? {y|n}: y
All cluster applications on node "node2" will be restarted. Verify that the cluster applications go online.
结果
RDB 被复制到节点,节点将有资格加入集群。