Volume mount information
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
erm_setup.ksh
Remote Mirroring of an Oracle Database Using Data Replicator Software
B-15
break ;;
MEDIUM)
echo "\nAre you sure? (This may take a LONG time
to establish the copies)"
echo "Set Volume Copy Priority to ${B3}MEDIUM${EB}?
(Y on N) [ ]\b\b\c"
read ANS
break ;;
LOW)
echo "\nYou really do NOT want to set this to LOW!"
echo "Set Volume Copy Priority to ${B1}LOW${EB}?
(Y on N) [ ]\b\b\c"
read ANS
break ;;
LOWEST)
echo "\nYou really do NOT want to set this to
LOWEST!"
echo "This may take DAYS to establish the copies!"
echo "Set Volume Copy Priority to ${B1}LOWEST${EB}?
(Y on N) [ ]\b\b\c"
read ANS
break ;;
*)
echo "Invalid option, please select again."
break ;;
esac
done
done
#-------------------------------
# Get volume copy mount points
#-------------------------------
echo "\n\n${B1}VOLUME MOUNT INFORMATION:${EB}\n"
COUNTER=0
while (( COUNTER < MIRROR_NUM )); do
STATUS=1
while (( STATUS != 0 )); do
echo "Enter the mount point for Volume Copy
$B3${VOL_VC[$COUNTER]}$EB: [`tput sc` ]`tput rc`\c"
read VOL_MNT[$COUNTER]
echo "\n`lspv`"
echo "\nEnter the associated physical disk NUMBER
for this Snapshot. [ ]\b\b\c"
read TMP_HDISK
VOL_HD[$COUNTER]="hdisk$TMP_HDISK"
echo "\n`lspv -l hdisk$TMP_HDISK 2>/dev/null |
tail -2`"