Let's simulate a case where a datafile is lost by renaming one of the datafiles. Shut down the database, rename the datafile with the
mv
command, and start the database again. We'll see thecannot identify/lock data file
error on startup.SQL> shutdown immediate $ mv /u01/app/oracle2/datafile/ORCL/users01.dbf /u01/app/oracle2/datafile/ORCL/users01.dbf.old SQL> startup ORACLE instance started. Total System Global Area 1603411968 bytes Fixed Size 2213776 bytes Variable Size 872417392 bytes Database Buffers 671088640 bytes Redo Buffers 57692160 bytes Database mounted. ORA-01157: cannot identify/lock data file 4 - see DBWR trace file ORA-01110: data file 4: '/u01/app/oracle2/datafile/ORCL/users01.dbf'
Now we'll run an RMAN datafile backup using the standby database as the source and locating the backup file in the primary database. Connect the standby...
Oracle Data Guard 11gR2 Administration : Beginner's Guide
Oracle Data Guard 11gR2 Administration : Beginner's Guide
Overview of this book
Data Guard is the high availability, disaster recovery and data replication solution for Oracle Databases.
With the huge growth of Data Guard it's getting harder to encounter an Oracle DBA not dealing with Data Guard. Since it's a common DBA task to provide high availability of databases, Data Guard is a must-know topic for every Oracle Database Administrator."Oracle Data Guard 11g R2 Beginner's Administration Guide" is a practical guide that provides all the information you will need to configure and maintain Data Guard. This book will show you what Data Guard can really do.By following the practical examples in this book, you'll learn to set up your Data Guard Broker, the management framework for Data Guard configurations. Learn and implement different data protection modes, perform role transitions between databases (switchover and failover) and configure Active Data Guard. Next, we will dive into the features of Snapshot Standby. The book progresses into looking at Data Guard configuration with other Oracle products (such as EM, RAC, and RMAN) and patch databases in Data Guard. The final chapters will cover commonly encountered Data Guard issues and Data Guard best practices, which are very important to make a Data Guard configuration perfect and take maximum advantage of Data Guard properties.
Table of Contents (19 chapters)
Oracle Data Guard 11gR2 Administration Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Pop Quiz Answers
Free Chapter
Getting Started
Configuring the Oracle Data Guard Physical Standby Database
Configuring Oracle Data Guard Logical Standby Database
Oracle Data Guard Broker
Data Guard Protection Modes
Data Guard Role Transitions
Active Data Guard, Snapshot Standby, and Advanced Techniques
Integrating Data Guard with the Complete Oracle Environment
Data Guard Configuration Patching
Common Data Guard Issues
Data Guard Best Practices
Index
Customer Reviews