|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Cluster Geographic Edition System Administration Guide Oracle Solaris Cluster 4.1|
To delete a protection group on all clusters, run the geopg delete command on each cluster where the protection group exists.
Before You Begin
Before deleting a protection group, ensure that the following conditions are met:
The protection group exists locally.
The protection group is offline on the local cluster.
You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information, see Geographic Edition Software and RBAC.
Note - To keep the application resource groups online while deleting a protection group, you must remove the application resource groups from the protection group.
The cluster-nyc cluster is the primary cluster. For a sample cluster configuration, see Example Geographic Edition Cluster Configuration.
The following command deletes the configuration of the protection group from the local cluster. The command also removes the replication resource group for each device group in the protection group.
# geopg delete protection-group
In this syntax, protection-group specifies the name of the protection group.
If the deletion is unsuccessful, the configuration status is set to Error. Fix the cause of the error, and rerun the geopg delete command.
Example F-2 Deleting a Protection Group
In the following example, a protection group is deleted from both partner clusters:
# rlogin cluster-nyc -l root cluster-nyc# geopg delete mysql-pg # rlogin cluster-sfo -l root cluster-sfo# geopg delete mysql-pg
Example F-3 Deleting a Protection Group While Keeping Application Resource Groups Online
In the following example, two application resource groups (apprg1 and apprg2) are kept online while the protection group that they share, mysql-pg, is deleted. First, the application resource groups are removed from the protection group. Then, the protection group is deleted.
# geopg remove-resource-group apprg1,apprg2 mysql-pg # geopg stop -e global mysql-pg # geopg delete mysql-pg