On The Way to Absolute Truth
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment