The following procedure builds on the example configuration that was described in Replicating Data With Oracle Data Guard Software.
In this example, the sales database is online on the cluster-paris cluster and is protected by Oracle Data Guard.
Before You Begin
Ensure that the following conditions are met:
The Oracle Data Guard broker configuration exists. The disaster recovery framework does not create the configuration for you.
Your clusters are members of a partnership.
The protection group that you are creating does not already exist.
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 Oracle Data Guard Protection Group Configuration to a Partner Cluster.
For more information, see Securing Disaster Recovery Framework Software in Installing and Configuring the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.
# chmod A+user:username:rwx:allow /var/cluster/geo
The /var/cluster/geo directory must have the correct access control lists (ACL) applied for compatibility between the Geo Management rights profile and Oracle Data Guard.
phys-node-n# geopg create -s partnership -d odg \ -o local-role [-p property [-p...]] protection-group
Specifies the name of the partnership.
Specifies that the protection group data is replicated by Oracle Data Guard software.
Specifies the role of this protection group on the local cluster as either primary or secondary.
Specifies the properties of the protection group.
You can specify the following properties:
Description – Describes the protection group.
Timeout – Specifies the timeout period for the protection group, in seconds.
Specifies the name of the protection group.
For information about the names and values that are supported by the disaster recovery framework, see Appendix B, Legal Names and Values of Disaster Recovery Framework Entities, in Administering the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.
For more information about the geopg command, refer to the geopg(8) 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.