Go to main content

Oracle® Solaris Cluster 4.3 Geographic Edition System Administration Guide

Exit Print View

Updated: June 2017
 
 

Deactivating a Protection Group

This section provides guidelines and instructions to deactivate a protection group.

The result of deactivating a protection group on the primary or standby cluster depends on the type of data replication that you are using.

Availability Suite

Data replication can be stopped only from the primary cluster. So, when you deactivate a protection group on the secondary cluster, this deactivate command does not stop data replication.

If the role of the protection group is Primary on the local cluster, the geopg stop command disables the autosynchronization of each device group and places the volume sets into logging mode.

EMC SRDF
  • The data replication configuration of the protection group is validated. During validation, the current local role of the protection group is compared with the aggregate device group state. If validation is successful, data replication is stopped.

  • Data replication is stopped on the data replication device groups that are configured for the protection group, whether the deactivation occurs on a primary or secondary cluster.

Oracle Data Guard

You can stop the Oracle Data Guard configuration from the primary or the standby cluster when the configuration is enabled because the Oracle Data Guard command-line interface (dgmgrl) on both clusters still accepts commands.

If the role of the protection group is Primary on the local cluster, the geopg stop command disables the Oracle Data Guard Broker configuration.

How to Deactivate a Protection Group

This procedure deactivates the protection group on all nodes of the primary and secondary clusters, depending on the scope of the command. When you deactivate a protection group, its application resource groups are also unmanaged.


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager browser interface. Click Partnerships, click the partnership name to go to its page, highlight the protection group name, and click Stop Protection Group. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager in Oracle Solaris Cluster 4.3 System Administration Guide.

You can deactivate, or stop, a protection group in the following ways:

  • Globally, meaning you deactivate a protection group on both the primary and the standby cluster where the protection group is configured

  • On the primary cluster only

  • On the standby cluster only

Before You Begin

  1. Assume the root role or assume a role that is assigned the Geo Management rights profile.
  2. Deactivate the protection group.

    When you deactivate a protection group on the primary cluster, its application resource groups are also taken offline.

    # geopg stop -e scope [-D] protection-group-name
    –e scope

    Specifies the scope of the command.

    If the scope is Local, then the command operates on the local cluster only. If the scope is Global, the command operates on both clusters where the protection group is deployed.


    Note -  The property values, such as global and local, are not case sensitive.
    –D

    Specifies that only replication should be stopped and the protection group should be online.

    If you omit this option, the replication subsystem and the protection group are both stopped. If the role of the protection group on the local cluster is Primary, omitting the –D option also results in taking the application resource groups offline and putting them in an unmanaged state.

    protection-group-name

    Specifies the name of the protection group.

Example 20  Deactivating a Protection Group on All Clusters

This example deactivates a protection group on all clusters.

# geopg stop -e global sales-pg
Example 21  Deactivating a Protection Group on the Local Cluster

This example deactivates a protection group on the local cluster.

# geopg stop -e local sales-pg
Example 22  Stopping Remote Replication While Leaving the Protection Group Online

This example stops replication on the local cluster only.

# geopg stop -e local -D sales-pg

If you decide later to deactivate both the protection group and its underlying replication subsystem, you can rerun the command without the –D option:

# geopg stop -e local sales-pg
Example 23  Deactivating a Protection Group While Keeping Application Resource Groups Online

This example keeps online two application resource groups, apprg1 and apprg2, while deactivating their protection group, sales-pg, on both clusters.

  1. Remove the application resource groups from the protection group.

    # geopg remove-resource-group apprg1,apprg2 sales-pg
  2. Deactivate the protection group.

    # geopg stop -e global sales-pg

Troubleshooting

If the geopg stop command fails, run the geoadm status command or Oracle Solaris Cluster Manager to obtain the status of each data replication component. For example, the configuration status might be set to Error depending on the cause of the failure. The protection group might remain activated even though some resource groups might be unmanaged. The protection group might be deactivated with replication running.

If the configuration status is set to Error, revalidate the protection group. See Validating a Protection Group in Oracle Solaris Cluster 4.3 Geographic Edition Installation and Configuration Guide.