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

验证 MetroCluster 配置的运行状况

贡献者

您应检查 MetroCluster 配置的运行状况以验证是否正常运行。

步骤
  1. 检查每个集群上是否已配置 MetroCluster 并处于正常模式:

    MetroCluster show

    cluster_A::> metrocluster show
    Cluster                   Entry Name          State
    ------------------------- ------------------- -----------
     Local: cluster_A         Configuration state configured
                              Mode                normal
                              AUSO Failure Domain auso-on-cluster-disaster
    Remote: cluster_B         Configuration state configured
                              Mode                normal
                              AUSO Failure Domain auso-on-cluster-disaster
  2. 检查是否已在每个节点上启用镜像:

    MetroCluster node show

    cluster_A::> metrocluster node show
    DR                           Configuration  DR
    Group Cluster Node           State          Mirroring Mode
    ----- ------- -------------- -------------- --------- --------------------
    1     cluster_A
                  node_A_1       configured     enabled   normal
          cluster_B
                  node_B_1       configured     enabled   normal
    2 entries were displayed.
  3. 检查 MetroCluster 组件是否运行正常:

    MetroCluster check run

    cluster_A::> metrocluster check run
    
    Last Checked On: 10/1/2014 16:03:37
    
    Component           Result
    ------------------- ---------
    nodes               ok
    lifs                ok
    config-replication  ok
    aggregates          ok
    4 entries were displayed.
    
    Command completed. Use the "metrocluster check show -instance" command or sub-commands in "metrocluster check" directory for detailed results.
    To check if the nodes are ready to do a switchover or switchback operation, run "metrocluster switchover -simulate" or "metrocluster switchback -simulate", respectively.
  4. 检查是否没有运行状况警报:

    s系统运行状况警报显示

  5. 模拟切换操作:

    1. 在任何节点的提示符处,更改为高级权限级别: + set -privilege advanced

      当系统提示您继续进入高级模式并显示高级模式提示符( * > )时,您需要使用 ` * y*` 进行响应。

    2. 使用 -simulate 参数执行切换操作: + MetroCluster switchover -simulate`

    3. 返回到管理权限级别: + set -privilege admin