Oracle® Solaris Cluster Geographic Edition Data Replication Guide for Oracle Solaris Availability Suite

Exit Print View

Updated: July 2014, E39670-01
 
 

Validating an Availability Suite Protection Group

This section contains the following information:

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

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

  • Verifies that a application resource group in the protection group has its Auto_start_on_new_cluster property set to False.

    When you bring a protection group online on the primary cluster, bring the application resources groups participating in that protection group online only on the same primary cluster. Setting the Auto_start_on_new_cluster property to False prevents the Oracle Solaris Cluster resource group manager from automatically starting the application resource groups. In this case, the startup of resource groups is reserved for the Geographic Edition software.

    Application resource groups should be online only on primary cluster when the protection group is activated.

  • Verifies that the Nodelist property of an application resource group that has affinities with a device group defined by the HAStoragePlus resource contains the same entries in identical order to the Nodelist property of the protection group.

  • Verifies that the Nodelist property of a device group in the protection group contains the same entries in identical order to the Nodelist property of the protection group.


    Note -  If the order of the entries in the Nodelist property of the device group is not identical to that of the resource group and to that of the protection group, you will see an error message similar to the following:
    Application resource group app-rg must have a nodelist whose physical host components match those
    of protection group apppg and the resources it contains.

    Ensure that the order of the entries in the Nodelist property of the device group matches the order of the entries for the nodelist property for the resource group and for the protection group in order to avoid this error.


  • Verifies that a lightweight resource group is created for each device group in the protection group. Each lightweight resource group contains two resources, a logical hostname resource and a HAStoragePlus resource. For more information about lightweight resource groups and their resources, see Availability Suite Lightweight Resource Groups.

  • Verifies that a replication resource of the type GeoCtlAVS is created in the replication resource group of each device group in the protection group. For information about the format of the replication resource group, see Availability Suite Replication Resource Groups.

  • Verifies that the Nodelist property of the lightweight resource group and replication resource group contains the same entries in identical order to the Nodelist property of the protection group.

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/device-group-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/device-group-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 Validate an Availability Suite Protection Group


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager GUI. Click Partnerships, click the partnership name to go to its page, highlight the protection group name, and click Validate. For more information about Oracle Solaris Cluster Manager, see Chapter 13, Using the Oracle Solaris Cluster GUI, in Oracle Solaris Cluster System Administration Guide .

Before You Begin

Ensure that the following conditions are met:

  • The protection group you want to validate exists locally.

  • 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 Securing Geographic Edition Software in Oracle Solaris Cluster Geographic Edition Installation and Configuration 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 protection-group
    protection-group

    Specifies a unique name that identifies a single protection group

Example 2-2  Validating the Configuration of a Protection Group

This example validates a protection group.

# geopg validate avspg