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

 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
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

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

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 









Data Guard

Donald K. Burleson

Oracle Data Guard Chapter 3 - Implementing Standby Databases

Oracle Net Configuration for Data Guard

For this text, assume that the Oracle Net is using the tnsnames.ora file for node identification. On the primary site, the tnsnames.ora file should be configured to include the service name for each of the standby databases.

The listener.ora file on the primary site does not require any modification as long as it has a listener for itself. Similarly, on the standby site the listener file will not require any change.

Configure the tnsnames.ora file on the standby site to include the service name for the primary database. This is required for gap resolution using the "fetch archive log" method. A sample tnsnames.ora file from the primary and the standby site is given in the following example.

tnsnames.ora file on the primary site:

# Standby DB identification on Primary Site

Oracle Net Configuration

stdby1 =
      (ADDRESS = (PROTOCOL = TCP)(HOST =  jrsp01  )(PORT = 1521))
      (SID = appsdb )

tnsnames.ora file on standby site

#Primary DB identification on Standby Site

primary1 =
      (ADDRESS = (PROTOCOL = TCP)(HOST =  jrpr01  )(PORT = 1521))
      (SID = appsdb )

Oracle Net Configuration

The host, port, and sid parameters of the tnsnames file for the primary database on the standby site should match the host, port, and sid parameters of the listener file for the primary database on the primary site.  Similarly, the tnsnames setting for the standby site on the primary database should match the listener setting for the Oracle instance on the standby site.

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.