If you want to delete the protection group everywhere, you must run the geopg delete command on each cluster where the protection group exists.
Before deleting a protection group, ensure that the following conditions are met:
The protection group you want to delete exists locally.
The protection group is offline on all clusters from which you want to delete it.
You must remove the application resource groups from the protection group in order to keep the application resource groups online while deleting the protection group. See Example 2–9 for examples of this procedure.
Log in to one of the nodes on the primary cluster, cluster-paris.
You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Sun Cluster Geographic Edition Software and RBAC in Sun Cluster Geographic Edition System Administration Guide.
Delete the protection group.
This command deletes the configuration of the protection group from the local cluster. The command also removes the replication resource group for each EMC Symmetrix Remote Data Facility device group in the protection group. This command does not alter the pair state of the EMC Symmetrix Remote Data Facility device group.
# geopg delete protectiongroupname
Specifies the name of the protection group
To also delete the protection group on the secondary cluster, repeat step 1 and step 2 on cluster-newyork.
This example deletes a protection group from both partner clusters. The protection group is offline on both partner clusters.
In this example, cluster-paris is the primary cluster. For a reminder of the sample cluster configuration, see Example Sun Cluster Geographic Edition Cluster Configuration in Sun Cluster Geographic Edition System Administration Guide.
# rlogin phys-paris-1 -l root phys-paris-1# geopg delete srdfpg # rlogin phys-newyork-1 -l root phys-newyork-1# geopg delete srdfpg
This example keeps online two application resource groups, apprg1 and apprg2, while deleting their protection group, srdfpg from both partner clusters. Remove the application resource groups from the protection group, then delete the protection group.
phys-paris-1# geopg remove-resource-group apprg1,apprg2 srdfpg phys-paris-1# geopg stop -e global srdfpg phys-paris-1# geopg delete srdfpg phys-newyork-1# geopg delete srdfpg