This section describes how to delete an application resource group from a MySQL protection group.
You can remove an application resource group from a protection group without altering the state or contents of the application resource group.
Before You Begin
Ensure that the following conditions are met:
The protection group is defined on the local cluster.
The resource group to be removed is part of the application resource groups of the protection group.
You must be assigned the Geo Management rights profile to complete this procedure. For more information, see Securing Disaster Recovery Framework Software in Installing and Configuring the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.
The following command removes an application resource group from a protection group on the local cluster. If the partner cluster contains a protection group with the same name, the application resource group is also removed from the protection group on the partner cluster.
# geopg remove-resource-group resource-group-list protection-group
In this syntax, resource-group-list specifies the name of the application resource group. You can specify more than one resource group in a comma-separated list. In addition, protection-group specifies the name of the protection group.
If the resource group that is being removed shares dependencies with other resource groups in the protection group, then you must also remove all other resource groups that share dependencies with the resource group that is being removed.
If the remove operation fails on the local cluster, the configuration of the protection group is not modified. Otherwise, the configuration status is set to OK on the local cluster. If the configuration status is OK on the local cluster but the remove operation is unsuccessful on the partner cluster, the configuration status is set to Error on the partner cluster.
In the following example, two application resource groups, apprg1 and apprg2, are removed from the mysql-pg protection group.
# geopg remove-resource-group apprg1,apprg2 mysql-pg