Database Reference
In-Depth Information
Parameter Name
Purpose
CONTROL_FILES
Identifies the location of the control files for the auxiliary
instance. This parameter is required unless you are using OMF.
DB_BLOCK_SIZE
Block size of the database to be created. This parameter is
required if the same parameter has been defined on the source
database.
DB_FILE_NAME_CONVERT
Contains pairs of strings that indicate the conversion path for
database files from the source database to the target database.
For example, if the parameter were set to '/ora01/oracle/
oradata','/ora02/oracle/oradata' , all files contained in /
ora01/oracle/oradata would be recreated on the duplicate
database in /ora02/oracle/oradata .
This parameter can also be defined as part of the call to the
RMAN DUPLICATE command.
LOG_FILE_NAME_CONVERT Contains pairs of strings that indicate the conversion path for
database redo-log files from the source database to the target
database. For example, if the parameter were set to '/ora01/
oracle/oradata','/ora02/oracle/oradata' , all online redo-log
files contained in /ora01/oracle/oradata would be recreated on
the duplicate database in /ora02/oracle/oradata .
This parameter can also be defined as part of the call to the
RMAN duplicate command.
5. Start the auxiliary instance.
The auxiliary instance should be ready to start at this time. To start it, simply connect
to the auxiliary instance from SQL*Plus and issue the STARTUP NOMOUNT command.
Once you are able to get the auxiliary instance started, you are ready to duplicate to it.
Duplicating Your Database
As mentioned previously, there are two different modes of database duplication: active
database duplication and backup-based database duplication. Both duplication methods are
achieved via the DUPLICATE DATABASE command. Let's examine the DUPLICATE DATABASE
command. Following that we will look at both database-duplication modes in more detail.
Connecting to RMAN for a Database Duplication
Before starting database duplication, you will need to start RMAN and connect to the correct
databases. When starting RMAN, you will need to connect to the following:
The target database
The auxiliary database
Search WWH ::




Custom Search