background image
<< undo_move_admin_files | Admin directory >>
<< undo_move_admin_files | Admin directory >>

init.ora file

Oracle on the AIX OS Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B-60
Remote Mirroring of an Oracle Database Using Data Replicator Software
else
echo "${B3}WARNING${EB} No init.ora file exists at
$ORACLE_HOME/dbs/init${ORACLE_SID}.ora"
echo "Skipping init.ora file."
fi
echo "\n\t\t\tOld location\t\t\t\tNew location"
echo "\t\t\t------------\t\t\t\t------------"
ls -ld $ORACLE_HOME/admin/$ORACLE_SID | awk -F' ' '{print $1"
"$9" "$10" "$11}'
ls -l $ORACLE_HOME/dbs/init${ORACLE_SID}.ora | awk -F' ' '{print
$1" "$9" "$10" "$11}'
ls -l $ORACLE_HOME/dbs/spfile${ORACLE_SID}.ora | awk -F' '
'{print $1" "$9" "$10" "$11}'
echo "\nDone -- ${B2}STATUS=0${EB}\n"
exit 0
./goodies/undo_move_admin_files.ksh
#!/bin/ksh
#--------------------------------------------------
# Created by LSI Logic, all rights reserved.
# File: undo_move_admin_files.ksh
# Author: R. Paxton
# Date: 02/14/2007
#--------------------------------------------------
#
#-------------------------------------------------------------
# This file is used to undo the move_ora_admin_files.ksh script.
# This file will move the directories and files back to their
# original locations.
#-------------------------------------------------------------
typeset -u ANS
B0=`tput smso`
B1=`tput setaf 1``tput setab 0`
B2=`tput setaf 2``tput setab 0`
B3=`tput setaf 3``tput setab 0`
EB=`tput sgr0`
clear
if [[ `whoami` != "oracle" ]]; then
echo "This file must be run on the primary database host as
'oracle' user."
echo "${B1}Exit=9${EB}\n"
exit 9
fi