Script for sourcing environment for multiple SID’s sharing same HOME

Below is simple script i created to set environment in RAC nodes & instances sharing same oracle_home.

export ORACLE_HOME=/oracle
export PATH=$ORACLE_HOME/bin:$PATH
echo ” “
echo ” “
echo “Please Enter SID : +ASM1 / RAC1 “
read SID
export ORACLE_SID=$SID
echo ” “
echo ” Environment set for $SID “
echo ” “
echo ” `env|grep ORACLE_SID` “
echo ” “

Advertisement

About leenus2b

Lohman Castings, Pioneers in Cast Iron, Steel, Nickel-Chromium and many other types of Castings manufacturers. An ISO:9001-2000 Certified Company
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s