Creating Relationships for Open Replication for Amazon FSx for NetApp ONTAP

For the Open Replication feature for Amazon FSx for NetApp ONTAP , you need to create a relationship.

The type of relationship that you create depends on the type of copy that you want to use.

Type of copy to use

Type of relationship to create

Vault/replica copy

  • SnapVault

  • MirrorVault

Mirror copy

  • SnapMirror

  • Version Flexible Mirror

To configure the relationships, use either the commands in the following procedure.

Before You Begin

Verify that both the source volume and the target volume meet the following conditions:

  • Are the same size

  • Use the same volume language

Procedure

Type the following commands on the destination storage virtual machine (that is, the Vserver).

  1. To create a destination volume, type the following command:

    volume create -vserver destination SVM name -volume volume name -aggregate aggregate name -size size of volume -state online -type DP -language volume language -space-guarantee none -snapshot-policy none
  2. For each volume that is going to be replicated, create one of the following relationships:

    • To create a SnapVault relationship, type the following command:

      snapmirror create -type XDP -policy $[XDPDefault] -source-path $[Source SVM]:$[Source Volume] -destination-path $[Destination SVM]:$[Destination Volume]
    • To create a MirrorVault relationship, type the following command:

      snapmirror create -type XDP –policy Snapmirror policy with policy type mirror-vault -source-path Source SVM:Source Volume -destination-path Destination SVM:Destination Volume

    Note

    The -type and -policy fields are optional when creating a MirrorVault relationship.

    • To create a Version Flexible Mirror relationship, type the following command

      snapmirror create –policy Snapmirror policy with policy type async-mirror -source-path Source SVM:Source Volume -destination-path Destination SVM:Destination Volume
  3. To initialize the relationship, type the following command:

    snapmirror initialize -destination-path Destination SVM:Destination Volume

Results

The relationship is created on the target SVM array and accessible from the source array.

×

Loading...