Go to main content

Oracle® Solaris Cluster Geographic Edition Data Replication Guide for Oracle Data Guard

Exit Print View

Updated: June 2017
 
 

How to Create and Configure an Oracle Data Guard Protection Group

The following procedure builds on the example configuration that was described in Replicating Data With Oracle Data Guard Software.


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager browser interface. Click Partnerships, click the partnership name, and in the Protection Groups section click Create. For more information about Oracle Solaris Cluster Manager, see Chapter 13, Using the Oracle Solaris Cluster Manager Browser Interface in Oracle Solaris Cluster 4.3 System Administration Guide.

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. Geographic Edition 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.


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 Oracle Data Guard Protection Group Configuration to a Partner Cluster.

  1. Assume the root role or assume a role that is assigned the Geo Management rights profile.

    For more information, see Securing Geographic Edition Software in Oracle Solaris Cluster 4.3 Geographic Edition Installation and Configuration Guide.


    Note -  If you use a role with Geo Management rights, ensure that the /var/cluster/geo ACLs are correct on each node of both partner clusters. If necessary, assume the root role on the cluster node and set the correct ACLs.
    # 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.


  2. On all nodes of the local cluster, create a new protection group.
    phys-node-n# geopg create -s partnership -d odg \
    -o local-role [-p property [-p...]] protection-group
    –s partnership

    Specifies the name of the partnership.

    –d odg

    Specifies that the protection group data is replicated by Oracle Data Guard software.

    –o local-role

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

    –p property-setting

    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.

    protection-group

    Specifies the name of the protection group.

    For information about the names and values that are supported by Geographic Edition software, see Legal Names and Values of Geographic Edition Entities in Oracle Solaris Cluster 4.3 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.