Skip to main content

Verifying that your system is ready for a switchback

If your system is already in the switchover state, you can use the -simulate option to preview the results of a switchback operation.

  1. Simulate the switchback operation:
    1. From either surviving node's prompt, change to the advanced privilege level: set -privilege advanced

      You need to respond with y when prompted to continue into advanced mode and see the advanced mode prompt (*>).

    2. Perform the switchback operation with the -simulate parameter: metrocluster switchback -simulate
    3. Return to the admin privilege level: set -privilege admin
  2. Review the output that is returned.

    The output shows whether the switchback operation would run into errors.

Example of verification results

The following example shows the successful verification of a switchback operation:

cluster4::*> metrocluster switchback -simulate 
(metrocluster switchback)
[Job 130] Setting up the nodes and cluster components for the switchback operation...
DBG:backup_api.c:327:backup_nso_sb_vetocheck : MCC Switch Back
[Job 130] Job succeeded: Switchback simulation is successful.

cluster4::*> metrocluster op show
(metrocluster operation show)
Operation: switchback-simulate
State: successful
Start Time: 5/15/2014 16:14:34
End Time: 5/15/2014 16:15:04
Errors: -

cluster4::*> job show -name Me*
Owning
Job ID Name Vserver Node State
------ -------------------- ---------- -------------- ----------
130 MetroCluster Switchback
cluster4
cluster4-01
Success
Description: MetroCluster Switchback Job - Simulation