JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Geographic Edition Data Replication Guide for Sun StorageTek Availability Suite
search filter icon
search icon

Document Information

Preface

1.  Replicating Data With Sun StorageTek Availability Suite Software

2.  Administering Sun StorageTek Availability Suite Protection Groups

Strategies for Creating Sun StorageTek Availability Suite Protection Groups

Creating a Protection Group While the Application Is Offline

Creating a Protection Group While the Application Is Online

Creating, Modifying, Validating, and Deleting a Sun StorageTek Availability Suite Protection Group

How to Create and Configure a Sun StorageTek Availability Suite Protection Group

How to Modify a Sun StorageTek Availability Suite Protection Group

How to Validate a Sun StorageTek Availability Suite Protection Group

How the Data Replication Layer Validates the Application Resource Groups and Data Replication Entities

How to Delete a Sun StorageTek Availability Suite Protection Group

Administering Sun StorageTek Availability Suite Application Resource Groups

How to Add an Application Resource Group to a Sun StorageTek Availability Suite Protection Group

How to Delete an Application Resource Group From a Sun StorageTek Availability Suite Protection Group

Administering Sun StorageTek Availability Suite Data Replication Device Groups

How to Add a Data Replication Device Group to a Sun StorageTek Availability Suite Protection Group

How the Data Replication Subsystem Verifies the Device Group

How to Modify a Sun StorageTek Availability Suite Data Replication Device Group

How to Delete a Data Replication Device Group From a Sun StorageTek Availability Suite Protection Group

Replicating the Sun StorageTek Availability Suite Protection Group Configuration to a Partner Cluster

How to Replicate the Sun StorageTek Availability Suite Protection Group Configuration to a Partner Cluster

Activating and Deactivating a Protection Group

How to Activate a Sun StorageTek Availability Suite Protection Group

How to Deactivate a Sun StorageTek Availability Suite Protection Group

Resynchronizing a Sun StorageTek Availability Suite Protection Group

How to Resynchronize a Sun StorageTek Availability Suite Protection Group

Checking the Runtime Status of Sun StorageTek Availability Suite Data Replication

Displaying a Sun StorageTek Availability Suite Runtime Status Overview

How to Check the Overall Runtime Status of Replication

Displaying a Detailed Sun StorageTek Availability Suite Runtime Status

3.  Migrating Services That Use Sun StorageTek Availability Suite Data Replication

A.  Geographic Edition Properties for Sun StorageTek Availability Suite

Index

Creating, Modifying, Validating, and Deleting a Sun StorageTek Availability Suite Protection Group

This section contains the following information:


Note - You can create protection groups that are not configured to use data replication. To create a protection group that does not use a data replication subsystem, omit the -d datareplicationtype option when you use the geopg command. The geoadm status command shows a state for data replication of NONE.


How to Create and Configure a Sun StorageTek Availability Suite Protection Group

Before You Begin

Ensure that the following conditions are met:


Note - Protection group names are unique in the global Geographic Edition namespace. You cannot use the same protection group name in two partnerships on the same system.


You can also replicate the existing configuration of a protection group from a remote cluster to the local cluster. For more information, see Replicating the Sun StorageTek Availability Suite Protection Group Configuration to a Partner Cluster.

  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 Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.

  2. Create a new protection group by using the geopg create command.

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

    # geopg create -s partnershipname -d avs \
    -o localrole [-p property [-p...]] protectiongroupname
    -s partnershipname

    Specifies the name of the partnership.

    -d avs

    Specifies that the protection group data is replicated by Sun StorageTek Availability Suite software.

    -o localrole

    Specifies the role of this protection group on the local cluster as either primary or secondary.

    -p propertysetting

    Specifies the properties of the protection group.

    For information about the properties that you can set, see Appendix A, Standard Geographic Edition Properties, in Oracle Solaris Cluster Geographic Edition System Administration Guide.

    protectiongroupname

    Specifies the name of the protection group.

    For information about the names and values that are supported by Geographic Edition software, see Appendix B, Legal Names and Values of Geographic Edition Entities, in Oracle Solaris Cluster Geographic Edition System Administration Guide.

    For more information about the geopg command, refer to the geopg(1M) man page.

    Before creating the protection group, the data replication layer validates that the configuration is correct.

    If the validation is successful, the local Configuration status is set to OK and the Synchronization status is set to Error.

    If the validation is unsuccessful, the protection group is not created.

Example 2-2 Creating and Configuring a Protection Group

This example creates a Sun StorageTek Availability Suite protection group on the cluster-paris cluster, which is set as the primary cluster.

phys-paris-1# geopg create -s paris-newyork-ps -d avs -o primary \
-p Nodelist=phys-paris-1,phys-paris-2 avspg

How to Modify a Sun StorageTek Availability Suite Protection Group

Before You Begin

Ensure that the protection group you want to modify exists locally.

  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 Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.

  2. Modify the configuration of the protection group.

    If the partner cluster contains a protection group of the same name, the geopg set-prop command also propagates the new configuration information to the partner cluster.

    # geopg set-prop -p property[-p…] protectiongroupname
    -p propertysetting

    Specifies the properties of the protection group.

    For more information about the properties you can set, see Appendix A, Standard Geographic Edition Properties, in Oracle Solaris Cluster Geographic Edition System Administration Guide.

    protectiongroupname

    Specifies the name of the protection group.

    The geopg set-prop command revalidates the protection group with the new configuration information. If the validation is unsuccessful on the local cluster, the configuration of the protection group is not modified. Otherwise, the Configuration status is set to OK on the local cluster.

    If the Configuration status is OK on the local cluster, but the validation is in unsuccessful on the partner cluster, the Configuration status is set to Error on the partner cluster.

    For information about the names and values that are supported by Geographic Edition software, see Appendix B, Legal Names and Values of Geographic Edition Entities, in Oracle Solaris Cluster Geographic Edition System Administration Guide.

    For more information about the geopg command, refer to the geopg(1M) man page.

Example 2-3 Modifying the Configuration of a Protection Group

This example modifies the timeout property of the protection group that was created in Example 2-2.

# geopg set-prop -p Timeout=300 avspg

How to Validate a Sun StorageTek Availability Suite Protection Group

Before You Begin

When the Configuration status of a protection group is displayed as Error in the geoadm status output, you can validate the configuration by using the geopg validate command. This command checks the current state of the protection group and its entities.

If the protection group and its entities are valid, then the Configuration status of the protection groups is set to OK. If the geopg validate command finds an error in the configuration files, then the command displays a message about the error and the configuration remains in the error state. In such a case, you can fix the error in the configuration, and run the geopg validate command again.

This command validates the configuration of the protection group on the local cluster only. To validate the protection group configuration on the partner cluster, run the command again on the partner cluster.

Before validating the configuration of a protection group, ensure that the protection group you want to validate exists locally and that the common agent container is online on all nodes of both clusters in the partnership.

  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 Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.

  2. Validate the configuration of the protection group.

    This command validates the configuration of the protection group on the local cluster only.

    # geopg validate protectiongroupname 
    protectiongroupname

    Specifies a unique name that identifies a single protection group

Example 2-4 Validating the Configuration of a Protection Group

This example validates a protection group.

# geopg validate avspg

How the Data Replication Layer Validates the Application Resource Groups and Data Replication Entities

During protection group validation, the Sun StorageTek Availability Suite data replication layer validates the application resource groups and the data replication entities as follows:

If the Enable_volume_set property of a successfully validated device group is set to True, then volume sets defined in the /var/cluster/geo/avs/devicegroupname-volset.ini file are enabled. Other volume sets for the device group are disabled. If you want to enable the other volume sets, you can add the volume sets to the /var/cluster/geo/avs/devicegroupname-volset.ini file or set the Enable_volume_set property to False.

When validation is complete, the Geographic Edition software creates the lightweight resource group, the replication resource group, and the resources for this replication resource group, if nonexistent, and brings them online. If a resource group or resource of the same name already exists, the Geographic Edition operations might modify their properties. Geographic Edition software cannot create a new resource group or resource of the same name if one already exists.

The Configuration status is set to OK after successful validation. If validation is not successful, the Configuration status is set to Error.

How to Delete a Sun StorageTek Availability Suite Protection Group

Before You Begin

To delete a protection group on all clusters, run the geopg delete command on each cluster where the protection group exists.

Before deleting a protection group, ensure that the following conditions are met.


Note - To keep the application resource groups online while deleting a protection group, you must remove the application resource groups from the protection group.


  1. Log in to a node on the cluster where you want to delete the protection group, for example, cluster-paris.

    The cluster-paris is the primary cluster. See Example Geographic Edition Cluster Configuration in Oracle Solaris Cluster Geographic Edition System Administration Guide for a sample cluster configuration.

    You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.

  2. Delete the protection group.

    This command deletes the configuration of the protection group from the local cluster. The command also removes the lightweight resource group and the replication resource group for each device group in the protection group.

    # geopg delete protectiongroupname 
    protectiongroupname

    Specifies the name of the protection group.

    If the deletion is unsuccessful, the Configuration status is set to Error. Fix the cause of the error and rerun the geopg delete command.

Example 2-5 Deleting a Protection Group

This example deletes a protection group from both partner clusters.

# rlogin cluster-paris -l root
cluster-paris# geopg delete avspg
# rlogin cluster-newyork -l root
cluster-newyork# geopg delete avspg

Example 2-6 Deleting a Protection Group While Keeping Application Resource Groups Online

This example keeps online two application resource groups (apprg1 and apprg2) while deleting the protection group that they share, avspg.

Remove the application resource groups from the protection group, then delete the protection group.

# geopg remove-resource-group apprg1,apprg2 avspg
# geopg stop -e global avspg
# geopg delete avspg