Connecting oracle 11g r2 asm instances when you start connecting to ASM, the 10G approach is not connected to the ASM connection is idle instance [[email protected] ~]# su - oracle[[email protected] ~]$ export oracle_sid=+asm2[[email protected] ~]$ sqlplus / as sysdbasql*plus: release 11.2.0.3.0 Production on Wed May 16 18:23:39 2012Copyright (c) 1982, 2011, oracle. all rights reserved. Connected to an idle instance. After viewing the data, 11G connection asm and 10G still have changes, need to switch to grid user settings Oracle_home re-connect [[Email protected] ~]$ su - grid password: [[Email protected] ~]$ oraenv oracle_ Sid = [+asm2] ? the oracle base remains unchanged with value /u01/app/grid[[email protected] ~]$ sqlplus / as sysdbasql* Plus: release 11.2.0.3.0 production on&nbSp wed may 16 18:35:35 2012copyright (c) 1982, 2011, Oracle. All rights reserved. connected to:oracle database 11g enterprise edition release 11.2.0.3.0 - 64bit ProductionWith the Real Application Clusters and automatic storage management optionssql> show parameter sganame TYPE value------------------------------------ ----------- ---------------- --------------lock_sga boolean & nbsp; falsesga_max_size big integer 568msga_target big integer 0sql> select instance _name from v$instance;instance_name----------------+asm2sql>
This article is from the "O Record" blog, so be sure to keep this source http://evils798.blog.51cto.com/8983296/1420887