Create the SnapMirror relationship (ONTAP 9.2 or earlier)

Contributors NetAppZacharyWambold

You must create a SnapMirror relationship between the source volume on one cluster and the destination volume on the peered cluster for replicating data for disaster recovery.

Before you begin
  • You must have the cluster administrator user name and password for the destination cluster.

  • The destination aggregate must have available space.

  • Both the clusters must be configured and set up appropriately to meet the requirements of your environment for user access, authentication, and client access.

About this task

You must perform this task from the source cluster.

Steps
  1. Click Storage > SVMs.

  2. Select the SVM, and then click SVM Settings.

  3. Click the Volumes tab.

  4. Select the volume for which you want to create a mirror relationship, and then click Protect.

    The Create Protection Relationship window is displayed.

  5. In the Relationship Type section, select Mirror from the Relationship Type drop-down list.

  6. In the Destination Volume section, select the peered cluster.

  7. Specify the SVM for the destination volume:

    If the SVM is…​ Then…​

    Peered

    Select the peered SVM from the list.

    Not peered

    1. Select the SVM.

    2. Click Authenticate.

    3. Enter the cluster administrator’s credentials of the peered cluster, and then click Create.

  8. Create a new destination volume:

    1. Select the New Volume option.

    2. Use the default volume name or specify a new volume name.

    3. Select the destination aggregate.

    destination volume settings
  9. In the Configuration Details section, select MirrorAllSnapshots as the mirror policy.

    DPDefault and MirrorLatest are the other default mirror policies that are available for SnapMirror relationships.

  10. Select a protection schedule from the list of schedules.

  11. Ensure that the Initialize Relationship check box is selected, and then click Create.

    Initializing the SnapMirror relationship ensures that the destination volume has a baseline to start protecting the source volume.

    create snapmirror relationship window

    The relationship is initialized by starting a baseline transfer of data from the source volume to the destination volume.

    The initialization operation might take some time. The Status section shows the status of each job.

    snapmirror create 3 successful
  12. Verify the relationship status of the SnapMirror relationship:

    1. Select the volume for which you created the SnapMirror relationship from the Volumes list, and then click Data Protection.

    2. In the Data Protection tab, verify that the SnapMirror relationship that you created is listed and that the relationship state is Snapmirrored.

      snapmirror create 4 verify

What to do next

You must make a note of the settings for the source volume such as thin provisioning, deduplication, compression, and autogrow. You can use this information to verify the destination volume settings when you break the SnapMirror relationship.