Sun Cluster Geographic Edition Data Replication Guide for Sun StorageTek Availability Suite

ProcedureHow to Deactivate a Sun StorageTek Availability Suite 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 StorageTek Availability Suite software, 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.

  1. Log in to a cluster node.

    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 in Sun Cluster Geographic Edition System Administration Guide.

  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 unmanaged.


    # geopg stop -e scope [-D] protectiongroupname 
    
    -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 and the protection group should be 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

    protectiongroupname

    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, run the geoadm status command to see the status of each 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 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 StorageTek Availability Suite Protection Group.


Example 2–14 Deactivating a Sun StorageTek Availability Suite Protection Group on All Clusters

This example deactivates a protection group on all clusters.


# geopg stop -e global avspg


Example 2–15 Deactivating a Sun StorageTek Availability Suite Protection Group on a Local Cluster

This example deactivates a protection group on the local cluster.


# geopg stop -e local avspg


Example 2–16 Stopping Sun StorageTek Availability Suite Data Replication While Leaving the Protection Group Online

This example stops 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 rerun the command without the -d option.


# geopg stop -e local avspg


Example 2–17 Deactivating a Sun StorageTek Availability Suite Protection Group While Keeping Application Resource Groups Online

This example keeps online two application resource groups, apprg1 and apprg2, 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