Table of ContentsView in Frames

Deleting an SVM peer relationship

A cluster administrator can delete the Storage Virtual Machine (SVM) peer relationship by using the vserver peer delete command when the relationship between two SVMs is no longer required.

Before you begin

The SnapMirror relationship defined on the SVM peer relationship must be deleted.

About this task

If one of the peered clusters is running clustered Data ONTAP 8.2 or 8.2.1, then you must delete the SVM peer relationship from both the peered clusters.

You can delete multiple SVM peer relationships simultaneously either by using different SSH sessions or by using a script.

Note: It is best to delete not more than five SVM peer relationships simultaneously to avoid any performance degradation.

Steps

  1. Use the vserver peer delete command on one of the peered clusters to delete the SVM peer relationship.
    Example
    The following command deletes the SVM peer relationship from both the clusters:
    cluster1::> vserver peer delete -vserver vs1.example0.com -peer-vserver vs3.example0.com
    
    Info: [Job 47] 'vserver peer delete' job queued
    
  2. If the vserver peer delete command fails due to unavailability of one of the peered clusters, choose one of the following actions:
    • Establish the network connectivity between the two clusters and use the vserver peer delete command to delete the SVM peer relationship (recommended).
    • Use the vserver peer delete command with the -force option on both the local and peered clusters to delete the SVM peer relationship if the cluster peer relationship is not reestablished.
  3. Use the vserver peer show command on both the clusters to verify that the deleted SVM peer relationship is not displayed.
    Example
    cluster1::> vserver peer show
    
                      Peer               Peer
      Vserver         Vserver            State
    -----------       -----------        ------------
    vs1.example0.com  vs3.example0.com    peered
    
  4. If any SVM peer relationship is in the deleted state, delete that SVM peer relationship again by using the vserver peer delete command.