Skip to main content
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

将节点与集群同步

贡献者

如果存在集群范围的仲裁,但一个或多个节点与集群不同步,则必须同步此节点以还原节点上复制的数据库( RDB )并将其置于仲裁状态。

步骤
  1. 从运行状况良好的节点中、使用 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 将复制到节点,节点将有资格加入集群。