background image
<< Processing log and trace files | Defined functions >>
<< Processing log and trace files | Defined functions >>

Shutdown Oracle database

Oracle on the AIX OS Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B-40
Remote Mirroring of an Oracle Database Using Data Replicator Software
exit 2
else
echo `date +%T`" No Errors detected...GOOD!" >> $LOG
echo "No errors or warnings detected...${B2} GOOD! ${EB}"
fi
echo "\nerm.ksh script log file is ${B2}$LOG${EB}\n"
echo "DONE! -- Have a great day!\n"
exit 0
#---------
# DONE
#---------
erm.conf
###############################
# Primary Host Parameters #
###############################
PRI_HOST=darien
PRI_SCRIPT_DIR=/opt/LSI_ERM
PRI_LOG_DIR=$PRI_SCRIPT_DIR/logs
PRI_SUBSYSTEM=xbb_primary_AIX
###############################
# Remote Host Parameters #
###############################
RMT_HOST=ally
RMT_SCRIPT_DIR=/opt/LSI_ERM
RMT_LOG_DIR=$RMT_SCRIPT_DIR/logs
RMT_SUBSYSTEM=xbb_secondary_AIX
###############################
# Database Parameters #
###############################
DB_TYPE=oracle
PRI_DB_ID=oracle
ORA_ORATAB=/etc
ORA_SID=oradb
ORA_HOME=/opt/oracle/product/10.2.0
ORA_BASE=/opt/oracle
ORA_DUMP=/opt/oracle/product/10.2.0/admin/oradb/udump
###############################
# Miscellaneous Parameters #
###############################
MIRROR_NUM=3
VC_PRIORITY=HIGHEST
B1= [31m [40m
B2= [32m [40m
B3= [33m [40m
EB= [0m