ONTAP 9 Manuals ( CA08871-402 )

Remove a SnapMirror active sync configuration

If you no longer require zero RTO SnapMirror synchronous protection, you can delete your SnapMirror active sync relationship.

Remove an asymmetric configuration

  • Before you delete the SnapMirror active sync relationship, all LUNs in the destination cluster must be unmapped.

  • After the LUNs are unmapped and the host is rescanned, the SCSI target notifies the hosts that the LUN inventory has changed. The existing LUNs on the zero RTO secondary volumes change to reflect a new identity after the zero RTO relationship is deleted. Hosts discover the secondary volume LUNs as new LUNs that have no relationship to the source volume LUNs.

  • The secondary volumes remain DP volumes after the relationship is deleted. You can issue the snapmirror break command to convert them to read/write.

  • Deleting the relationship is not allowed in the failed-over state when the relationship is not reversed.

Steps
  1. From the secondary cluster, remove the SnapMirror active sync consistency group relationship between the source endpoint and destination endpoint:

    destination::>snapmirror delete -destination-path vs1_dst:/cg/cg_dst

  2. From the primary cluster, release the consistency group relationship and the Snapshot copies created for the relationship:

    source::>snapmirror release -destination-path vs1_dst:/cg/cg_dst

  3. Perform a host rescan to update the LUN inventory.

  4. Beginning with ONTAP 9.10.1, deleting the SnapMirror relationship does not delete the consistency group. If you want to delete the consistency group, you must use ONTAP System Manager or the ONTAP REST API. See Delete a consistency group for more information.

Remove a symmetric active/active configuration

You can remove a symmetric configuration using ONTAP System Manager or the ONTAP CLI. In both interfaces, there are different steps for uniform and non-uniform configurations.

ONTAP System Manager
Steps for a uniform configuration
  1. On the primary site, remove the remote hosts from the igroup and terminate replication.

    1. Navigate to Hosts > SAN Initiator Groups.

    2. Select the igroup you want to modify then Edit.

    3. Remove the remote initiator and terminate igroup replication. Select Save.

  2. On the secondary site, delete the replicated relationship by unmapping the LUNs.

    1. Navigate to Hosts > SAN Initiator Groups.

    2. Select the igroup with the SnapMirror relationship, then Delete.

    3. In the dialog box, select the Unmap the associated LUNs box then Delete.

    4. Navigate to Protection > Relationships.

    5. Select the SnapMirror active sync relationship then Release to delete the relationships.

Steps for a non-uniform configuration
  1. On the primary site, remove the remote hosts from the igroup and terminate replication.

    1. Navigate to Hosts > SAN Initiator Groups.

    2. Select the igroup you want to modify then Edit.

    3. Remove the remote initiator and terminate igroup replication. Select Save.

  2. On the secondary site, remove the SnapMirror active sync relationship.

    1. Navigate to Protection > Relationships.

    2. Select the SnapMirror active sync relationship then Release to delete the relationships.

CLI
Steps for a uniform configuration
  1. Move all the VM workloads to the host local to source cluster of SnapMirror active sync.

  2. On the source cluster, remove the initiators from the igroup and modify the igroup configuration to terminate igroup replication.

    SiteA::> igroup remove -vserver svm_name -igroup igroup_name -initiator host2
    SiteA::> igroup modify -vserver svm_name -igroup igroup_name -replication-peer "-"

  3. On the secondary site, delete the LUN mapping and remove the igroup configuration:

    SiteB::> lun mapping delete -vserver svm_name -igroup igroup_name -path <>
    SiteB::> igroup delete -vserver svm_name -igroup igroup_name

  4. On the secondary site, delete the SnapMirror active sync relationship.

    SiteB::> snapmirror delete -destination-path destination_path

  5. On the primary site, release the SnapMirror active sync relationship from primary site.

    SiteA::> snapmirror release -destination-path destination_path

  6. Rediscover the paths to verify that only the local path is available to the host.

Steps for a non-uniform configuration
  1. Move all the VM workloads to the host local to source cluster of SnapMirror active sync.

  2. On the source cluster, remove the initiators from the igroup.

    SiteA::> igroup remove -vserver svm_name -igroup igroup_name -initiator host2

  3. On the secondary site, delete the LUN mapping and remove the igroup configuration:

    SiteB::> lun mapping delete -vserver svm_name -igroup igroup_name -path <>
    SiteB::> igroup delete -vserver svm_name -igroup igroup_name

  4. On the secondary site, delete the SnapMirror active sync relationship.

    SiteB::> snapmirror delete -destination-path destination_path

  5. On the primary site, release the SnapMirror active sync relationship from primary site.

    SiteA::> snapmirror release -destination-path destination_path

  6. Rediscover the paths to verify that only the local path is available to the host.

Top of Page