How to Activate a Sun StorageTek Availability Suite Protection Group

Before You Begin

Globally, which activates a protection group on both clusters where the protection group has been configured

On the primary cluster only

On a secondary cluster only

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 StorageTek Availability Suite 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.

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

# geopg start -e scope [-n] AVSprotectiongroup

-escope

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 StorageTek Availability Suite 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.