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.
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.
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 |
Specifies a unique name that identifies a single protection group
The following example illustrates how to validate a protection group.
# geopg validate tcpg |
During protection group validation, the Hitachi TrueCopy data replication layer makes the following validations:
The data replication layer confirms that the horcmd daemon is running on at least one of the nodes given in the Nodelist property of the protection group. The data replication layer also confirms that a path to a Hitachi TrueCopy storage device exists from the node on which the horcmd daemon is running.
For more information about the horcmd daemon, see the Sun StorEdge SE 9900 V Series Command and Control Interface User and Reference Guide
If the Cluster_dgs property is specified, then the data replication layer verifies that the device group specified is a valid Sun Cluster device group by using the scstat -D command. The data replication layer also verifies that the device group is of a valid type.
The data replication layer validates the properties of each Hitachi TrueCopy device group that has been added to the protection group.