You might need to delete a data replication device group from a protection group if you added a data replication device group to a protection group. Normally, after an application is configured to write to a set of disks, you would not change the disks.
Before you remove a data replication device group, ensure that the following conditions are met:
The protection group is defined on the local cluster.
The protection group is offline on the local cluster and the partner cluster, if the partner cluster can be reached.
The device group is managed by the protection group.
For information about deleting protection groups, refer to How to Delete a Sun StorageTek Availability Suite Protection Group.
Log in to a cluster node.
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.
Remove the device group.
This command removes a device group from a protection group on the local cluster. Then the command propagates the new configuration to the partner cluster if the partner cluster contains a protection group of the same name.
This command removes the device group from the protection group. This command also disables all volume sets associated with the device group and deletes the lightweight resource group and replication resource group for this device group.
# geopg remove-device-group AVSdevicegroupname protectiongroupname
Specifies the name of the data replication device group
Specifies the name of the protection group
This example deletes a data replication device group from a Sun StorageTek Availability Suite protection group.
# geopg remove avsdg avspg