ASM Instance registeration with LISTENER

Hi,
For the purpose of Oracle Security change, I wanted to add SECURE_REGISTER_LISTENER = (TCP) to the listener.ora file. Then, I need to stop and start the listener, and to get the database register with the listener, I am supposed to do ALTER SYSTEM REGISTER;
My question is:
How will I register the ASM instance with the listener, please?
is it same like registering database,i.e., ALTER SYSTEM REGISTER; while connecting with sys / as sysasm? will the ASM INSTANCE register dynamically?
DB=10.2.0.4 OS=RHL
[oracle@db ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Mon May 7 14:58:37 2012
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL> show parameter local_listener
NAME                         TYPE
VALUE
local_listener                    stringThank you.
Regards,

Hi,
Thanks.
After a change to listener.ora, when I start listener and register, will I be able to see the same as below (regarding +ASM)? Because all the services should be running after the change, rite?
LSNRCTL> services
Service "+ASM" has 1 instance(s).
  Instance "+ASM", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
         LOCAL SERVER
Service
- - - Regards
Edited by: John-M on May 7, 2012 6:45 AM
Edited by: John-M on May 7, 2012 11:22 AM

Similar Messages

  • ASM instance higher version

    Hi All
    I installed 11g infrastructure and ASM instance is created by default . Now I want to install 10g software . Can I use ASM instance 11g with 10g ORACLE_HOME and database or I need to install 10G ASM software and create ASM 10g instance ?
    Edited by: user12302159 on Nov 8, 2010 8:48 AM

    I have not tested it but it should be OK according to http://download.oracle.com/docs/cd/E11882_01/rac.112/e16794/intro.htm#CWADD1118:
    >
    Oracle ASM release 11.2 requires Oracle Clusterware release 11.2 and supports Oracle Database 11g release 2 (11.2), release 1 (11.1), Oracle Database 10g release 2 (10.2), and release 1 (10.1)

  • Identify an ASM instance

    Hi Experts,
    I have a short questions about ASM. I know that one ASM instance can be used by many RDBMS instances and disks/diskgroups in one ASM instance can be shared by different databases. But how can we set a database instance to use only one specific ASM instance when there are more than one ASM instances???
    That is, my question is, "How a database instance can identify different ASM instances, running on the same server, and how it can choose one of them to use for its database files?"
    Thanks in advance.

    user566817 wrote:
    Hi Experts,
    I have a short questions about ASM. I know that one ASM instance can be used by many RDBMS instances and disks/diskgroups in one ASM instance can be shared by different databases. But how can we set a database instance to use only one specific ASM instance when there are more than one ASM instances???
    That is, my question is, "How a database instance can identify different ASM instances, running on the same server, and how it can choose one of them to use for its database files?"I am not sure that it would be right to start many ASM instances as the name of the instance of asm should be +ASM and it just sounds complete absurd to try starting all the instances with the same name. There is no need to create many many instances of ASM. Still, a database doesn't go and 'discover" the asm instance. Its you who tells it to go to which disk group it should look for and if you have got different asm instances running with different names, with the specified disk group, your db would use the asm instance of that group only.
    I am not sure that my answer is correct or not as I have not seen any where more than one ams instance running. I shall wait for others to jump in and reply ( and correct me as well if I am wrong).
    HTH
    Aman....

  • Create a new user for oracle 10G ASM instance with sysdba system privilege

    Hi,
    In our Golden Gate Project, we require the SYS user credential to connect to the Oracle 10g  ASM instance to read the database transaction logs.But our client is not providing the SYS user credential to  connnect to ASM instance.
    I'm getting the error message "ORA-01109:  database not open",When I tried to create a new user using the  below the steps in oracle 10g ASM instance
    1. Login using "sqlplus / as sysdba"
    2. Create user <username> identified by <password>;
    But in oracle 11g ASM instance, I'm able to create new  user  by connecting the ASM instance with SYSASM role without issues.
    Is there is any workaround to create a new user with sysdba system privilege in oracle 10g ASM instance?.
    Thanks in advance .

    Hi,
    Recreate the password file for the ASM instance as follows:
    Unix:
    orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>
    Windows:
    orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>
    Now sys password is reset, we are ready to use sys for ASM management. I decided to create another user ASMDBA as I tried above.
    SQL> create user ASMDBA identified by test01;
    User created.
    SQL> grant SYSASM, SYSOPER to ASMDBA;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDBA SYSOPE SYSASM
    SYS TRUE TRUE TRUE
    ASMDBA FALSE TRUE TRUE
    Please see this link : http://orachat.com/how-to-change-asm-sys-password-creating-sysasm-user-11g/
    Thank you

  • Unable to create ASM instance in Sol 10 with oracle 10g

    Hi
    I am trying to create ASM instance in oracle 10g, getting an error will try to add localconfig add command
    "bash-3.00# /export/home/oracle/oracle/product/10.2.0/db_1/bin/localconfig add reset
    Failure at scls_scr_create with code 1
    Internal Error Information:
    Category: 1234
    Operation: scls_scr_create
    Location: mkdir
    Other: Unable to make user dir
    Dep: 2
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Configuration for local CSS has been initialized
    Adding to inittab
    /etc/init.d/init.cssd: /var/opt/oracle/scls_scr/Sun/root/cssrun: cannot create
    Startup will be queued to init within 30 seconds.
    Checking the status of new Oracle init process...
    Expecting the CRS daemons to be up within 600 seconds.
    Giving up: Oracle CSS stack appears NOT to be running.
    Oracle CSS service would not start as installed
    Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started "
    initcssd has been installed and unable to start also getting an error
    # svcs -x svc:/system/initcssd:default
    svc:/system/initcssd:default (system activity reporting package)
    State: maintenance since Wed Nov 16 10:39:29 2011
    Reason: Start method failed repeatedly, last exited with status 2.
    See: http://sun.com/msg/SMF-8000-KS
    See: sar(1M)
    See: /var/svc/log/system-initcssd:default.log
    Impact: This service is not running.
    Can some please help me to create this instance, alos need a initcssd.zip file for 10g

    Hi thanks,
    I have passed more steps, CSS is started after changing the hostname, after that I created two drive and mounted properly
    when I try to create a ASM disk its failing with following error and idea
    SQL> CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
    2 FAILGROUP controller1 DISK '/dev/dsk/c0d1s0'
    3 FAILGROUP controller2 DISK '/dev/dsk/c1d1s0';
    CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15031: disk specification '/dev/dsk/c1d1s0' matches no disks
    ORA-15025: could not open disk '/dev/dsk/c1d1s0'
    ORA-15056: additional error message
    Intel SVR4 UNIX Error: 13: Permission denied
    Additional information: 42
    Additional information: 134497888
    Additional information: -809278080
    ORA-15031: disk specification '/dev/dsk/c0d1s0' matches no disks
    ORA-15025: could not open disk '/dev/dsk/c0d1s0'
    ORA-27037: unable to obtain file status
    Intel SVR4 UNIX Error: 25: Inappropriate ioctl for device
    Additional information: 16
    Additional information: 134497888
    Additional information: -809278080

  • Shutdown ASM instance with database up???

    While reading through the Apex installation guide I ran across this statement:
    If Automatic Storage Management (ASM) is running, shut down all databases that
    use ASM except for the database where you will install Oracle Application
    Express, and then shut down the ASM instance.
    .... uh, leaving the one ASM based database up .. with the ASM instance itself shut down?
    Am I mis-reading? Or do I have a fundamental flaw in my understanding of the relationship of the ASM instance with the database instances?

    EdStevens wrote:
    Included .. but upgrades of Apex?
    Ed, upgrading Apex is fairly safe.
    However, do not merely rely on a datapump/export of the current Apex schema as backup, prior to installing the upgrade (creating a new schema). Reason: there are objects installed as SYS which will be overwritten by the upgrade, and not exported by the backup. [have an outstanding feature request filed with Apex team to fix this - there are no reasons for using SYS for app objects]
    Which is why I prefer a logical backup instead - an Apex export of apps and workspaces. This can be done via the command line. There is a Java program/jar for Apex that supports CLI access to automatically export all apps in all workspaces. I have a cron job that does this every night on all our databases as Apex apps are not made of the type of code one can checkout and edit from a traditional source code repository,
    What is not exported, is extra content such as images, custom style sheets and so on (static contents). But is it a better idea to have static contents served by the web server, rather than via a db server session.
    Apex is pretty kewl - one of the better web frameworks for Oracle that we've been using since Marvel/HTMLDB days. Some niggles. But overall an excellent product.

  • Edit listener from ASM instance in OEM

    Hi
    I've installed Oracle Grid Infrastructure for a standalone server, and next installed database 11g. I have ASM and orcl instances. Under ASM (in ORACLE_HOME/grid) I have listener (listener.ora file), and under orcl instance I have only tnsnames.ora (so I can connect by local naming). In OEM Database Control, in Net Services Administration I see only local names, but not listeners. So, can I edit listener from ASM instance in OEM Database Control?
    Thanks awfully for help.
    Regards

    Yes, you can use the Net Manager also to do the same but it should be started from the Grid Home and not from the Oracle Home.
    HTH
    Aman....

  • 11.2 Single Instance DB with ASM

    DB version:11.2.0.2
    OS : RHEL 5
    I want to create a single instance DB with ASM. I did a software only installation . In DBCA , i can't find an option to create Diskgroup through UI like we have in 10.2's DBCA. I will have to use ASMCA for this. But i think i'll have to install Grid Infrastructure for this. Is there alternative way of creating diskgroup through UI ?

    Hi
    I want to create a single instance DB with ASM. I did a software only installation . In DBCA , i can't find an option to create Diskgroup through UI like we have in 10.2's DBCA. I will have to use ASMCA for this. But i think i'll have to install Grid Infrastructure for this. Is there alternative way of creating diskgroup through UI ?You need to install first Grid Infrastructure with sotware only option to can use ASM
    Than you need to use asmca to create asm diskgroup
    Than you need to use install Oracle 11gR2 software only,than you can use dbca
    Regard
    Helios

  • ORA-00488: RBAL process terminated with error causing ASM instance to crash

    Hi Freinds,
    I am manging a three node ASM cluster on 10g(10.2.0.2).Yesterday I observed one of the ASM instance got crashed .On reviewing the Alert log of crashed ASM instance I found
    "*ORA-00488: RBAL process terminated with error*"
    and subsequently
    "*PMON: terminating instance due to error 488*".
    I could restart the crashed instance without an issues but I want to know what kind of event could lead to such scenario.
    I searched net and metalink but didn't found any helpful information.
    Did any of you faced similar issues and do you have understanding why and when it happens.
    Thanks in Advance
    Arindam.

    Hi,
    There is bug reported on such issue, please check further on metalink if you have support.
    Dilip Patel.

  • Rebooting the server with ASM instance............

    Hi folks
    I have to go for reboot of the server as I am adding a RAW device for having one more mount and also will be adding a disk to disk group.
    1) alter diskgroup diskgroupname add disk '/u09'; Is this correct to add a new disk to the diskgroup of ASM instance?
    2) I will have to shutdown all the six instances within the ASM instance and shutdown the ASM instance? Is this correct
    After a successfull Rebbot is done
    3) I will have to startup the ASM instance first and one by one startup the other six instances? Is it the right sequence.
    Please reply at the earliest.
    Thanks
    Shiva

    Hi
    If you want to shutdown the server to add the RAW device then:
    1. Shutdown all instances but shutdown ASM instance in the end.
    2. Shutdown server and add the RAW device.
    3. Startup server
    4 Add the diskgruop and also you can increase the value of rebalance parameter.
    5. Start all the instances that are using this ASM instance.
    Hope this Help
    Regards

  • Creating ASM instance with dbca

    Hi All
    I have 3 questions
    1 - Is the file needed to install ASM software is the same as the file need to install regular oracle software or they are 2 different installation files ?
    2 - Do I need to create 2 oracle homes , one for ASM and one for regular oracle software or only one ORACLE_HOME is needed ?
    3 - Do I need to run dbca once or twice to create the asm instance and database instance ?
    Thanks
    Edited by: user12302159 on Sep 25, 2010 12:58 PM

    Hello,
    1 - Is the file needed to install ASM software is the same as the file need to install regular oracle software or they are 2 different installation files ?
    Answer:The regular database uses normal file system but asm uses Raw devices which is not a file system at all it is just an empty disk.
    2 - Do I need to create 2 oracle homes , one for ASM and one for regular oracle software or only one ORACLE_HOME is needed ?
    actually you will need oracle home and asm home yes in 11g release 2 they added something being called grid infra structure and they made the cluster home and the asm home and the grid home combined in one home but it is not being called oracle home because oracle home is just for the oracle software.
    3 - Do I need to run dbca once or twice to create the asm instance and database instance ?
    In 10g yes 2 times you will do that and you can run it once and after you install ASM it asks you if you want to do anything else so you can do it once or twice.in 11g release 2 you dont use the dbca anymore to isntall asm you just use the grid software.
    Kind regards
    Mohamed

  • Asm, instance and service failing to start 10g rac redhat el5

    hi,
    i have been following a how to guide from oracle's website about implementing a 10g rac system using el5 (http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html), by the end of the installation and setup I had both the nodes up and running and all services were up and running. Then under the root account I rebooted one of the nodes. now when I check the status of the services I get this:
    [oracle@rac01 ~]$ crs_stat -t
    Name           Type           Target    State     Host
    ora.orcl.db    application    ONLINE    ONLINE    rac01
    ora...._taf.cs application    ONLINE    ONLINE    rac02
    ora....cl1.srv application    ONLINE    OFFLINE
    ora....cl2.srv application    ONLINE    ONLINE    rac02
    ora....l1.inst application    OFFLINE   OFFLINE
    ora....l2.inst application    ONLINE    ONLINE    rac02
    ora....SM1.asm application    OFFLINE   OFFLINE
    ora....01.lsnr application    ONLINE    ONLINE    rac01
    ora.rac01.gsd  application    ONLINE    ONLINE    rac01
    ora.rac01.ons  application    ONLINE    ONLINE    rac01
    ora.rac01.vip  application    ONLINE    ONLINE    rac01
    ora....SM2.asm application    ONLINE    ONLINE    rac02
    ora....02.lsnr application    ONLINE    ONLINE    rac02
    ora.rac02.gsd  application    ONLINE    ONLINE    rac02
    ora.rac02.ons  application    ONLINE    ONLINE    rac02
    ora.rac02.vip  application    ONLINE    ONLINE    rac02though I can start the asm instance manually by
    srvctl start asm -n rac01and it starts but the instance and service on the rebooted node still wont start. is there a log file which tells me what the error is when it tries to start the instance? what can I do to ensure that if a node is rebooted that all of the services get started correctly and the node automatically rejoins the cluster (i thought I had set all of this from the instructions of the guide I was following).
    Regards
    Martin.

    Check ASM resource:
    crs_stat -p "resource_name
    $ crs_stat | grep NAME\= | grep ASM1
    NAME=ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    *AUTO_START*=1
    CHECK_INTERVAL=600
    DESCRIPTION=CRS application for ASM instance
    What do you see AUTO_START?
    if 1 = auto start:
    or check error ASM while start... at ASM_HOME/log/rac01/racg/*
    If AUTO_START=2
    Oracle Clusterware is configured to start the VIP, listener, instance, ASM, database services and other resources during system boot. Starting with 10.1.0.4, it is possible to modify some resources to have their profile parameter AUTO_START set to the value 2. This means that after node reboot, or when Oracle Clusterware is started, resources with AUTO_START=2 will need to be started manually via srvctl. Please work with Oracle Support if you need to modify this attribute.
    If AUTO_START=2 and need to change to 1:
    Example:
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    AUTO_START=2
    $ crs_stat -p ora.rac01.ASM1.asm > ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm
    $ crs_unregister ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    CRS-0210: Could not find resource 'ora.rac01.ASM1.asm
    $ vi ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm.cap
    AUTO_START=2
    to
    AUTO_START=1
    $ crs_register ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    *AUTO_START=1*
    Edited by: Surachart Opun (HunterX) on Jul 31, 2009 1:06 PM

  • How to clean the asm instance from RAC manually

    for some reason i run crs_unregister asm and crs_unregister lsnr to remove the asm and listener resource from crs yesterday
    and today i want rebuild the asm instance ,so i run dbca again ,but error
    Error when starting ASM instance on node rac1: PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [PRKS-1011 : Failed to check status of ASM instance "+ASM1" on node "rac1", [CRS-0210: Could not find resource ora.rac1.ASM1.asm.]]
    [PRKS-1011 : Failed to check status of ASM instance "+ASM1" on node "rac1", [CRS-0210: Could not find resource ora.rac1.ASM1.asm.]]
    DBCA could not startup the ASM instance on node: rac1. Manual intervention is required to recreate these instances. If you choose to proceed, ASM diskgroups will not be mounted on non-started remote ASM instances. Do you want to proceed with ASM diskgroup management?
    and problem is how to do this "Manual intervention is required to recreate these instances", I already do 1, dd the asm disk, 2, remove the +ASM directory from $ORACLE_BASE, 3,clean ASM info from /etc/oratab, so what i can do next ?
    i try restart crs ,now the error info is different !!
    [oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
    Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/silent6.log"
    for further details.
    [oracle@rac1 ~]$ cat /opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/silent6.log
    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_+ASM1'
    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_+ASM1'
    Edited by: 859340 on 2011-7-8 下午11:01

    Hi,
    Can you post the dbca log?
    and do you share the asm home with oracle home? if it is separated then add LISTENER_+ASM1 in tnsnames in ASMHOME, otherwise add it in ORACLEHOME
    Cheers

  • 11g R2 Grid Infrastructure asmca cannot detect 11g R1 ASM instance

    I am playing with 11g ASM with XEN (one node on host (or dom0) and another node on vm (or dom1)) and was trying to do a Clusterware + ASM upgrade from 11.0.6 to 11.2.0. After solving some stupid problem, (see [rootupgrade.sh failed on 11g R1 to R2 Upgrade |http://forums.oracle.com/forums/thread.jspa?threadID=1005424&tstart=0]) so that all services can be started in both nodes, I am trying to upgrade ASM.
    I am trying asmca. But it is unable to detect the 11g R1 ASM instance. When started in GUI mode, it just offer to create ASM. When started in silent mode for upgrade, it shows:
    oracle@penguin-dom0:~> asmca -silent -upgradeASM
    Enter ASMSNMP Password
    ORA-01034: ORACLE not availableAnd I can't find anything in ASM alert log
    ASM is running from 11g R1 home
    oracle@penguin-dom0:~> ps -ef|grep asm
    oracle   21811     1  0 Jan06 ?        00:00:00 asm_pmon_+ASM1
    oracle   21813     1  0 Jan06 ?        00:00:03 asm_vktm_+ASM1
    oracle   21817     1  0 Jan06 ?        00:00:02 asm_diag_+ASM1
    oracle   21819     1  0 Jan06 ?        00:00:00 asm_ping_+ASM1
    oracle   21821     1  0 Jan06 ?        00:00:00 asm_psp0_+ASM1
    oracle   21825     1  0 Jan06 ?        00:00:09 asm_dia0_+ASM1
    oracle   21827     1  0 Jan06 ?        00:00:05 asm_lmon_+ASM1
    oracle   21829     1  0 Jan06 ?        00:00:03 asm_lmd0_+ASM1
    oracle   21831     1  0 Jan06 ?        00:00:03 asm_lms0_+ASM1
    oracle   21835     1  0 Jan06 ?        00:00:00 asm_mman_+ASM1
    oracle   21837     1  0 Jan06 ?        00:00:00 asm_dbw0_+ASM1
    oracle   21839     1  0 Jan06 ?        00:00:00 asm_lgwr_+ASM1
    oracle   21841     1  0 Jan06 ?        00:00:00 asm_ckpt_+ASM1
    oracle   21843     1  0 Jan06 ?        00:00:00 asm_smon_+ASM1
    oracle   21845     1  0 Jan06 ?        00:00:01 asm_rbal_+ASM1
    oracle   21847     1  0 Jan06 ?        00:00:00 asm_gmon_+ASM1
    oracle   21856     1  0 Jan06 ?        00:00:00 asm_lck0_+ASM1
    oracle   22021     1  0 Jan06 ?        00:00:00 /u01/app/oradb/product/11.1.0/db_1/bin/racgimon daemon ora.penguin-dom0.ASM1.asm11g R1 Listener is serving to ASM
    oracle@penguin-dom0:~> lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 07-JAN-2010 00:33:44
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER_PENGUIN-DOM0
    Version                   TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date                06-JAN-2010 22:29:51
    Uptime                    0 days 2 hr. 3 min. 53 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oradb/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oradb/diag/tnslsnr/penguin-dom0/listener_penguin-dom0/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.201)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.101)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    The command completed successfullyNo tnsnames.ora in 11g R1 or Grid Infrastructure home.
    Setting ORACLE_HOME to 11g R1 home and ORACLE_SID=+ASM1, I can connect to ASM instance as sysasm using R1 sqlplus
    oracle@penguin-dom0:~> export ORACLE_HOME=/u01/app/oradb/product/11.1.0/db_1
    oracle@penguin-dom0:~> export ORACLE_SID=+ASM1
    oracle@penguin-dom0:~> $ORACLE_HOME/bin/sqlplus / as sysasm
    SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jan 7 00:40:15 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP,
    Data Mining and Real Application Testing options
    SQL> Tried different combinations of ORACLE_HOME (11g R1 db home, grid infrastructure home, 11g R1 clusterware home) and ORACLE_SID (+ASM, +ASM1), but asmca still cannot connect to ASM instance.
    Some documents mentioned to configure 'Oracle Restart' and the ASM instance name is +ASM. Are these necessary requirements? If so, where can I find information on Oracle Restart and how to rename the ASM instance? Besides, the documents said it is recommanded to upgrade with OUI, but I've already installed the software, can I still use OUI?
    OS: OpenSUSE 11.1, XEN DOM0 and DOM1
    Oracle: 11.0.6 upgrade to 11.2.0
    Edited by: thtsang on Jan 6, 2010 8:47 AM
    Edited by: thtsang on Jan 6, 2010 5:33 PM

    Hi Thtsang,
    sorry for not coming back to you earlier and thanks for "the helpful".
    So, are you saying that after you have removed all the environment variables, you still got the error message "ORA-01034: ORACLE not available"? I thought you got an "ASM upgrade failed", because ASM was down at the time of the upgrade, which you then corrected saying: "In fact, ASM instance was started from Grid Infrastructure home.". Overall, I need to say that I am a bit confused to be honest.
    The alert log entry sounds promising, although, one would need to see more context. For: "But when I use crsctl / srvctl to start ASM, it is still running in 11g R1 Oracle Home." So, something went wrong with the update. For: "BTW, if asmca does not work for me, can I upgrade manually?" - ASMCA is the tool that will perform an ASM upgrade. You can call it interactively, but you will have to use it.
    Support note ID 950200.1 - "ASM 11gR2: How To Upgrade An ASM Instance To Release 11gR2 (11.2.0.1.0)?" describes an ASM upgrade to 11.2. Maybe this note can help you and if it is only to analyze what stage your cluster is in right now. It sounds like, this would be first thing that we need to find out.
    Good luck. Thanks,
    Markus

  • How to create an asm instance manaually? oracle 11gr2.

    env: oracle 11gr2 os: hpux or aix single machine , not rac.
    question:how to create an asm instance manaually?? diskgroup,listener,db ,they can be resigistered to crs??
    can anyone give me document about it?

    Hi,
    This is a simple answer:
    Automatic Storage Management (ASM)
    ASM was a new storage option introduced with Oracle Database 10gR1 that provides the services of a filesystem, logical volume manager, and software RAID in a platform-independent manner. ASM can stripe and mirror your disks, allow disks to be added or removed while the database is under load, and automatically balance I/O to remove "hot spots." It also supports direct and asynchronous I/O and implements the Oracle Data Manager API (simplified I/O system call interface) introduced in Oracle9i.
    ASM is not a general-purpose filesystem and can be used only for Oracle data files, redo logs, and control files. Files in ASM can be created and named automatically by the database (by use of the Oracle Managed Files feature) or manually by the DBA. Because the files stored in ASM are not accessible to the operating system, the only way to perform backup and recovery operations on databases that use ASM files is through Recovery Manager (RMAN).
    ASM is implemented as a separate Oracle instance that must be up if other databases are to be able to access it. Memory requirements for ASM are light: only 64 MB for most systems.
    Installing ASM
    On Linux platforms, ASM can use raw devices or devices managed via the ASMLib interface. Oracle recommends ASMLib over raw devices for ease-of-use and performance reasons. ASMLib 2.0 is available for free download from OTN. This section walks through the process of configuring a simple ASM instance by using ASMLib 2.0 and building a database that uses ASM for disk storage.
    Determine Which Version of ASMLib You Need
    ASMLib 2.0 is delivered as a set of three Linux packages:
    * oracleasmlib-2.0 - the ASM libraries
    * oracleasm-support-2.0 - utilities needed to administer ASMLib
    * oracleasm - a kernel module for the ASM library
    Each Linux distribution has its own set of ASMLib 2.0 packages, and within each distribution, each kernel version has a corresponding oracleasm package. The following paragraphs describe how to determine which set of packages you need.
    First, determine which kernel you are using by logging in as root and running the following command:
    uname -rm
    Ex:
    # uname -rm
    2.6.9-22.ELsmp i686
    The example shows that this is a 2.6.9-22 kernel for an SMP (multiprocessor) box using Intel i686 CPUs.
    Use this information to find the correct ASMLib packages on OTN:
    1. Point your Web browser to http://www.oracle.com/technology/tech/linux/asmlib/index.html
    2. Select the link for your version of Linux.
    3. Download the oracleasmlib and oracleasm-support packages for your version of Linux
    4. Download the oracleasm package corresponding to your kernel. In the example above, the oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm package was used.
    Next, install the packages by executing the following command as root:
    rpm -Uvh oracleasm-kernel_version-asmlib_version.cpu_type.rpm \
    oracleasmlib-asmlib_version.cpu_type.rpm \
    oracleasm-support-asmlib_version.cpu_type.rpm
    Ex:
    # rpm -Uvh \
    > oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm \
    > oracleasmlib-2.0.1-1.i386.rpm \
    > oracleasm-support-2.0.1-1.i386.rpm
    Preparing... ########################################### [100%]
    1:oracleasm-support ########################################### [ 33%]
    2:oracleasm-2.6.9-22.ELsm########################################### [ 67%]
    3:oracleasmlib ########################################### [100%]
    Configuring ASMLib
    Before using ASMLib, you must run a configuration script to prepare the driver. Run the following command as root, and answer the prompts as shown in the example below.
    # /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface []: oracle
    Default group to own the driver interface []: dba
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: [  OK  ]
    Creating /dev/oracleasm mount point: [  OK  ]
    Loading module "oracleasm": [  OK  ]
    Mounting ASMlib driver filesystem: [  OK  ]
    Scanning system for ASM disks: [  OK  ]
    Next you tell the ASM driver which disks you want it to use. Oracle recommends that each disk contain a single partition for the entire disk. See Partitioning the Disks at the beginning of this section for an example of creating disk partitions.
    You mark disks for use by ASMLib by running the following command as root:
    /etc/init.d/oracleasm createdisk DISK_NAME device_name
    Tip: Enter the DISK_NAME in UPPERCASE letters.
    Ex:
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
    Marking disk "/dev/sdb1" as an ASM disk: [  OK  ]
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
    Marking disk "/dev/sdc1" as an ASM disk: [  OK  ]
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdd1
    Marking disk "/dev/sdd1" as an ASM disk: [  OK  ]
    Verify that ASMLib has marked the disks:
    # /etc/init.d/oracleasm listdisks
    VOL1
    VOL2
    VOL3
    Create the ASM Instance
    ASM runs as a separate Oracle instance which can be created and configured using the Oracle Universal Installer. Now that ASMLib is installed and the disks are marked for use, you can create an ASM instance.
    Log in as oracle and start runInstaller:
    $ ./runInstaller
    1. Select Installation Method
    * Select Advanced Installation
    * Click on Next
    2. Specify Inventory Directory and Credentials
    * Inventory Directory: /u01/app/oracle/oraInventory
    * Operating System group name: oinstall
    * Click on Next
    3. Select Installation Type
    * Select Enterprise Edition
    * Click on Next
    4. Specify Home Details
    * Name: OraDB10gASM
    * Path: /u01/app/oracle/product/10.2.0/asm
    Note:Oracle recommends using a different ORACLE_HOME for ASM than the ORACLE_HOME used for the database for ease of administration.
    * Click on Next
    5. Product-specific Prerequisite Checks
    * If you've been following the steps in this guide, all the checks should pass without difficulty. If one or more checks fail, correct the problem before proceeding.
    * Click on Next
    6. Select Configuration Option
    * Select Configure Automatic Storage Management (ASM)
    * Enter the ASM SYS password and confirm
    * Click on Next
    7. Configure Automatic Storage Management
    * Disk Group Name: DATA
    * Redundancy
    - High mirrors data twice.
    - Normal mirrors data once. This is the default.
    - External does not mirror data within ASM. This is typically used if an external RAID array is providing redundancy.
    * Add Disks
    The disks you configured for use with ASMLib are listed as Candidate Disks. Select each disk you wish to include in the disk group.
    * Click on Next
    8. Summary
    * A summary of the products being installed is presented.
    * Click on Install.
    9. Execute Configuration Scripts
    * At the end of the installation, a pop up window will appear indicating scripts that need to be run as root. Login as root and run the indicated scripts.
    * Click on OK when finished.
    10. Configuration Assistants
    * The Oracle Net, Oracle Database, and iSQL*Plus configuration assistants will run automatically
    11. End of Installation
    * Make note of the URLs presented in the summary, and click on Exit when ready.
    12. Congratulations! Your new Oracle ASM Instance is up and ready for use.
    Kind regards
    Mohamed

Maybe you are looking for

  • Connecting samples in Logic 8

    I just rebuilt my system after my main drive crashed and upgraded to Snow Leopard, but I'm still running Logic8 at this point. I have samples on an external drive that are primarily AIF's that I have always been able to access with EXS. Ever since I

  • How do I add an alarm to a calendar appointment?

    I'm tearing my hair out trying to understand the Calendar app in OS X Mavericks. When I create an appointment in iOS, I can easily add an alarm, or set it to repeat (weekly, monthly etc.). In the OS X version, I cannot do this.  I double-click on the

  • Error: Unable to start Web Logic Server , Managed Server in SOA Suite

    After creating JDBC DataSource in WLS 10.3.3 Created a DbAdapter outbound connection pool, Selected javax.resource.cci.CoonectionFactory Enter JNDI name: eis/DB/test Then, In Outbound Connection Pools tab, expand javax.resource.cci.CoonectionFactory

  • Creating a file in network drive and WEB server.

    Hi     I tried to create and place a text file in network drive(a folder in a system other that MII server which is neither FTP nor a webserver) it did not work.while running the transaction using write file action block it throws an error (Authentic

  • Keep the record in the view object if deletion failed.

    I have a view object which is based on the entity object, when I am trying to delete a row it failed because it has a child record associate with. I know the row is not delete from the database, but the record is deleted fromt the view. How to keep t