Veritas FlashSnap Point-In-Time Copy Solutions 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
for i in ′echo $vollist′
do
umount /bak/$i
done
# Deport snapshot volume disk group.
vxdg deport $snapvoldg
echo “do_backup over”
echo “\007 \007 \007 \007 \007 \007”
Script to create an off-host replica Oracle database
Use this script to create an off-host replica Oracle database.
#!/bin/ksh
#
# script: create_dss.sh <dbnode>
#
# Sample script to create a replica Oracle database on an OHP host.
#
# Note: This is not a production level script, its intention is to help
# you understand the procedure and commands for implementing
# an off-host point-in-time copy solution.
export ORACLE_SID=dbase
export ORACLE_HOME=/oracle/816
export PATH=$ORACLE_HOME/bin:$PATH
dbnode=$1
localdg=localdg
dbasedg=dbasedg
snapvoldg=snapdbdg
vollist=”dbase_vol”
snapvollist=”snap_dbase_vol”
volsnaplist=”snap_dbase_vol source=dbase_vol”
exit_cnt=0
arch_loc=/archlog
rep_mnt_point=/rep
# Put the Oracle database in hot-backup mode;
# see the backup_start.sh script for information.
91Files and scripts for sample scenarios
Script to create an off-host replica Oracle database