background image
<< Moving Critical Oracle Files to Volumes | Putting the Database in Backup Mode >>
<< Moving Critical Oracle Files to Volumes | Putting the Database in Backup Mode >>

Starting the Database Mirroring

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Starting the Database Mirroring
Remote Mirroring of an Oracle Database Using Data Replicator Software
5-3
2
Create soft links for the PFILE file and the SPFILE file.
a
Type the following commands to move PFILE and SPFILE to the pfile
directory.
$ mv $ORACLE_HOME/dbs/spfileesgdb.ora $ORACLE_BASE/admin/
esgdb/pfile
$ mv $ORACLE_HOME/dbs/initesgdb.ora $ORACLE_BASE/admin/
esgdb/pfile
b
Type the following commands to create links for PFILE and SPFILE.
$ ln -s $ORACLE_BASE/admin/esgdb/pfile/spfileesgdb.ora
$ORACLE_HOME/dbs/spfileesgdb.ora
$ ln -s $ORACLE_BASE/admin/esgdb/pfile/initesgdb.ora
$ORACLE_HOME/dbs/initesgdb.ora
c
Type the following command to verify the new links.
$ ls -l $ORACLE_HOME/dbs/*.ora
The new links are shown.
lrwxrwxrwx 1 oracle oinstall 43 Sep 25 12:05 /app/oracle/
oracle/product/10.2.0/db_1/dbs/initesgdb.ora -> /app/oracle/
admin/esgdb/pfile/initesgdb.ora
lrwxrwxrwx 1 oracle oinstall 45 Sep 25 12:04 /app/oracle/
oracle/product/10.2.0/db_1/dbs/spfileesgdb.ora -> /app/
oracle/admin/esgdb/pfile/spfileesgdb.ora
NOTE
Included in the
./goodies
directory is a script to automate this process
move_ora_admin_files.ksh
, which will prompt for the current
locations and then move and create links for the files specified above.
Starting the Database Mirroring
A four-step process updates the remote host's volumes. These steps are shown in the
process flow diagram on page
3-3
and page
3-4
.