Skip to main content
SnapManager for SAP

Prepare storage systems for SnapVault replication

Contributors

Before you can use SnapManager to perform disk-to-disk backup replication, you need to configure a data-protection relationship between the source and destination volumes, then initialize the relationship. On initialization, SnapVault makes a Snapshot copy of the source volume, then transfers the copy and all the data blocks it references to the destination volume.

What you'll need

  • You must be a cluster administrator.

About this task

You can use the ONTAP command-line interface (CLI) or OnCommand System Manager to create SnapVault relationships. The following procedure documents CLI usage.

Important If you are storing database files and transaction logs on different volumes, you must create relationships between the source and destination volumes for the database files and between the source and destination volumes for the transaction logs.

The following illustration shows the procedure for initializing a SnapVault relationship:

This illustration shows the procedure for initializing a SnapVault relationship: identifying the destination cluster
Steps
  1. Identify the destination cluster.

  2. On the destination cluster, use the volume create command with the -type DP option to create a SnapVault destination volume that is the same size as or larger than the source volume.

    Important The language setting of the destination volume must match the language setting of the source volume.

    Example

    The following command creates a 2 GB destination volume named dstvolB in SVM2 on the aggregate node01_aggr:

    cluster2::> volume create -vserver SVM2 -volume dstvolB -aggregate node01_aggr -type DP
    -size 2GB
  3. On the destination SVM, use the snapmirror policy create command to create a SnapVault policy.

    Example

    The following command creates the SVM-wide policy SVM1-vault:

    SVM2::> snapmirror policy create -vserver SVM2 -policy SVM1-vault
    Note Do not define a cron schedule or Snapshot copy policy for the SnapVault relationship. does that for you when you create a backup schedule.
  4. Use the snapmirror create command with the -type XDP parameter and the -policy parameter to create a SnapVault relationship and assign a vault policy.

    The XDP type defines the relationship as a SnapVault relationship.

    Example

    The following command creates a SnapVault relationship between the source volume srcvolA on SVM1 and the destination volume dstvolB on SVM2, and assigns the policy SVM1-vault:

    SVM2::> snapmirror create -source-path SVM1:srcvolA -destination-path SVM2:dstvolB
    -type XDP -policy SVM1-vault
  5. Use the snapmirror initialize command to initialize the relationship.

    The initialization process performs a baseline transfer to the destination volume. SnapMirror makes a Snapshot copy of the source volume, then transfers the copy and all the data blocks it references to the destination volume.

    Example

    The following command initializes the relationship between the source volume srcvolA on SVM1 and the destination volume dstvolB on SVM2:

    SVM2::> snapmirror initialize -destination-path SVM2:dstvolB

Related information