Go to main content

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

Exit Print View

Updated: June 2017
 
 

How to Delete an Oracle Data Guard Broker Configuration From an Oracle Data Guard Protection Group


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager browser interface. Click Partnerships, click the partnership name, click the protection group name, highlight the data replication component name, and click Remove. 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.

Before You Begin

Before you remove an Oracle Data Guard broker configuration from a protection group, ensure that the following conditions are met:

  • The protection group is defined on the local cluster.

  • If the partner cluster can be reached, the protection group is offline on the local cluster and the partner cluster.

  • The Oracle Data Guard broker configuration is managed by the protection group.

For information about deleting protection groups, refer to Deleting Protection Groups and Data Replication Components in Oracle Solaris Cluster 4.3 Geographic Edition System Administration Guide.

  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. Remove the Oracle Data Guard broker configuration.

    This command removes an Oracle Data Guard broker configuration from a protection group on the local cluster. The command then propagates the new configuration to the partner cluster if the partner cluster contains a protection group of the same name.

    This command removes the Oracle Data Guard broker configuration from the protection group. This command also deletes the shadow Oracle database-server resource group and replication resource group for this Oracle Data Guard broker configuration.

    phys-node-n# geopg remove-replication-component ODG-configuration-name protection-group
    ODG-configuration-name

    Specifies the name of the Oracle Data Guard broker configuration.

    protection-group

    Specifies the name of the protection group.

Example 5  Deleting an Oracle Data Guard Broker Configuration From an Oracle Data Guard Protection Group

This example shows how to delete an Oracle Data Guard broker configuration from an Oracle Data Guard protection group.

phys-paris-1# geopg remove-replication-component mysales.com sales-pg