Add an intercluster SVM peer relationship (ONTAP 9.3 and later)

Contributors

If you create an SVM after configuring a cluster peer relationship, you will need to add a peer relationship for the SVM manually. You can use the vserver peer create command to create a peer relationship between SVMs. After the peer relationship has been created, you can run vserver peer accept on the remote cluster to authorize the peer relationship.

What you’ll need

The source and destination clusters must be peered.

About this task

You can create a peer relationships between SVMs in the same cluster for local data backup. For more information, see the vserver peer create man page.

Administrators occasionally use the vserver peer reject command to reject a proposed SVM peer relationship. If the relationship between SVMs is in the rejected state, you must delete the relationship before you can create a new one. For more information, see the vserver peer delete man page.

Steps
  1. On the data protection source cluster, create a peer relationship with an SVM on the data protection destination cluster:

    vserver peer create -vserver local_SVM -peer-vserver remote_SVM -applications snapmirror|file-copy|lun-copy -peer-cluster remote_cluster

    The following example creates a peer relationship between the local SVMpvs1 and the remote SVMvs1

    cluster01::> vserver peer create -vserver pvs1 -peer-vserver vs1 -applications snapmirror -peer-cluster cluster02

    If the local and remote SVMs have the same names, you must use a local name to create the SVM peer relationship:

    cluster01::> vserver peer create -vserver vs1 -peer-vserver
    vs1 -applications snapmirror -peer-cluster cluster01
    -local-name cluster1vs1LocallyUniqueName
  2. On the data protection source cluster, verify that the peer relationship has been initiated:

    vserver peer show-all

    For complete command syntax, see the man page.

    The following example shows that the peer relationship between SVMpvs1 and SVMvs1 has been initiated:

    cluster01::> vserver peer show-all
                       Peer              Peer                        Peering
    Vserver            Vserver           State       Peer Cluster    Applications
    -----------        -----------       ----------  --------------  ------------
    pvs1               vs1               initiated   Cluster02       snapmirror
  3. On the data protection destination cluster, display the pending SVM peer relationship:

    vserver peer show

    For complete command syntax, see the man page.

    The following example lists the pending peer relationships for cluster02:

    cluster02::> vserver peer show
    
                       Peer               Peer
    Vserver            Vserver            State
    -----------        -----------        ------------
    vs1                pvs1               pending
  4. On the data protection destination cluster, authorize the pending peer relationship:

    vserver peer accept -vserver local_SVM -peer-vserver remote_SVM

    For complete command syntax, see the man page.

    The following example authorizes the peer relationship between the local SVM vs1 and the remote SVM pvs1:

    cluster02::> vserver peer accept -vserver vs1 -peer-vserver pvs1
  5. Verify the SVM peer relationship:

    vserver peer show

    cluster01::> vserver peer show
                Peer        Peer                           Peering        Remote
    Vserver     Vserver     State        Peer Cluster      Applications   Vserver
    ----------- ----------- ------------ ----------------- -------------- ---------
    pvs1        vs1         peered       cluster02         snapmirror     vs1