clicksor ad

Friday, January 13, 2006

Oracle RAC (Real Application Clusters)

.profile
# @(#)local.profile 1.8 99/03/26 SMI
stty istrip
PATH=/usr/bin:$ORACLE_HOME/bin:.
export PATH
#echo $PATH
#
# If possible, start the windows system
#
if [ "`tty`" = "/dev/console" ] ; then
if [ "$TERM" = "sun" -o "$TERM" = "sun-color" -o "$TERM" = "AT386" ]
then

if [ ${OPENWINHOME:-""} = "" ] ; then
OPENWINHOME=/usr/openwin
export OPENWINHOME
fi

echo ""
echo "Starting OpenWindows in 5 seconds (type Control-C to inter
rupt)"
sleep 5
echo ""
$OPENWINHOME/bin/openwin

clear # get rid of annoying cursor rectangle
exit # logout after leaving windows system

fi
fi
ORACLE_HOME=
export ORACLE_HOME
ORACLE_HOME=/oracle/oracleapp/product/9.2.0.1.0
export ORACLE_HOME
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
export NLS_LANG
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export ORA_NLS33
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/openwin/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/dt/lib:/usr/ucblib:/usr/local/lib
export LD_LIBRARY_PATH
ORACLE_TERM=xterm
export ORACLE_TERM
ORACLE_SID=icai1
export ORACLE_SID


umask 022
PATH=$PATH:/bin:/usr/bin:/usr/sbin:/opt/bin:/usr/ccs/bin::/usr/ucb/:/opt/local/G
NU/bin
PATH=$PATH:/opt/local/bin:/opt/NSCPnav/bin:$ORACLE_HOME/bin
PATH=$PATH:/usr/local/samba/bin:/usr/ucb:/usr/local/bin:.
export PATH

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
DBCA_RAW_CONFIG=/oracle/oracleapp/product/9.2.0.1.0/dbcainfo
export DBCA_RAW_CONFIG

CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
#echo $CLASSPATH
#echo $PATH
export CLASSPATH PATH
$



The raw files are linked to the database files on this file
dbcainfo
system=/dev/vx/rdsk/racdg/orcl_raw_system01
spfile=/dev/vx/rdsk/racdg/orcl_raw_spfile
users=/dev/vx/rdsk/racdg/orcl_raw_users
temp=/dev/vx/rdsk/racdg/orcl_raw_temp01
undotbs1=/dev/vx/rdsk/racdg/orcl_raw_undotbs1
undotbs2=/dev/vx/rdsk/racdg/orcl_raw_undotbs2
example=/dev/vx/rdsk/racdg/orcl_raw_example
cwmlite=/dev/vx/rdsk/racdg/orcl_raw_cwmlite
indx=/dev/vx/rdsk/racdg/orcl_raw_indx01
tools=/dev/vx/rdsk/racdg/orcl_raw_tools
drsys=/dev/vx/rdsk/racdg/orcl_raw_drsys
control1=/dev/vx/rdsk/racdg/orcl_raw_controlfile1
control2=/dev/vx/rdsk/racdg/orcl_raw_controlfile2
redo1_1=/dev/vx/rdsk/racdg/orcl_raw_log11
redo1_2=/dev/vx/rdsk/racdg/orcl_raw_log12
redo2_1=/dev/vx/rdsk/racdg/orcl_raw_log21
redo2_2=/dev/vx/rdsk/racdg/orcl_raw_log22
data=/dev/vx/rdsk/racdg/orcl_raw_data
odm=/dev/vx/rdsk/racdg/orcl_raw_odm
xdb=/dev/vx/rdsk/racdg/orcl_raw_xdb

















































































No comments: