Sun Cluster Geographic Edition System Administration Guide

ProcedureHow to Activate a Sun StorEdge Availability Suite 3.2.1 Protection Group

Before You Begin

You can activate a protection group in the following ways:

When a protection group is activated on a primary or secondary cluster, the outcome 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 started from the primary cluster. So, when you activate a protection group on the secondary cluster, the activation will not start data replication.

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

  2. Activate the protection group.

    This command activates the protection group on the local cluster.

    When you activate a protection group on the primary cluster, its application resource groups are also brought online.


    # geopg start -e scope [-n] AVS-protection-group
    
    -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 that deploy the protection group.


    Note –

    The property values, such as Global and Local, are not case sensitive.


    -n

    Prevents the start of data replication at protection group startup

    If you omit this option, the data replication subsystem starts at the same time as the protection group and the command performs the following operations on each device group in the protection group:

    • Verifies that the role configured for the replication resource is the same as the role of the protection group on the local cluster.

    • Verifies that the role of the volume sets associated with the device group is the same as the role of the protection group on the local cluster.

    • If the role of the protection group on the local cluster is secondary, unmounts the local volumes defined in all volume sets associated with the device group.

    • If the role of the protection group on the local cluster is primary, enables the autosynchronization feature of the Sun StorEdge Availability Suite 3.2.1 remote mirror software. Also, resynchronizes the volume sets associated with the device group.

    AVS-protection-group

    Specifies the name of the protection group

    The geopg start command uses the scswitch -Z -g resource-groups command to bring resource groups and resources online. For more information about using this command, see the scswitch(1M) man page.

    The geopg start command performs the following actions if the role of the protection group is primary on the local cluster:

    • The command executes a script defined in the RoleChange_ActionCmd.

    • The command brings the application resource groups in the protection group online on the local cluster.

    • If the application resource group is a failover type resource group that shares affinities with one of the device groups in the same protection group, the command adds strong, positive affinities and failover delegation between the application resource group and the lightweight resource group.

      The application resource group must not have strong, positive affinities with failover delegation. Otherwise, the attempt to add strong, positive affinities with failover delegation with the lightweight resource group will fail.

    • The command creates strong dependencies between the HAStoragePlus resource in the application resource group and the HAStoragePlus resource in the lightweight resource group for this device group.

    If the command fails, the Configuration status might be set to Error, depending on the cause of the failure. The protection group remains deactivated, but data replication may be started and some resource groups may be brought online. You should run geoadm status to get the status of your system.

    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–13 Activating a Sun StorEdge Availability Suite 3.2.1 Protection Group Globally

The following example illustrates how to activate a protection group globally:


# geopg start -e global avspg 


Example 7–14 Activating a Sun StorEdge Availability Suite 3.2.1 Protection Group Locally

The following example illustrates how to activate a protection group on a local cluster only. This local cluster might be a primary cluster or a secondary cluster, depending on the cluster's role.


# geopg start -e local avspg