Table of Contents

Create SVM Peer and SnapMirror Relationship workflow

For effective data protection, the SVM Peer and SnapMirror Relationship workflow enables you to create peer relationships between storage virtual machines (SVMs, formerly known as Vservers) and set up a SnapMirror relationship for a volume in the cluster. Establishing intercluster peer relationships enables you to replicate data between different geographical locations or between SVMs on different clusters.

Establishing intercluster peer relationships enables you to replicate data between different geographical locations or between SVMs on different clusters. SnapMirror technology is a key component for enterprise data protection (DP) strategies. Establishing SnapMirror relationships enables you to mirror or replicate data over local area networks (LANs) and wide area networks (WANs).

The following sections provide details about the workflow and how to execute the workflow:

Prerequisites for executing the Create SVM Peer and SnapMirror Relationship workflow

You must ensure that certain requirements are met before executing the Create SVM Peer and SnapMirror Relationship workflow. You must be a cluster administrator for executing this workflow.

  • Your system must be running clustered Data ONTAP.
    Note: This workflow is qualified to work with Data ONTAP 8.2.1 and later.
  • OnCommand Workflow Automation (WFA) 3.0 must be installed.
  • You must have added any version of OnCommand Unified Manager from 6.2 through 9.5 or Active IQ Unified Manager 9.6 or later as a data source in WFA and obtained the latest Unified Manager data.
  • The time on the clusters that contain the SVMs to be peered must be synchronized within 300 seconds (5 minutes).
  • For establishing a peer relationship between two SVMs that belong to different clusters, you must have peered the clusters that contain the SVMs by executing the Establish Cluster Peering workflow or by using appropriate commands in the Data ONTAP CLI.
  • SnapMirror license must be enabled in both the source and destination clusters.

What happens when you execute the Create SVM Peer and SnapMirror Relationship workflow

The Create SVM Peer and SnapMirror Relationship workflow enables you to create peer relationships between SVMs and set up a SnapMirror relationship for a volume in the SVM. However, for setting up a Snapmirror relationship, it is not mandatory to create an SVM peer relationship.

The workflow checks for an existing SVM peer relationship and establishes the peer relationship if required.

After executing the workflow, you should periodically monitor the status of the SnapMirror relationships, including the status of the SVM peer relationship to ensure that the SnapMirror data transfers are occurring per the specified schedule. You can verify the peer relationship by running the vserver peer show command in the clustered Data ONTAP CLI.

Note: The workflow does not include the verification procedure.

The following illustration displays the tasks involved in executing the workflow:


The image displays the tasks performed in the Create SVM Peer and Snapmirror Relationship workflow.

Executing the Create SVM Peer and SnapMirror Relationship workflow

The Create SVM Peer and SnapMirror Relationship workflow enables you to select the required clusters and SVMs for peering and thyen establish a Snapmirror relationship between volumes in the peered SVMs.

Before you begin

  • The workflow pack must be downloaded from the Storage Automation Store.
  • You must have reviewed the prerequisites for executing the workflow.

About this task

You should have the following input parameters available for executing the workflow:

  • Source cluster name
  • Source SVM name
  • Name of the volume to be mirrored
  • Destination cluster name
  • Destination SVM name
  • SnapMirror schedule

Steps

  1. Log in to WFA by providing the necessary credentials.
  2. Click Portal > Setup > Create SVM Peer and SnapMirror Relationship.
    Tip: You can use the filter () to locate the workflow.
  3. Click the Execute icon ().
    The Execute Workflow 'Create SVM Peer and SnapMirror Relationship' dialog box is displayed.
  4. Select the source cluster.
  5. Select the source SVM.
  6. Select the volume to be mirrored.
  7. Select the destination cluster.
  8. Select the destination SVM.
  9. Select the appropriate SnapMirror schedule as specified in the destination cluster.
  10. Specify if you want to establish SVM peering.
  11. Optional: Click Preview to validate your workflow before executing it.
  12. Click Execute.
    You can also schedule the workflow for execution at a later date and time by selecting the Choose Date and Time for Execution check box.

After you finish

You should verify your peer relationship by running the vserver peer show command from the Data ONTAP command-line interface (CLI). The command output displays the SVM state as peered.

You should periodically monitor the status of the SnapMirror relationships to ensure that the SnapMirror data transfers are occurring per the specified schedule.