background image
<< Snapshot drive associated | Volume mount information >>
<< Snapshot drive associated | Volume mount information >>

Oracle on the AIX OS Scripts

Oracle on the AIX OS Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B-14
Remote Mirroring of an Oracle Database Using Data Replicator Software
echo "`expr $((COUNTER+1))` - ${VC_TMP[$COUNTER]}"
COUNTER=$((COUNTER+1))
done
COUNTER=0
while (( COUNTER < MIRROR_NUM )); do
STATUS=1
while (( STATUS != 0 )); do
echo "\nEnter the number of the target drive for
Snapshot $B3${VOL_SP[$COUNTER]}$EB: [`tput sc` ]\b\b\c"
read CHOICE
while (( CHOICE == 0 || CHOICE > ${#VC_TMP[*]} )); do
echo "Invalid number, please re-enter.`tput
rc``tput cuu 1`\c"
read CHOICE
done
CHOICE=$((CHOICE-1))
VOL_VC[$COUNTER]=${VC_TMP[$CHOICE]}
echo "$B3${VOL_SP[$COUNTER]}$EB will be copied
to: $B2${VOL_VC[$COUNTER]}$EB"
prompt_usr
STATUS=$?
if (( STATUS == 0 )); then
COUNTER=$((COUNTER+1))
fi
done
done
ANS=N
while [[ $ANS != 'Y' ]]; do
echo "\nPlease select the priority level to use when
establishing Volume"
echo "Copies. ${B3}STRONGLY RECOMMEND USING
\"HIGHEST\"!${EB}\n"
select VC_PRIORITY in HIGHEST HIGH MEDIUM LOW LOWEST
do
case $VC_PRIORITY in
HIGHEST)
echo "\nSet Volume Copy Priority to
${B2}HIGHEST${EB}? (Y on N) [ ]\b\b\c"
read ANS
break ;;
HIGH)
echo "\nHighly recommend using HIGHEST"
echo "Set Volume Copy Priority to ${B2}HIGH${EB}?
(Y on N) [ ]\b\b\c"
read ANS