一、 概要步骤
有了以下的INIT。ORA文件,再按照这里的步骤执行就简单多了。
Task Procedure
1 Either make a new backup of the primary database datafiles or access an old backup.
Creating the Standby Datafiles
2 Connect to the primary database and create the standby control file.
Creating the Standby Control File
3 Copy the backup datafiles and control filefrom the primary site to the standby site.
Transferring Files to the Standby Site
4 Create a service name for the standby database.
Configuring the tnsnames.ora File on the Primary Site
5 Configure the listener on the standby site so that it can receive the archived redo logs from the primary site.
Configuring the listener.ora File on the Standby Site
6 Set the initialization parameters for the primary database.
Configuring the Primary Database Initialization Parameter File
7 Create the standby initialization parameter file and set the initialization parameters for the standby database. Depending on your configuration, you may need to set filename conversion parameters.
Configuring the Standby Database Initialization Parameter File
8 Start the standby instance and mount the standby database.
Starting the Standby Instance
9 Manually change the names of the primary datafiles and redo logs in the standby control file for all files not automatically renamed using DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT in step 7. If step 7 renamed all files, skip this step.
Manually Renaming Standby Files Not Captured by Conversion Parameters
10 Manually enable initialization parameter changes on the primary database so that it can initiate archival to the standby site.
Enabling Changes to the Initialization Parameter Settings