Skip to main content

Preparing SnapMirror relationships for a nondisruptive upgrade or downgrade

It is recommended that you quiesce your SnapMirror operations before performing a nondisruptive upgrade or downgrade of ONTAP.

  1. Use the snapmirror show command to determine the destination path for each SnapMirror relationship.
  2. For each destination volume, suspend future SnapMirror transfers: snapmirror quiesce -destination-path destination

    If there are no active transfers for the SnapMirror relationship, this command sets its status to Quiesced. If the relationship has active transfers, the status is set to Quiescing until the transfer is completed, and then the status becomes Quiesced.

    Example

    This example quiesces transfers involving the destination volume vol1 from SVM vs0.example.com:
    TDC-DM7K::> snapmirror quiesce -destination-path vs0.example.com:vol1
  3. Verify that all SnapMirror relationships are quiesced: snapmirror show -status !Quiesced

    This command displays any SnapMirror relationships that are not quiesced.

    Example

    This example shows that all SnapMirror relationships are quiesced:
    TDC-DM7K::> snapmirror show -status !Quiesced
    There are no entries matching your query.

  4. If any SnapMirror relationships are currently being transferred, do one of the following options:
    OptionDescription
    Wait for the transfers to finish before performing the ONTAP upgrade.After each transfer finishes, the relationship changes to Quiesced status.
    Stop the transfers: snapmirror abort -destination-path destination -h
    Note
    You must use the -foreground true parameter if you are aborting load-sharing mirror transfers.
    This command stops the SnapMirror transfer and restores the destination volume to the last Snapshot copy that was successfully transferred. The relationship is set to Quiesced status.