background image
<< Display while during operations | Hard coded >>
<< Display while during operations | Hard coded >>

Any Flash Copies

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The
sun_erm_setup.ksh
Script
Remote Mirroring of an Oracle Database Using Data Replicator Software
C-33
# GENERAL INFORMATION #
###########################
clear
if [[ `id |grep -c 'uid=0('` != 1 ]]; then
echo "${B1}ERROR!${EB}\n"
echo "\tThis script must be run as root user and should
also be executed on the"
echo "\tremote host. Additionally, you should have already
defined your 'Metro"
echo "\tMirrors', 'Global Mirrors', 'Global Copies' and
any 'Flash Copies' that"
echo "\tyou will utilize with the erm.ksh script."
echo "\n\nPress Enter to Exit NOW! \c"
read BLANK
exit 1
else
echo "This script will prompt for all the necessary
variables that will be needed"
echo "for the sun_erm.ksh shell script to operate
successfully. This script"
echo "should be executed on the ${B3}REMOTE${EB} host
system ${B3}AFTER${EB} the subsystems have been"
echo "configured for the specific type of mirroring that
will be used in this"
echo "environment."
echo "\nIn other words, all mirrors should already be
defined on the subsystems"
echo "that will be used. Along with any Flash Copies
that may also be utilized"
echo "during the erm.ksh shell script execution. This
script will read-in"
echo "various information from your environment including
lists of available"
echo "subsystems, logical drives, Flash Copies, etc. If
they are defined already,"
echo "you will not need to type them in. It they are not
defined you will have"
echo "to manually enter the values and ${B3}MAKE SURE
THEY MATCH${EB} after you create"
echo "them on the subsystems."
echo "\n\nPress Enter to continue. \c"
read BLANK
fi
clear
###############################
# PRIMARY HOST INFORMATION #
###############################
echo "${B1}PRIMARY HOST INFORMATION:${EB}\n"