Oracle® Solaris Cluster Geographic Edition System Administration Guide

Exit Print View

Updated: July 2014, E39667-01
 
 

How to Remove a Protection Group From a Multigroup

Perform this procedure to remove a protection group from a multigroup. This procedure does not affect the protection group.


Note -  If the protection group to remove is part of set of interdependent protection groups, called a dependency chain, do not perform this procedure. Go instead to How to Change the Protection Groups in a Multigroup Dependency Chain.
  1. From a node of a site controller cluster, 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 data replication software.


  2. Remove the protection group from the multigroup.
    • If the protection group to remove is not part of a dependency chain with one or more other protection groups, use the following command:
      # geomg remove-protection-group cluster:protection-group multigroup
    • If the protection group to remove is part of a dependency chain with one or more other protection groups, use the following command to specify the complete dependency chain of protection groups:
      # geomg remove-protection-group protection-group-dependency-chain multigroup
      cluster

      Name of the cluster where the protection group to remove is configured.

      protection-group-dependency-chain

      Name of the complete dependency chain of protection groups that contains the protection group that you want to remove. For example, newyork:pg1/newyork:pg2 is a dependency chain in which the newyork:pg1 protection group depends on the newyork:pg2 protection group.

      To remove multiple protection groups, separate each protection group or dependency chain name with a comma (,).

  3. If a protection group that you removed was part of a dependency chain, add back any protection groups in the dependency chain that you want to continue to be in the multigroup.
    # geomg add-protection-group protection-group-list multigroup