Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Data Guard Create Configuration Tips

Oracle Database Tips by Donald BurlesonDecember 9, 2015

Oracle Data GuardChapter 8 - Data Guard Broker

Data Guard Configuration Management

CREATE CONFIGURATION 'appsconfig' AS
PRIMARY DATABASE IS 'appsdb'
CONNECT IDENTIFIER IS 'appsprimary';

The PRIMARY DATABASE identifier should match the initialization parameter db_unique_name, exactly.

After creating a configuration, the next step is to add sites to the configuration. This is achieved by using the CREATE SITE statement for Oracle9i and ADD DATABASE for Oracle10g. Usage of the CREATE SITE statement is similar to the CREATE CONFIGURATION statement, except that the primary site name does not have to be specified. This statement does not require the name of the configuration, which implies that there can only be one configuration per primary site.

The following script shows an example of adding a site in the configuration. These statements should be executed after connecting to the primary database using DGMGRL. Here is the statement as it would appear in Oracle9i syntax.

CREATE SITE 'stdbydb' RESOURCE IS 'stdbydb' HOSTNAME IS 'jrpr02'
INSTANCE NAME IS 'stdbydb' SERVICE NAME IS 'appsstdby'
SITE IS MAINTAINED AS PHYSICAL;

Here is it as it would appear in Oracle10g Syntax:

ADD DATABASE 'stdbydb'
CONNECT IDENTIFIER IS 'appsstdbydb'
MAINTAINED AS PHYSICAL;

The keyword MAINTAINED AS identifies the present type of database and not the type it will assume after switchover. In the above example, the standby site added to the configuration is a physical standby database.

By default, a newly created configuration will be in a disabled state. The configuration will have to be enabled so that the Data Guard broker can manage it. The ENABLE CONFIGURATION statement can be used to enable a configuration and all of its dependents. The syntax is identical for Oracle9i and Oracle10g. Similarly, the DISABLE CONFIGURATION statement can be used to disable a configuration and all the sites and databases included in the configuration.

A configuration can be completely removed using the REMOVE CONFIGURATION statement.

Data Guard broker writes its log file in the location specified by the background_dump_dest initialization parameter. In addition to the DMON process log file, there will be a drc<primary site>.log file, which contains detailed messages regarding the Data Guard broker.

 


The above text is an excerpt from the book: Oracle Data Guard Handbook


��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.