Oracle® Solaris Cluster Geographic Edition Data Replication Guide for Oracle Solaris Availability Suite

Exit Print View

Updated: July 2014, E39670-01
 
 

How to Delete an Application Resource Group From an Availability Suite Protection Group

You can remove an application resource group from a protection group without altering the state or contents of the application resource group.


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager GUI. Click Partnerships, click the partnership name, then click the protection group name. In the Resource Groups section, highlight the resource group name and click Remove. For more information about Oracle Solaris Cluster Manager, see Chapter 13, Using the Oracle Solaris Cluster GUI, in Oracle Solaris Cluster System Administration Guide .

Before You Begin

Ensure that the following conditions are met:

  • The protection group is defined on the local cluster.

  • The resource group to remove is part of the application resource groups of the protection group. For example, you cannot remove a resource group that belongs to the data replication management entity.

  1. 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 Securing Geographic Edition Software in Oracle Solaris Cluster Geographic Edition Installation and Configuration Guide .

  2. Remove the application resource group from the protection group.

    This command removes an application resource group from a protection group on the local cluster. If the partner cluster contains a protection group of the same name, the application resource group is also removed from the protection group of the partner cluster.

    # geopg remove-resource-group resource-group-list protection-group
    resource-group-list

    Specifies the name of the application resource group.

    You can specify more than one resource group in a comma-separated list.

    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 failed 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.

    Geographic Edition software removes the affinity and resource dependencies between the application resource group and the lightweight resource group.

Example 3-1  Deleting an Application Resource Group From a Protection Group

This example removes two application resource groups, apprg1 and apprg2, from avspg.

# geopg remove-resource-group apprg1,apprg2 avspg