Create a Standby Database on a Different Host with the Instance Configured

The following procedure describes the steps involved in creating a standby database on a different host with the instance configured.

Before You Begin

For Oracle 10g or higher, ensure that you set the Standby Role Initialization parameter, DB_FILE_NAME_CONVERT,to add all the temp data files from the primary database location to the standby database location, as follows:

DB_FILE_NAME_CONVERT='<primary_database_temp_datafile_old _location>','<standby_database_temp_datafile_new_location>'

If this parameter is not set, restore will fail with the following error message:

temporary file TEMP01.DBF conflicts with file used by target database

Required Capability: See Capabilities and Permitted Actions

wedge.gif (136 bytes)To create a standby database on a different host with the instance configured:

  1. From the CommCell Console, right-click the source host instance then select All Tasks -> Restore.
  2. From the Oracle Restore Options (General) dialog box, select the Duplicate DB checkbox and enter the Catalog Connect string, then click Advanced.
  3. Click the Duplicate DB Options tab, select the Duplicate For Standby option then enter the Oracle System Identifier for the standby database in the Oracle SID field. Optionally, you may configure any of the following options as desired:
  4. Click the Recover tab, then select the appropriate recover option.
  5. Click the Redirect tab, then choose one of the following and click OK:
  6. Select any other applicable options in the Oracle Duplicate Options dialog box, then click OK.
  7. Begin or schedule the restore. Once you entered the standby database name and selected the destination computer name, take a look at the database state and ensure that the standby database is in NOMOUNT mode then click Yes to continue.
  8. Verify that the restore completed successfully and that the database is restored to the destination host. If you selected the Recover option verify that the database is consistent.
  9. Once the job is completed, the new database will be on MOUNT mode for the standby database. If the user require to enable log shipping, execute the following sql command:

    Alter database recover managed standby database disconnect;