0% found this document useful (0 votes)
42 views4 pages

12c Create Dataguard Broker Configuration

This document provides steps to create a Dataguard broker configuration using DGMGRL. It involves starting the DMON process, connecting to DGMGRL, creating a configuration specifying the primary database, adding a standby database, enabling the configuration, and verifying the primary and standby databases. It also discusses how the broker supports far sync and fast sync standby databases.

Uploaded by

baraka08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views4 pages

12c Create Dataguard Broker Configuration

This document provides steps to create a Dataguard broker configuration using DGMGRL. It involves starting the DMON process, connecting to DGMGRL, creating a configuration specifying the primary database, adding a standby database, enabling the configuration, and verifying the primary and standby databases. It also discusses how the broker supports far sync and fast sync standby databases.

Uploaded by

baraka08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

4/10/2017 Document 1583588.

12c Create Dataguard Broker Configuration - DGMGRL (Doc ID 1583588.1)

In this Document

Goal
Solution

Dataguard Broker Supports Far/Fast SYNC Standby


Fast SYNC Standby
References

APPLIES TO:

Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]


Information in this document applies to any platform.

GOAL

This Document offers step by step method to create broker configuration.

Example configuration,

Dg configuration : 12c
Primary db_unique_name : boston
Standby db_unique_name : chicago

SOLUTION

1. Prerequisits,

Start the Dataguard broker DMON process.

On Primary and Standby,

SQL> alter system set dg_broker_start=true sid='*';

2. Connect to DGMGRL

Primary,

$dgmgrl
DGMGRL>connect sysdg
password: *****

3. Create configuration,

DGMGRL> CREATE CONFIGURATION '<configuration name>' AS PRIMARY DATABASE


IS '<primary db_unique_name>' CONNECT IDENTIFIER IS <primary connect
string>;
ex,

DGMGRL> CREATE CONFIGURATION '12c' AS PRIMARY DATABASE IS 'boston'


CONNECT IDENTIFIER IS boston;

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=ooymh0edf_395&id=1583588.1 1/4
4/10/2017 Document 1583588.1

NOTE : If create configuration fails with ORA-16698 refer to


Note 1582179.1: Create Configuration Failing with ORA-16698

Verify configuration,

DGMGRL> show configuration;

Configuration - 12c

Protection Mode: MaxPerformance


Databases:
boston - Primary database

Fast-Start Failover: DISABLED

Configuration Status:
DISABLED

4. Add Standby,

DGMGRL> add database <standby db_unique_name> as connect identifier is


<standby connect string>;
ex,

DGMGRL> add database chicago as connect identifier is chicago;

DGMGRL> show configuration;

Configuration - 12c

Protection Mode: MaxPerformance


Databases:
boston - Primary database
chicago - Physical standby database

Fast-Start Failover: DISABLED

Configuration Status:
DISABLED

5. Enable Configuration,

DGMGRL> enable configuration;

6. Verify configuration,

DGMGRL> show configuration;

Configuration - 12c

Protection Mode: MaxPerformance


Databases:
boston - Primary database
chicago - Physical standby database

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=ooymh0edf_395&id=1583588.1 2/4
4/10/2017 Document 1583588.1

Fast-Start Failover: DISABLED


Configuration Status:
SUCCESS

DGMGRL> show database boston;

Database - boston

Role: PRIMARY
Intended State: TRANSPORT-ON
Instance(s):
boston

Database Status:
SUCCESS

DGMGRL> show database chicago;

Database - chicago

Role: PHYSICAL STANDBY


Intended State: APPLY-ON
Transport Lag: 0 seconds (computed 1 second ago)
Apply Lag: 0 seconds (computed 1 second ago)
Apply Rate: 2.54 MByte/s
Real Time Query: ON
Instance(s):
chicago

Database Status:
SUCCESS

Dataguard configuration details recorded in binary file,

SQL> show parameter config

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
dg_broker_config_file1 string /u01/app/oracle/product/12.1.0
/dbhome_1/dbs/dr1boston.dat
dg_broker_config_file2 string /u01/app/oracle/product/12.1.0
/dbhome_1/dbs/dr2boston.dat

Dataguard Broker Supports Far/Fast SYNC Standby

FSFO supports Far sync standby.

DGMGRL>add far_sync <db_unique_name> as connect identifier is <connect string>;


DGMGRL>enable far_sync <db_unique_name>;

To Edit the far sync instance property,

DGMGRL>EDIT FAR_SYNC far_sync_instance_name SET/RESET PROPERTY property-name;

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=ooymh0edf_395&id=1583588.1 3/4
4/10/2017 Document 1583588.1

Fast SYNC Standby

DGMGRL>edit database <name> set property Logxptmode = FastSync;

Configures REDO transport with SYNC NOAFFIRM

REFERENCES

NOTE:1582179.1 - Create Configuration Failing with ORA-16698


Didn't find what you are looking for?

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=ooymh0edf_395&id=1583588.1 4/4

You might also like