Veritas FlashSnap Point-In-Time Copy Solutions 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009

5
Mount the redo log and archive log volumes on their respective mount points
using the following command:
# mount -F vxfs /dev/vx/dsk/diskgroup/volume mount_point
In this example, the commands would be:
# mount -F vxfs /dev/vx/dsk/localdg/rep_dbase_logs \
/rep/dbase_logs
# mount -F vxfs /dev/vx/dsk/localdg/rep_dbase_arch \
/rep/dbase_arch
6
As the Oracle database administrator on the primary host, obtain an ASCII
version of the current Oracle control file using the following SQL command:
alter database backup controlfile to trace;
This command writes a text version of the control file to the directory
$ORACLE_HOME/admin/dbase/udump.
See Text control file for original production database on page 100.
7
Modify the text version of the control file created in the previous step as
described below to create a new SQL script to set up the replica database:
If required, change the locations defined under LOGFILE for the log files.
For example, change lines of the form:
GROUP N ’/dbase_vol/logN’ SIZE 52428288,
so that they read:
GROUP N ’/rep/dbase_vol/logN’ SIZE 52428288,
If required, change the locations defined under DATAFILE for the
tablespaces. For example, change lines of the form:
’/dbase_vol/table’,
so that they read:
’/rep/dbase_vol/table’,
If required, change the following line:
CREATE CONTROLFILE REUSE DATABASE "odb" NORESETLOGS \
ARCHIVELOG
so that it reads:
99Preparing a replica Oracle database
About preparing a replica Oracle database