Oracle® Solaris Cluster Geographic Edition Data Replication Guide for MySQL

Exit Print View

Updated: July 2014, E41326-01
 
 

How to Delete an Application Resource Group From a MySQL 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, 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:

  1. Log in to a cluster node.
  2. Remove the application resource group from the protection group.

    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 1-3  Deleting an Application Resource Group From a Protection Group

In the following example, two application resource groups, apprg1 and apprg2, are removed from the mysql-pg protection group.

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