background image
<< Start Oracle database | Oracle dump areas >>
<< Start Oracle database | Oracle dump areas >>

Script changes may be required

Oracle on the AIX OS Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B-44
Remote Mirroring of an Oracle Database Using Data Replicator Software
echo "#--------------------------------------------------------
---------------------" >> $TRACE
exit $STATUS
./.remote/oracle/db_stop.sql
shutdown abort;
exit sql.sqlcode
./.remote/oracle/db_start
#!/bin/ksh
#------------------------------------------------------------
# Created by LSI Logic, all rights reserved.
# File: db_start
# Author: J. Koopmann
# Date: 10/01/06
# Last Update: 02/15/07 - rlp
#------------------------------------------------------------
#------------------------------------------------------------
# start Oracle database
#------------------------------------------------------------
# Arguments:
#
$1 = .conf file to read (typically erm.conf)
#
$2 = time stamp of current execution ($TIME_STAMP)
if [[ $# < 2 ]]; then
echo "Usage: db_start <CFG_FILE> <TIME_STAMP>"
echo "\t<CFG_FILE> = full path and name of .conf file to read-
in variables"
echo "\t<TIME_STAMP> = suffix to append to trace file"
exit 1
fi
# Source config file for variables
CFG_FILE=$1
. $CFG_FILE
TRACE=$RMT_LOG_DIR/${RMT_HOST}_${ORA_SID}_trace.$2
SCRIPT_DIR=$RMT_SCRIPT_DIR/.remote/oracle
ADMIN_DIR=$ORA_HOME/admin/$ORA_SID
#----------------------------
# Defined functions
#----------------------------
db_create_softlinks ()
{