|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Cluster Geographic Edition System Administration Guide Oracle Solaris Cluster 4.1|
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 RBAC rights profile to complete this procedure. For more information, see Geographic Edition Software and RBAC.
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.
Example F-5 Deleting an Application Resource Group From a Protection Group
In the following example, two application resource groups, apprg1 and apprg2, are removed from mysql-pg.
# geopg remove-resource-group apprg1,apprg2 mysql-pg