MetroCluster switchback failed with error "command failed: Switchback cannot be performed in the current DR mode"
Applies to
- MetroCluster
- ONTAP 9
- Switchback Failed
Issue
- The MetroCluster switchback failed with the following error:
*> 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.
- During the initial attempt, the resync-status was observed to be in a failed state.
*> metrocluster config-replication resync-status show
Source Destination State % Complete
----------------------- ----------------------- ----------- ----------
XXX XXX failed -
XXX XXX complete -
- The initial attempt to perform a switchback was unsuccessful, even though a subsequent simulation and actual switchback operation later succeeded.