Sun Cluster Geographic Edition System Administration Guide

ProcedureHow to Delete an Application Resource Group From a Hitachi TrueCopy Protection Group

Before You Begin

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

Before you remove an application resource group from a protection group, ensure that the following conditions are met:

Steps
  1. Log in to one of the cluster nodes.

    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.

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

    This command removes an application resource group from the protection group on the local cluster. If the partner cluster contains a protection group of the same name, then the command removes the application resource group from the protection group on 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 remove operation is unsuccessful 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 10–10 Deleting an Application Resource Group From a Protection Group

The following example illustrates how to remove two application resource groups, apprg1 and apprg2, from tcpg:


# geopg remove-resource-group apprg1,apprg2 tcpg