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 


 

 

 


 

 

   
 

Starting a standby database tips

Oracle Database Tips by Donald BurlesonDecember 3, 2015

 

Implementing Standby Databases

Starting the Data Guard Standby Database

The primary database must then be restarted for the new parameters to take effect, or alternatively issue the alter system statements on the primary database to enable the new archive log parameters. Connect as SYSDBA and execute the following statements:

ALTER SYSTEM SET LOG_ARCHIVE_DEST_2="SERVICE=STDBY2";

ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2 = ENABLE;

Then, start the Oracle instance in managed recovery mode using the following commands:

STARTUP NOMOUNT;
ALTER DATABASE MOUNT STANDBY DATABASE;
ALTER DATABASE RECOVER MANAGED Oracle instance DISCONNECT FROM SESSION;

To verify the standby database, check the alert log file for the standby and the primary database. The details about the alert log files and other methods of verification are the same as provided in the section called "On a Remote Host Machine".

Accommodating the Difference in Directory Structure between the Primary and Standby Sites

It may not always be possible to configure two host machines to have the same directory structure. If a standby database is being created and the directory structure on the primary host is different from that on the standby host, the db_file_name_convert and log-file_name_convert parameters on the standby site will have to be set to accommodate the change in directory structure.

 

Accommodating the Difference in Directory Structure between the Primary and Standby Sites

The process of creating and starting the Oracle instance remains largely the same as explained in the previous two sections. Also, review the dump destinations in the initialization file to make sure that these directories exist on the standby host.

WARNING - Beware that all the difference in directory structure between the primary and standby site may not be accommodated by these two parameters. The ALTER DATABASE RENAME FILENAME statement may have to be used to reflect the filename changes in the control file.

It may not always be possible to have the same directory structure between the primary and the standby host, but in most cases the same directory structure can be simulated using soft links. Keeping the same directory structure eases the management and administration of the standby database, and scripts from the script library can be used without any modification, even if the scripts rely on directory structure.

 

 


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.