Sun Cluster Geographic Edition System Administration Guide

ProcedureHow to Validate a Hitachi TrueCopy Protection Group

Before You Begin

When the geoadm status output displays that the Configuration status of a protection group is Error, 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 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 issue thegeopg validate command again.

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.

Steps
  1. Log in to one of the cluster nodes.

    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. Validate the protection group's configuration.

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


    # geopg validate protection-group-name 
    
    protection-group-name

    Specifies a unique name that identifies a single protection group


Example 10–5 Validating the Configuration of a Protection Group

The following example illustrates how to validate a protection group.


# geopg validate tcpg

Validations Made by the Data Replication Subsystem During Protection Group Validation

During protection group validation, the Hitachi TrueCopy data replication layer makes the following validations: