Connecting Oracle 11G R2 ASM Instances

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.