MetroClusterスイッチバックが次のエラーで失敗しました:「command failed:Switchback cannot be performed in the current DR mode」
環境
- MetroCluster
- ONTAP 9
- スイッチバック失敗
問題
- MetroClusterスイッチバックが次のエラーで失敗しました。
*> metrocluster switchback
Error: command failed: Switchback cannot be performed in the current DR mode. Use the "metrocluster show" and "metrocluster node show" commands to view the DR mode of the local cluster and the DR mode of the local nodes respectively.
Use the "metrocluster switchback" command only if one of the following conditions are true:
1. The DR mode of all local nodes is "heal roots completed".
2. The DR mode of the local cluster is "normal".
3. The DR mode of the local cluster is "partial-switchback".
If the DR mode of all local nodes is "switchover completed", use the following commands to heal aggregates before using the "metrocluster switchback"command:
1. "metrocluster heal -phase aggregates"
2. "metrocluster heal -phase root-aggregates"
*> metrocluster node show
DR Configuration DR
Group Cluster Node State Mirroring Mode
----- ------- ------------------ -------------- --------- --------------------
1 XXX XXXconfigured enabled heal aggrs completed
XXX configured enabled heal aggrs completed
XXX
XXX configured enabled waiting for switchback recovery
XXX configured enabled waiting for switchback recovery
4 entries were displayed.
- 最初の試行でresync-statusがfailed状態であることが確認されました。
*> metrocluster config-replication resync-status show
Source Destination State % Complete
----------------------- ----------------------- ----------- ----------
XXX XXX failed -
XXX XXX complete -
- 以降のシミュレーションと実際のスイッチバック処理はあとで成功したにもかかわらず、最初のスイッチバックの実行に失敗しました。