Use extended queries to act on many SnapMirror relationships

Contributors

You can use extended queries to perform SnapMirror operations on many SnapMirror relationships at one time. For example, you might have multiple uninitialized SnapMirror relationships that you want to initialize using one command.

About this task

You can apply extended queries to the following SnapMirror operations:

  • Initializing uninitialized relationships

  • Resuming quiesced relationships

  • Resynchronizing broken relationships

  • Updating idle relationships

  • Aborting relationship data transfers

Step
  1. Perform a SnapMirror operation on many relationships:

    snapmirror command {-state state } *

    The following command initializes SnapMirror relationships that are in an Uninitialized state:

    vs1::> snapmirror initialize {-state Uninitialized} *