跳到主要内容

验证切回是否成功

执行切回后,需要确认所有聚合和存储虚拟机(SVM)均已切回并联机。

  1. 验证切换后的数据聚合是否已切回:aggr show

    示例

    在以下示例中,节点 B2 上的 aggr_b2 已切回:

    node_B_1::> aggr show
    Aggregate Size Available Used% State #Vols Nodes RAID Status
    --------- -------- --------- ----- ------- ------ ---------------- ------------
    ...
    aggr_b2 227.1GB 227.1GB 0% online 0 node_B_2 raid_dp,
    mirrored,
    normal

    node_A_1::> aggr show
    Aggregate Size Available Used% State #Vols Nodes RAID Status
    --------- -------- --------- ----- ------- ------ ---------------- ------------
    ...
    aggr_b2 - - - unknown - node_A_1
  2. 验证幸存集群上的所有同步目标 SVM 均休眠(显示 Admin Statestopped),而灾难集群上的同步源 SVM 为 up 状态且正在运行:vserver show -subtype sync-source

    示例

    node_B_1::> vserver show -subtype sync-source
    Admin Root Name Name
    Vserver Type Subtype State Volume Aggregate Service Mapping
    ----------- ------- ---------- ---------- ---------- ---------- ------- -------
    ...
    vs1a data sync-source
    running vs1a_vol node_B_2 file file
    aggr_b2

    node_A_1::> vserver show -subtype sync-destination
    Admin Root Name Name
    Vserver Type Subtype State Volume Aggregate Service Mapping
    ----------- ------- ---------- ---------- ---------- ---------- ------- -------
    ...
    cluster_A-vs1a-mc data sync-destination
    stopped vs1a_vol sosb_ file file
    aggr_b2

    MetroCluster 配置中的同步目标聚合具有自动附加到其名称中的后缀“-mc”,便于识别它们。

  3. 使用 metrocluster operation show 命令确认切回操作已成功。
    如果命令输出显示...则...
    切回操作成功。切回过程已完成,可以继续运行系统。
    切回操作或“切回-继续-代理”操作不完全成功。执行 metrocluster operation show 命令输出中提供的建议修复。

完成之后

必须重复前面部分的操作以反向执行切回。如果 site_A 执行了 site_B 的切换,则让 site_B 执行 site_A 的切换。