background image
<< Shutdown Oracle database | Check status of database >>
<< Shutdown Oracle database | Check status of database >>

Defined functions

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
./.remote/oracle/db_stop
Remote Mirroring of an Oracle Database Using Data Replicator Software
B-41
####################################
# Logical Drive Group 1 Parameters #
####################################
VOL_MR[0]=erm_data_mirror
VOL_FC[0]=erm_data_mirror_fc
VOL_VC[0]=erm_data_vc
VOL_HD[0]=hdisk2
VOL_MNT[0]=/db2/data
VOL_TYP[0]=SYNC
####################################
# Logical Drive Group 2 Parameters #
####################################
VOL_MR[1]=erm_log01_mirror
VOL_FC[1]=erm_log01_mirror_fc
VOL_VC[1]=erm_log01_vc
VOL_HD[1]=hdisk3
VOL_MNT[1]=/db2/log01
VOL_TYP[1]=SYNC
####################################
# Logical Drive Group 3 Parameters #
####################################
VOL_MR[2]=erm_log02_mirror
VOL_FC[2]=erm_log02_mirror_fc
VOL_VC[2]=erm_log02_vc
VOL_HD[2]=hdisk4
VOL_MNT[2]=/db2/log02
VOL_TYP[2]=SYNC
./.remote/oracle/db_stop
#!/bin/ksh
#------------------------------------------------------------
# Created by LSI Logic, all rights reserved.
# File: db_stop (for the remote host)
# Author: J. Koopmann
# Date: 10/01/06
# Last Update: 02/15/07 - rlp
#------------------------------------------------------------
#------------------------------------------------------------
# shutdown 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_stop <CFG_FILE> <TIME_STAMP>"