Sun Cluster Geographic Edition System Administration Guide

ProcedureHow to Deactivate a Sun StorEdge Availability Suite 3.2.1 Protection Group

Before You Begin

You can deactivate a protection group in the following ways:

The result of deactivating a protection group on primary or secondary cluster depends on the type of data replication you are using. If you are using Sun StorEdge Availability Suite 3.2.1 software, data replication can only be stopped from the primary cluster. So, when you deactivate a protection group on the secondary cluster, this deactivate command will not stop data replication.

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. Deactivate the protection group.

    This command deactivates the protection group on all nodes of the local cluster.

    When you deactivate a protection group, 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 data replication should be stopped while leaving the protection group online

    If you omit this option, the data 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 the following actions:

    • Removal of resource group affinities and resource dependencies between the application resource groups in the protection group and the internal resource group

    • Taking the application resource groups offline and putting them in an unmanaged state

    protection-group-name

    Specifies the name of the protection group

    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.

    If the geopg stop command fails, execute the geoadm status command to see the status of each component. For example, the Configuration status might be set to Error depending upon the cause of the failure. The protection group might remain activated even though some resource groups might be taken offline. The protection group might be deactivated with data replication running.

    If the Configuration status is set to Error, revalidate the protection group by using the procedures described in How to Validate a Sun StorEdge Availability Suite 3.2.1 Protection Group.


Example 7–15 Deactivating a Sun StorEdge Availability Suite 3.2.1 Protection Group on All Clusters

The following example illustrates how to deactivate a protection group on all clusters:


# geopg stop -e global avspg


Example 7–16 Deactivating a Sun StorEdge Availability Suite 3.2.1 Protection Group on a Local Cluster

The following example illustrates how to deactivate a protection group on the local cluster:


# geopg stop -e local avspg


Example 7–17 Stopping Sun StorEdge Availability Suite 3.2.1 Data Replication While Leaving the Protection Group Online

The following example illustrates how to stop only data replication on a local cluster:


# geopg stop -e local -D avspg

If the administrator decides later to deactivate both the protection group and its underlying data replication subsystem, the administrator can reissue the command without the -d option:


# geopg stop -e local avspg


Example 7–18 Deactivating a Sun StorEdge Availability Suite 3.2.1 Protection Group While Keeping Application Resource Groups Online

The following example illustrates how to keep two application resource groups, apprg1 and apprg2, online while deactivating their protection group, avspg.

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


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


    # geopg stop -e global avspg