Skip to main content
NetApp Knowledge Base

MetroCluster switchback failed with error "command failed: Switchback cannot be performed in the current DR mode"

Views:
126
Visibility:
Public
Votes:
0
Category:
metrocluster
Specialty:
metrocluster
Last Updated:

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.

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.