Oracle® Solaris Cluster Geographic Edition Remote Replication Guide for Oracle ZFS Storage Appliance

Exit Print View

Updated: July 2014, E39675-01
 
 

How to Delete an Application Resource Group From an Oracle ZFS Storage Appliance Protection Group

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


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager GUI. Click Partnerships, click the partnership name, click the protection group name, 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 be removed is part of the application resource groups of the protection group.

  1. Assume the root role or assume a role that is assigned the Geo Management RBAC rights profile.

    For more information about RBAC, see Securing Geographic Edition Software in Oracle Solaris Cluster Geographic Edition Installation and Configuration Guide .


    Note -  If you use a role with Geo Management RBAC rights, ensure that the /var/cluster/geo ACLs are correct on each node of both partner clusters. If necessary, assume the root role on the cluster node and set the correct ACLs.
    # chmod A+user:username:rwx:allow /var/cluster/geo

    The /var/cluster/geo directory must have the correct access control lists (ACL) applied for compatibility between the Geo Management RBAC rights profile and Oracle ZFS Storage Appliance software.


  2. Remove the application resource group from the protection group.
    # geopg remove-resource-group application-resource-group protection-group
    application-resource-group

    Specifies the name of an 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.

    The 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 command also removes the application resource group from the protection group on the partner cluster.

Example 2-3  Deleting an Oracle ZFS Storage Appliance Application Resource Group From a Protection Group

The following example removes two application resource groups, apprg1 and apprg2, from the zfssa-pg protection group.

# geopg remove-resource-group apprg1,apprg2 zfssa-pg

Troubleshooting

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.