验证切回是否成功
执行切回后,您需要确认所有聚合和 Storage Virtual Machine ( SVM )均已切回并联机。
-
验证切换后的数据聚合是否已切回:
s存储聚合显示在以下示例中,节点 B2 上的 aggr_b2 已切回:
node_B_1::> storage aggregate 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 -
验证运行正常的集群上的所有同步目标SVM是否均处于休眠状态(显示运行状态为`s已`"):
vserver show -subtype sync-destinationnode_B_1::> vserver show -subtype sync-destination Admin Operational Root Vserver Type Subtype State State Volume Aggregate ----------- ------- ---------- -------- ---------- -------- ---------- ... cluster_A-vs1a-mc data sync-destination running stopped vs1a_vol aggr_b2MetroCluster 配置中的 sync-destination 聚合会在其名称中自动附加后缀 "` -mc` " ,以帮助标识它们。
-
验证灾难集群上的同步源SVM是否已启动且正在运行:
vserver show -subtype sync-sourcenode_A_1::> vserver show -subtype sync-source Admin Operational Root Vserver Type Subtype State State Volume Aggregate ----------- ------- ---------- -------- ---------- -------- ---------- ... vs1a data sync-source running running vs1a_vol aggr_b2 -
使用
MetroCluster operation show命令确认切回操作成功。如果命令输出显示 …
那么 …
切回操作状态为成功。
切回过程已完成,您可以继续操作系统。
切回操作或切回 - 继续 - 代理操作已部分成功。
执行
MetroCluster operation show命令输出中建议的修复操作。 -
执行以下检查,以确认两个集群之间的切换可正常运行:
-
在DR集群中,检查是否可以从正常运行的集群切换到DR集群:
MetroCluster switchover -simulate -
在正常运行的集群中,检查是否可以从 DR 集群切换到正常运行的集群:
MetroCluster switchover -simulate -
验证 MetroCluster 组件是否运行正常:
MetroCluster check runcluster_A::*> metrocluster check run
此操作将在后台运行。
-
在之后
metrocluster check run操作完成、运行:MetroCluster check show`
大约五分钟后,将显示以下结果:
cluster_A:::*> metrocluster check show Component Result ------------------- --------- nodes ok lifs ok config-replication ok aggregates ok clusters ok connections ok volumes ok 7 entries were displayed.
+
在 MetroCluster FC 环境中,"connections"应在命令输出中显示为"not-applicable"。 -