oraenv and ASM instance

  • From: "S. Anthony Sequeira" <tony@xxxxxxxxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Fri, 10 Aug 2007 14:16:00 +0100 (BST)

Hi,

Something that has been bothering me for a while.  I know it's no
biggie, just a bit of a pain.

I cannot use oraenv to change the default instance to the +ASM
instance,  I haven't the time to go through and fix the script, just
wondering whether anyone has done so.

$ cat /var/opt/oracle/oratab
+ASM:/u01/app/oracle/product/10.2.0/ASM:Y
testbed:/u01/app/oracle/product/10.2.0/Db_1:Y
mpnfdb:/u01/app/oracle/product/8.1.7:N
*:/u01/app/oracle/product/9.2.0:N
$ . oraenv
ORACLE_SID = [tsequeira] ? +ASM
ORACLE_HOME = [/export/home/oracle] ?
$ . oraenv
ORACLE_SID = [+ASM] ? '+ASM'
ORACLE_HOME = [/export/home/oracle] ?
$ . oraenv
ORACLE_SID = ['+ASM'] ? "+ASM"
ORACLE_HOME = [/export/home/oracle] ?
$ . oraenv
ORACLE_SID = ["+ASM"] ? \+ASM
ORACLE_HOME = [/export/home/oracle] ?
$
-- 
Tony

--
//www.freelists.org/webpage/oracle-l


Other related posts: