Wednesday, April 11, 2007

exporting the oracle sid within unix id on cluster when they share the filesystem

#!/usr/bin/ksh
hs=$HOST
echo $hs
case $hs in
sun1)export ORACLE_SID=ABC1;
echo $ORACLE_SID;;
sun2)export ORACLE_SID=ABC2;
echo $ORACLE_SID;;
*)echo Not a valid host
esac

No comments: