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

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 you activate a protection group, the data replication product you are using determines the clusters on which data replication can start. For example, the Sun StorEdge Availability Suite 3.2.1 software allows data replication to start only from the primary cluster. So, if you activate a protection group from the secondary cluster, data replication does not start.

  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. 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] AVSprotectiongroup
    
    -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.

    AVSprotectiongroup

    Specifies the name of the protection group.

    The geopg start command uses the scswitch -Z -g resourcegroups 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 runs a script that is 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 a device group 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 might be started and some resource groups might be brought online. Run the geoadm status command to obtain the status of your system.

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


Example 2–12 Activating a Sun StorEdge Availability Suite 3.2.1 Protection Group Globally

This example activates a protection group globally.


# geopg start -e global avspg 


Example 2–13 Activating a Sun StorEdge Availability Suite 3.2.1 Protection Group Locally

This example activates a protection group on a local cluster only. This local cluster might be a primary cluster or a secondary cluster, depending on the role of the cluster.


# geopg start -e local avspg