Commands for switchover, healing, and switchback

There are specific ONTAP commands for performing the MetroCluster disaster recovery processes.

If you want to... Use this command...
Verify that switchover can be performed without errors or vetos. metrocluster switchover -simulate at the advanced privilege level

Verify that switchback can be performed without errors or vetos. metrocluster switchback -simulate at the advanced privilege level

Switch over to the partner nodes (negotiated switchover). metrocluster switchover

Switch over to the partner nodes (forced switchover). metrocluster switchover -forced-on-disaster true

Perform data aggregate healing. metrocluster heal -phase aggregates

Perform root aggregate healing. metrocluster heal -phase root-aggregates

Switch back to the home nodes. metrocluster switchback