background image
<< Stopping Mirrored Remote Database | Creating a Snapshot >>
<< Stopping Mirrored Remote Database | Creating a Snapshot >>

Putting the Database in Backup Mode

Oracle on the Linux Red Hat OS Configuration for Remote Volume Mirroring . . . . . . . . . . . . . . . . .
6-4
Remote Mirroring of an Oracle Database Using Data Replicator Software
This command invokes the
db_stop
script with the parameters shown in
Table 6-1
.
If the database is online, the db_stop script shuts down the remote database with the SHUTDOWN
ABORT
command.
Putting the Database in Backup Mode
To put the primary database in backup mode, type the following command to invoke the
db_suspend
script.
db_suspend $PRI_DB_ID $ORA_SID $ORA_HOME $ORA_DUMP $LOG $TRACE
$PRI_SCRIPT_DIR $PRI_HOST
This command invokes the
db_suspend
script with the parameters shown in
Table 6-2
.
Table 6-1
db_stop
Script Parameters
Parameter
Definition
$PRI_DB_ID
Owner of the Oracle software installation
$ORA_SID
Same as
$ORACLE_SID
$ORA_HOME
Same as
$ORACLE_HOME
$ORA_DUMP
The
user_dump_dest
directory
$LOG
The log directory
$TRACE
The trace directory
$RMT_SCRIPT_DIR
The base script directory for the RVM Solution
$ORA_BASE
Same as
$ORACLE_BASE
Table 6-2
db_suspend
Script Parameters
Parameter
Definition
$PRI_DB_ID
Owner of the Oracle software installation
$ORA_SID
Same as
$ORACLE_SID
$ORA_HOME
Same as
$ORACLE_HOME
$ORA_DUMP
The
user_dump_dest
directory
$LOG
The log directory
$TRACE
The trace directory
$PRI_SCRIPT_DIR
The base script directory for the RVM Solution
$PRI_HOST
The primary host name