Starting up an ASM instance

After a system shutdown, Is this the right way to startup an Instance running on ASM
Step 1:$ export ORACLE_SID=+ASM
Step 2: $ export ORACLE_SID=instance_name
Step 3: $ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 22 11:06:05 2008
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> startup open;Do i have to set ORACLE_HOME for ASM? If so, How can i find ORACLE_HOME for ASM?

You are nearly right. You export the ASM ORACLE_SID (and ASM ORACLE_HOME), then startup from SQL*Plus.
Then, once ASM instance is up & running, you export the Database ORACLE_SID (and Database ORACLE_HOME, if different to the ASM ORACLE_HOME), then startup from SQL*Plus.
ORACLE_HOMEs: Have a look in /etc/oratab

Similar Messages

  • Error while starting ASM instance

    when i was trying to startup my ASM database , i was getting the following error.
    SQL> startup
    ASM instance started
    Total System Global Area 125829120 bytes
    Fixed Size 2019000 bytes
    Variable Size 98644296 bytes
    ASM Cache 25165824 bytes
    ORA-15032: not all alterations performed
    ORA-15003: diskgroup "DBDATA" already mounted in another lock name space"
    thnx in advance

    Hi,
    i was not aware of ASM anymore, i can give some more details of this.
    There was already an instance named +ASM in the host, which has the diskgroup 'DBDATA' created.
    But now i have created a new instance and i was trying to connect to the same diskgroup.
    I dont have permission of the root, but i have the oracle login.
    could u pleaze help me in this regard...
    i need to connect to the diskgroup, if i try to stop the other instance, i was not getting the error, but the diskgroup is getting dis-mounted.
    thnx alot for the replies

  • 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 start ASM instance at boot time - RHEL 2.1

    Oracle 10.1.0.3
    RHEL 2.1
    I'm not able to get the ASM instance (not RAC) to start at boot time. It seems that the ocssd daemon does not finish starting until after all rc* scripts, including rc.local, have finished executing.
    Patch 3458327 includes a new dbstart with header notes that are in conflict. The notes says that dbstart can't be used to start ASM until AFTER all rc* is finished.  Then it continues and states that ASM instance startup should be put in rc.local.
    As soon as I get logged on, a ps -ef|grep ocssd shows the daemon running. I can then manually start the ASM instance.  There must be a way to get the ASM instance "auto" started at boot time.
    Ideas?

    The cheapest and administratively easiest way for me was to start Oracle instances (ASM and data) by "at" command :-) from rc scripts. Something like:
    ....echo "oracle start" | at now+2min....
    Additionally the deferred startup has some additional advantages in my environment, so I am not motivated to look for better solution.
    Best regards,
    Pavel

  • Dbca fails cuz ASM instance startup fails. Unable to start both instances.

    Following Jeffrey Hunter guide. Installing 2 node RAC on Oracle EL5 w/ 11g
    All cluvfy operations successful up to this point of running dbca from node1 (lin1).
    Errorwhen starting ASM instance on node lin2: PRKS-1009: Failed to start ASM instance "+ASM2 on node "lin2"...[CRS-0233: Resource or relatives are currently involved with another operation.]
    [root@lin1 bin]# ./crs_stat -t
    Name Type Target State Host
    ora....SM1.asm application ONLINE ONLINE lin1
    ora....N1.lsnr application ONLINE ONLINE lin1
    ora.lin1.gsd application ONLINE ONLINE lin1
    ora.lin1.ons application ONLINE ONLINE lin1
    ora.lin1.vip application ONLINE ONLINE lin1
    ora....SM2.asm application ONLINE OFFLINE
    ora....N2.lsnr application ONLINE ONLINE lin2
    ora.lin2.gsd application ONLINE ONLINE lin2
    ora.lin2.ons application ONLINE ONLINE lin2
    ora.lin2.vip application ONLINE ONLINE lin2
    [root@lin1 bin]# ./crs_start ora.lin2.ASM2.asm
    Attempting to start `ora.lin2.ASM2.asm` on member `lin2`
    [root@lin1 bin]# pwd
    /u01/app/crs/bin
    [root@lin1 bin]# ./crs_start ora.lin2.ASM2.asm
    Attempting to start `ora.lin2.ASM2.asm` on member `lin2`
    Start of `ora.lin2.ASM2.asm` on member `lin2` failed.
    lin1 : CRS-1019: Resource ora.lin2.ASM2.asm (application) cannot run on lin1
    CRS-0215: Could not start resource 'ora.lin2.ASM2.asm'.
    [root@lin1 bin]# ./crs_stop ora.lin1.ASM1.asm
    Attempting to stop `ora.lin1.ASM1.asm` on member `lin1`
    Stop of `ora.lin1.ASM1.asm` on member `lin1` succeeded.
    [root@lin1 bin]# ./crs_start ora.lin2.ASM2.asm
    Attempting to start `ora.lin2.ASM2.asm` on member `lin2`
    Start of `ora.lin2.ASM2.asm` on member `lin2` succeeded.
    [root@lin1 bin]# ./crs_stat -t
    Name Type Target State Host
    ora....SM1.asm application OFFLINE OFFLINE
    ora....N1.lsnr application ONLINE ONLINE lin1
    ora.lin1.gsd application ONLINE ONLINE lin1
    ora.lin1.ons application ONLINE ONLINE lin1
    ora.lin1.vip application ONLINE ONLINE lin1
    ora....SM2.asm application ONLINE ONLINE lin2
    ora....N2.lsnr application ONLINE ONLINE lin2
    ora.lin2.gsd application ONLINE ONLINE lin2
    ora.lin2.ons application ONLINE ONLINE lin2
    ora.lin2.vip application ONLINE ONLINE lin2
    ...and so forth. I can't get both ASM instances to run concurrently. The dbca complains about whichever one is OFFLINE. When I try to start the OFFLINE instance I get something like:
    [root@lin1 bin]# ./crs_start ora.lin2.ASM2.asm
    Attempting to start `ora.lin2.ASM2.asm` on member `lin2`
    Start of `ora.lin2.ASM2.asm` on member `lin2` failed.
    lin1 : CRS-1019: Resource ora.lin2.ASM2.asm (application) cannot run on lin1
    CRS-0215: Could not start resource 'ora.lin2.ASM2.asm'.
    Any assistance very much appreciated. - thx, yomick

    thanks for the response...vip seems to be fine...
    [oracle@lin1 bin]$ more /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.1.50 shiva
    # Public Network - (eth0)
    192.168.1.100 lin1
    192.168.1.101 lin2
    # Private Interconnect - (eth1)
    192.168.2.100 lin1-priv
    192.168.2.101 lin2-priv
    # Public Virtual IP (VIP) - (eth0)
    192.168.1.200 lin1-vip
    192.168.1.201 lin2-vip
    # Private Storage Network for Openfiler - (eth1)
    192.168.1.195 openfiler
    192.168.2.195 openfiler-priv
    [2]+ Exit 255 dbca
    [oracle@lin1 bin]$ ping 192.168.1.200
    PING 192.168.1.200 (192.168.1.200) 56(84) bytes of data.
    64 bytes from 192.168.1.200: icmp_seq=1 ttl=64 time=0.100 ms
    64 bytes from 192.168.1.200: icmp_seq=2 ttl=64 time=0.092 ms
    --- 192.168.1.200 ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 999ms
    rtt min/avg/max/mdev = 0.092/0.096/0.100/0.004 ms
    [oracle@lin1 bin]$ ping 192.168.1.201
    PING 192.168.1.201 (192.168.1.201) 56(84) bytes of data.
    64 bytes from 192.168.1.201: icmp_seq=1 ttl=64 time=3.30 ms
    64 bytes from 192.168.1.201: icmp_seq=2 ttl=64 time=0.236 ms
    64 bytes from 192.168.1.201: icmp_seq=3 ttl=64 time=0.297 ms
    --- 192.168.1.201 ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2003ms
    rtt min/avg/max/mdev = 0.236/1.279/3.306/1.433 ms
    [oracle@lin1 bin]$ crs_stat -t
    Name Type Target State Host
    ora....SM1.asm application ONLINE ONLINE lin1
    ora....N1.lsnr application ONLINE ONLINE lin1
    ora.lin1.gsd application ONLINE ONLINE lin1
    ora.lin1.ons application ONLINE ONLINE lin1
    ora.lin1.vip application ONLINE ONLINE lin1
    ora....SM2.asm application ONLINE OFFLINE
    ora....N2.lsnr application ONLINE ONLINE lin2
    ora.lin2.gsd application ONLINE ONLINE lin2
    ora.lin2.ons application ONLINE ONLINE lin2
    ora.lin2.vip application ONLINE ONLINE lin2
    [oracle@lin1 bin]$

  • Getting errors while starting ASM instance in 11gR2

    Hi All,
    While starting ASM instance, i'm getting the following errors.
    [grid@xxxxx ~]$ . oraenv
    ORACLE_SID = [+ASM2] ?
    The Oracle base has been set to /u01/app/oracle
    [grid@xxxxx ~]$ sqlplus "/ as sysasm"
    SQL*Plus: Release 11.2.0.3.0 Production on Thu May 3 05:23:52 2012
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Connected.
    SQL> cl scr
    SQL> shut immediate
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04031: unable to allocate 32 bytes of shared memory ("shared pool","unknown object","KGLH0^37a71565","kglHeapInitialize:temp")
    Please give me any suggestions?
    --Thanks,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    http://ora-04031.ora-code.com/
    ORA-04031:
    unable to allocate string bytes of shared memory ("string","string","string","string")
    Cause:     More shared memory is needed than was allocated in the shared pool.
    Action:     If the shared pool is out of memory, either use the dbms_shared_pool package to pin large packages, reduce your use of shared memory, or increase the amount of available shared memory by increasing the value of the INIT.ORA parameters "shared_pool_reserved_size" and "shared_pool_size". If the large pool is out of memory, increase the INIT.ORA parameter "large_pool_size".

  • One node is up but when we start the crs on node 2 then ASM instance killed.

    Hi Friends
    i am facing below strange problem
    one node is up but when we start the crs on node 2 then ASM instance killed. i found that one ip 169.254.98.19 is binding with private interconnect IP rathter than assigned IP.
    Please help me

    Hi Pradeep ,
    Oracle S/W verstion is 11.2.0.3. Actually , we start the CRS and DB on node 1 but when we try to start on node 2 , getting below error.
    [gpnpd(18284748)]CRS-2328:GPNPD started on node ggnetp04.
    2013-09-03 19:48:29.162
    [cssd(17694820)]CRS-1713:CSSD daemon is started in clustered mode
    2013-09-03 19:48:30.557
    [ohasd(13697160)]CRS-2767:Resource state recovery not attempted for 'ora.diskmon' as its target state is OFFLINE
    2013-09-03 19:48:41.013
    [cssd(17694820)]CRS-1707:Lease acquisition for node ggnetp04 number 2 completed
    2013-09-03 19:48:42.490
    [cssd(17694820)]CRS-1605:CSSD voting file is online: /dev/rhdiskpower0; details in /opt/app/11.2.0.3/grid/log/ggnetp04/cssd/ocssd.log.
    2013-09-03 19:48:45.483
    [cssd(17694820)]CRS-1601:CSSD Reconfiguration complete. Active nodes are ggnetp03 ggnetp04 .
    2013-09-03 19:48:47.257
    [ctssd(18022612)]CRS-2403:The Cluster Time Synchronization Service on host ggnetp04 is in observer mode.
    2013-09-03 19:48:47.632
    [ctssd(18022612)]CRS-2407:The new Cluster Time Synchronization Service reference node is host ggnetp03.
    2013-09-03 19:48:47.633
    [ctssd(18022612)]CRS-2401:The Cluster Time Synchronization Service started on host ggnetp04.
    [client(16056466)]CRS-10001:03-Sep-13 19:48 ACFS-9391: Checking for existing ADVM/ACFS installation.
    [client(16056468)]CRS-10001:03-Sep-13 19:48 ACFS-9392: Validating ADVM/ACFS installation files for operating system.
    [client(16056470)]CRS-10001:03-Sep-13 19:48 ACFS-9393: Verifying ASM Administrator setup.
    [client(16056472)]CRS-10001:03-Sep-13 19:48 ACFS-9308: Loading installed ADVM/ACFS drivers.
    [client(16056478)]CRS-10001:03-Sep-13 19:48 ACFS-9154: Loading 'oracleadvm.ext' driver.
    [client(16056486)]CRS-10001:03-Sep-13 19:48 ACFS-9154: Loading 'oracleacfs.ext' driver.
    [client(16056494)]CRS-10001:03-Sep-13 19:48 ACFS-9327: Verifying ADVM/ACFS devices.
    [client(16056498)]CRS-10001:03-Sep-13 19:48 ACFS-9156: Detecting control device '/dev/asm/.asm_ctl_spec'.
    [client(16056504)]CRS-10001:03-Sep-13 19:48 ACFS-9156: Detecting control device '/dev/ofsctl'.
    [client(16056508)]CRS-10001:03-Sep-13 19:48 ACFS-9322: completed
    2013-09-03 19:48:59.667
    [ctssd(18022612)]CRS-2409:The clock on host ggnetp04 is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode.
    2013-09-03 19:50:53.936
    [cssd(17694820)]CRS-1662:Member kill requested by node ggnetp03 for member number 1, group DB+ASM
    2013-09-03 19:50:57.493
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:50:57.494
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log"
    2013-09-03 19:50:58.828
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:50:58.943
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:50:59.235
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:53:00.252
    [cssd(17694820)]CRS-1662:Member kill requested by node ggnetp03 for member number 1, group DB+ASM
    2013-09-03 19:53:03.101
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:53:03.102
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log"
    2013-09-03 19:53:05.430
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:53:05.539
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:53:05.815
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:55:07.436
    [cssd(17694820)]CRS-1662:Member kill requested by node ggnetp03 for member number 1, group DB+ASM
    2013-09-03 19:55:09.673
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:55:09.674
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log"
    2013-09-03 19:55:12.007
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:55:12.115
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:55:12.389
    [/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
    2013-09-03 19:55:12.405
    [ohasd(13697160)]CRS-2807:Resource 'ora.asm' failed to start automatically.
    2013-09-03 19:55:12.405
    [ohasd(13697160)]CRS-2807:Resource 'ora.crsd' failed to start automatically.
    2013-09-03 20:23:32.040
    [ctssd(18022612)]CRS-2409:The clock on host ggnetp04 is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode.

  • Failed to start ASM instance "+ASM1" on node "rac1"

    I have a problem, because when I start RAC and write command crs_stat -t
    column State have 2 wrong parameter..
    Name Type Target State Host
    ora.....CRM.cs application ONLINE ONLINE rac2
    ora....db1.srv application ONLINE ONLINE rac2
    ora.devdb.db application ONLINE ONLINE rac2
    ora....b1.inst application ONLINE OFFLINE
    ora....b2.inst application ONLINE ONLINE rac2
    ora....SM1.asm application ONLINE UNKNOWN rac1
    ora....C1.lsnr application ONLINE ONLINE rac1
    ora.rac1.gsd application ONLINE ONLINE rac1
    ora.rac1.ons application ONLINE ONLINE rac1
    ora.rac1.vip application ONLINE ONLINE rac1
    ora....SM2.asm application ONLINE ONLINE rac2
    ora....C2.lsnr application ONLINE ONLINE rac2
    ora.rac2.gsd application ONLINE ONLINE rac2
    ora.rac2.ons application ONLINE ONLINE rac2
    ora.rac2.vip application ONLINE ONLINE rac2
    When I try
    srvctl start asm -n rac1 then is wrong:
    PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.rac1.ASM1.asm' has placement error.]]
    [PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.rac1.ASM1.asm' has placement error.]]
    and when I try start instance manualy then
    PRKP-1001 : Error starting instance devdb1 on node rac1
    CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.devdb.devdb1.inst' has placement error.
    :( Where is my problem??

    hi, i have exactly the same error
    but your suggestions of remove an recreate the asm resource not working
    ./srvctl remove asm -n dbs2 -i +ASM2 -f
    PRKS-1023 : Failed to remove CRS resource for ASM instance "+ASM2" on node "dbs2", [CRS-0214: Could not unregister resource 'ora.dbs2.ASM2.asm'.]
    ./srvctl start asm -n dbs2
    PRKS-1009 : Failed to start ASM instance "+ASM2" on node "dbs2", [PRKS-1009 : Failed to start ASM instance "+ASM2" on node "dbs2", [CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.dbs2.ASM2.asm' has placement error.]]
    [PRKS-1009 : Failed to start ASM instance "+ASM2" on node "dbs2", [CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.dbs2.ASM2.asm' has placement error.]]
    how do i proceed?
    iam using solaris 10 with t2000 and t5210 server and oracle 10.2.0.4

  • Problem starting ASM instance after installing Oracle Grid standalone

    Hi!
    After installing Oracle Grid 11gr2 and rebooting my machine:
    Linux localhost.localdomain 2.6.32-300.10.1.el5uek #1 SMP Wed Feb 22 17:37:40 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    I run asmca command and it failed to startup ASM instance, I tried to paste the log but it's too long!
    Could someone help me please! thank you very much!
    José
    I paste just the last piece:
    +[main] [ 2012-03-15 15:01:56.853 CET ] [SQLEngine.initialize:354] m_bReaderStarted: false+
    +[main] [ 2012-03-15 15:01:56.857 CET ] [SQLEngine.initialize:358] Starting Reader Thread...+
    +[main] [ 2012-03-15 15:01:56.919 CET ] [UsmcaLogger.logExit:122] Exiting oracle.sysman.assistants.usmca.backend.USMInstance Method : createSQLEngine+
    +[main] [ 2012-03-15 15:01:56.919 CET ] [OracleHome.getVersion:877] OracleHome.getVersion called. Current Version: null+
    +[main] [ 2012-03-15 15:01:56.927 CET ] [InventoryUtil.getOUIInvSession:347] setting OUI READ level to ACCESSLEVEL_READ_LOCKLESS+
    +[main] [ 2012-03-15 15:01:56.927 CET ] [OracleHome.getVersion:896] Homeinfo /u01/app/grid/product/11.2.0/grid,1+
    +[main] [ 2012-03-15 15:01:56.928 CET ] [Version.isPre:274] version to be checked 11.2.0.1.0 major version to check against10+
    +[main] [ 2012-03-15 15:01:56.928 CET ] [Version.isPre:285] isPre.java: Returning FALSE+
    +[main] [ 2012-03-15 15:01:56.929 CET ] [OCR.loadLibrary:308]+
    Inside constructor of OCR
    +[main] [ 2012-03-15 15:01:56.929 CET ] [OCR.isCluster:939] Calling OCRNative for isCluster()+
    +[main] [ 2012-03-15 15:01:56.930 CET ] [OCR.isCluster:943] OCR Result status = true+
    +[main] [ 2012-03-15 15:01:56.930 CET ] [OCR.isCluster:955] Bolean result = false+
    +[main] [ 2012-03-15 15:01:56.930 CET ] [Version.isPre:274] version to be checked 11.2.0.1.0 major version to check against10+
    +[main] [ 2012-03-15 15:01:56.930 CET ] [Version.isPre:285] isPre.java: Returning FALSE+
    +[main] [ 2012-03-15 15:01:56.931 CET ] [MessageBundle.getMessageFields:338] MessageBundle.getMessage() failed to load the string PRKC-PRKC-1036 : CRS_HOME name passed to the method was null Exception: java.util.MissingResourceException: Can't find resource for bundle oracle.ops.mgmt.resources.PrkcMsg, key PRKC-1036 : CRS_HOME name passed to the method was null+
    +[main] [ 2012-03-15 15:01:56.931 CET ] [ClusterUtils.getCRSActiveVersion:1797] Error getting CRS active version: PRKC-PRKC-1036 : CRS_HOME name passed to the method was null : <null>+
    +[main] [ 2012-03-15 15:01:56.931 CET ] [OracleHome.getVersion:903] OracleHome.CRSActiveVersion: null+
    +[main] [ 2012-03-15 15:01:57.084 CET ] [OracleHome.getVersion:922] OracleHome.server.getVersion Version: 11.2.0.1.0+
    +[main] [ 2012-03-15 15:01:57.084 CET ] [OracleHome.getVersion:943] Current Version From Inventory: 11.2.0.1.0+
    +[main] [ 2012-03-15 15:01:57.084 CET ] [OracleHome.getVersion:948] using sqlplus: /u01/app/grid/product/11.2.0/grid/bin/sqlplus+
    +[main] [ 2012-03-15 15:01:57.084 CET ] [UsmcaLogger.logInfo:141] Role SYSASM+
    +[main] [ 2012-03-15 15:01:57.085 CET ] [UsmcaLogger.logInfo:141] OS Auth true+
    +[main] [ 2012-03-15 15:01:57.182 CET ] [SQLEngine.done:2148] Done called+
    +[main] [ 2012-03-15 15:01:57.183 CET ] [UsmcaLogger.logException:171] SEVERE:method oracle.sysman.assistants.usmca.backend.USMInstance:checkAndStartupInstance+
    +[main] [ 2012-03-15 15:01:57.183 CET ] [UsmcaLogger.logException:172] ORA-01034: ORACLE not available+
    +[main] [ 2012-03-15 15:01:57.183 CET ] [UsmcaLogger.logException:173] oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACLE not available+
    oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1650)
    oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeQuery(SQLEngine.java:823)
    oracle.sysman.assistants.usmca.backend.USMInstance.checkAndStartupInstance(USMInstance.java:573)
    oracle.sysman.assistants.usmca.backend.USMInstance.discoverASMInstance(USMInstance.java:340)
    oracle.sysman.assistants.usmca.service.UsmcaService.discoverASMInstance(UsmcaService.java:146)
    oracle.sysman.assistants.usmca.Usmca.execute(Usmca.java:230)
    oracle.sysman.assistants.usmca.Usmca.main(Usmca.java:333)
    +[main] [ 2012-03-15 15:01:57.184 CET ] [UsmcaLogger.logExit:122] Exiting oracle.sysman.assistants.usmca.backend.USMInstance Method : checkAndStartupInstance+
    +[main] [ 2012-03-15 15:01:57.184 CET ] [UsmcaLogger.logInfo:141] ASM failed to start. Check /u01/app/grid/cfgtoollogs/asmca/asmca-1203153PM0138.log for details.+

    Hi,
    i've got similar problem but my asm is not just down. After installing grid home with infrastructure I've restarted os and there is no crs services and the only result from this command:
    # ps -ef | grep grid
    grid      2075     1  0 13:58 ?        00:00:00 /u01/app/grid/product/11.2.0/grid/bin/ohasd.bin reboot
    root      2463  2439  0 14:06 pts/0    00:00:00 grep gridgive me opposite to this one before restart:
    $ ps -ef | grep grid
    grid      2076     1  0 13:01 ?        00:00:00 /u01/app/grid/product/11.2.0/grid/bin/ohasd.bin reboot
    grid      3646     1  0 13:44 ?        00:00:04 /u01/app/grid/product/11.2.0/grid/bin/ohasd.bin reboot
    grid      3806     1  0 13:45 ?        00:00:02 /u01/app/grid/product/11.2.0/grid/bin/oraagent.bin
    grid      3820     1  0 13:45 ?        00:00:00 /u01/app/grid/product/11.2.0/grid/bin/evmd.bin
    grid      3853  3820  0 13:45 ?        00:00:00 /u01/app/grid/product/11.2.0/grid/bin/evmlogger.bin -o /u01/app/grid/product/11.2.0/grid/evm/log/evmlogger.info -l /u01/app/grid/product/11.2.0/grid/evm/log/evmlogger.log
    root      3879  2307  0 13:46 pts/0    00:00:00 su - grid
    grid      3881  3879  0 13:46 pts/0    00:00:00 -bash
    grid      4172     1  0 13:48 ?        00:00:00 /u01/app/grid/product/11.2.0/grid/bin/cssdagent
    grid      4197     1  0 13:48 ?        00:00:00 /u01/app/grid/product/11.2.0/grid/bin/ocssd.bin
    grid      4550     1  0 13:49 ?        00:00:00 asm_pmon_+ASM
    grid      4552     1  0 13:49 ?        00:00:00 asm_psp0_+ASM
    grid      4554     1  0 13:49 ?        00:00:02 asm_vktm_+ASM
    grid      4558     1  0 13:49 ?        00:00:00 asm_gen0_+ASM
    grid      4560     1  0 13:49 ?        00:00:00 asm_diag_+ASM
    grid      4562     1  0 13:49 ?        00:00:00 asm_dia0_+ASM
    grid      4564     1  0 13:49 ?        00:00:00 asm_mman_+ASM
    grid      4566     1  0 13:49 ?        00:00:00 asm_dbw0_+ASM
    grid      4568     1  0 13:49 ?        00:00:00 asm_lgwr_+ASM
    grid      4570     1  0 13:49 ?        00:00:00 asm_ckpt_+ASM
    grid      4572     1  0 13:49 ?        00:00:00 asm_smon_+ASM
    grid      4574     1  0 13:49 ?        00:00:00 asm_rbal_+ASM
    grid      4576     1  0 13:49 ?        00:00:00 asm_gmon_+ASM
    grid      4578     1  0 13:49 ?        00:00:00 asm_mmon_+ASM
    grid      4580     1  0 13:49 ?        00:00:00 asm_mmnl_+ASM
    grid      4582     1  0 13:49 ?        00:00:00 oracle+ASM (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    grid      6128     1  0 13:52 ?        00:00:00 /u01/app/grid/product/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    grid      6142  3881  0 13:53 pts/0    00:00:00 ps -ef
    grid      6143  3881  0 13:53 pts/0    00:00:00 grep grid
    $ srvctl status listener
    Listener LISTENER is enabled
    Listener LISTENER is running on node(s): pc
    $ srvctl status asm
    ASM is running on pcI'm using 2x 1TB hdisk as 2 pv in one vg. I thought that lvolume permissions are incorrect but now I had:
    # ls -l /dev | grep dm
    crw-rw----  1 root root      10,  61 May 16 13:57 cpu_dma_latency
    brw-rw----  1 root disk     253,   0 May 16 13:57 dm-0
    brw-rw----  1 root disk     253,   1 May 16 13:57 dm-1
    brw-rw----  1 grid asmadmin 253,  10 May 16 13:57 dm-10
    brw-rw----  1 grid asmadmin 253,  11 May 16 13:57 dm-11
    brw-rw----  1 grid asmadmin 253,  12 May 16 13:57 dm-12
    brw-rw----  1 grid asmadmin 253,  13 May 16 13:57 dm-13
    brw-rw----  1 grid asmadmin 253,   2 May 16 13:57 dm-2
    brw-rw----  1 grid asmadmin 253,   3 May 16 13:57 dm-3
    brw-rw----  1 grid asmadmin 253,   4 May 16 13:57 dm-4
    brw-rw----  1 grid asmadmin 253,   5 May 16 13:57 dm-5
    brw-rw----  1 grid asmadmin 253,   6 May 16 13:57 dm-6
    brw-rw----  1 grid asmadmin 253,   7 May 16 13:57 dm-7
    brw-rw----  1 grid asmadmin 253,   8 May 16 13:57 dm-8
    brw-rw----  1 grid asmadmin 253,   9 May 16 13:57 dm-9and:
    # ls -l /dev/vg_main/
    total 0
    lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol1 -> ../dm-2
    lrwxrwxrwx 1 root root 8 May 16 13:57 asmlvol10 -> ../dm-11
    lrwxrwxrwx 1 root root 8 May 16 13:57 asmlvol11 -> ../dm-12
    lrwxrwxrwx 1 root root 8 May 16 13:57 asmlvol12 -> ../dm-13
    lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol2 -> ../dm-3
    lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol3 -> ../dm-4
    lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol4 -> ../dm-5
    lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol5 -> ../dm-6
    lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol6 -> ../dm-7
    lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol7 -> ../dm-8
    lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol8 -> ../dm-9
    lrwxrwxrwx 1 root root 8 May 16 13:57 asmlvol9 -> ../dm-10
    lrwxrwxrwx 1 root root 7 May 16 13:57 lv01_swap -> ../dm-1
    lrwxrwxrwx 1 root root 7 May 16 13:57 lv02_root -> ../dm-0I've used search path for ams disks as /dev/dm* and /dev/vg_main/asm* and seen all of them in both configurations.
    I've tried to reconfigure HAS through (as root):
    $GRID_HOME/crs/install/roothas.pl -deconfig -force -verbose
    $GRID_HOME/root.shthis gave me working asm instance but after restart I'm in base position with no crs services.
    And... I've tried to startup crs after restart with no luck but before restart I can shutdown everything and startup ASM instance too (so everything is fine till the reboot). I'm on CentOS 6:
    $ uname -a
    Linux pc 2.6.32-220.13.1.el6.x86_64 #1 SMP Tue Apr 17 23:56:34 BST 2012 x86_64 x86_64 x86_64 GNU/Linux
    # cat /etc/issue
    CentOS release 6.2 (Final)
    Kernel \r on an \mAny hints about how to resolve this problem would be most welcome.
    Regards.

  • Would oracle start ASM instance automatically?

    Hi there,
    I experienced this yesterday while testing my scripts.
    I wrote couple of unix shell scripts (OEL) - one to shutdown all DBs (which, at the end shuts down the ASM instance as well) and the second one to start all the DBs.
    In the second one, I forgot to inclde the commands to startup the ASM instance first and executed the script. I noticed there were no errors during the DB startup (which included the DB that uses ASM) and when I checked the output of "ps -ef | grep pmon", +ASM instance was already up and running.
    So the ASM instance was started up automatically - I wonder if this is how it should be?
    If this is normal, should I forget about adding ASM instance startup commands to the second shell script?
    Regards

    user12033597 wrote:
    Hi there,
    I experienced this yesterday while testing my scripts.
    I wrote couple of unix shell scripts (OEL) - one to shutdown all DBs (which, at the end shuts down the ASM instance as well) and the second one to start all the DBs.
    In the second one, I forgot to inclde the commands to startup the ASM instance first and executed the script. I noticed there were no errors during the DB startup (which included the DB that uses ASM) and when I checked the output of "ps -ef | grep pmon", +ASM instance was already up and running.
    So the ASM instance was started up automatically - I wonder if this is how it should be?
    If this is normal, should I forget about adding ASM instance startup commands to the second shell script?
    RegardsWhat is the version?
    If 11gR2 , ASM home will come automatically i.e. diskgroups will be mounted.
    or check is there any script mentioned in init.d something like http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php

  • ASM instance on one node can not startup

    use dbca create database failure
    [oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
    Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb.log" for further details.
    [oracle@rac1 ~]$ cat "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb.log"
    PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [CRS-0215: Could not start resource 'ora.rac2.ASM2.asm'.]
    ORA-03135: connection lost contact
    [oracle@rac2 bin]$ ./crs_stat -t
    Name           Type           Target    State     Host
    ora....SM1.asm application    ONLINE    ONLINE    rac1
    ora....C1.lsnr application    ONLINE    ONLINE    rac1
    ora.rac1.gsd   application    ONLINE    ONLINE    rac1
    ora.rac1.ons   application    ONLINE    ONLINE    rac1
    ora.rac1.vip   application    ONLINE    ONLINE    rac1
    ora....SM2.asm application    ONLINE    OFFLINE
    ora....C2.lsnr application    ONLINE    ONLINE    rac2
    ora.rac2.gsd   application    ONLINE    ONLINE    rac2
    ora.rac2.ons   application    ONLINE    ONLINE    rac2
    ora.rac2.vip   application    ONLINE    ONLINE    rac2so i try to start asm instance on rac2
    [oracle@rac2 bin]$ ./srvctl start asm -n rac2
    PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [rac2:ora.rac2.ASM2.asm:
    rac2:ora.rac2.ASM2.asm:SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 25 17:58:21 2011
    rac2:ora.rac2.ASM2.asm:
    rac2:ora.rac2.ASM2.asm:Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    rac2:ora.rac2.ASM2.asm:
    rac2:ora.rac2.ASM2.asm:Enter user-name: Connected to an idle instance.
    rac2:ora.rac2.ASM2.asm:
    rac2:ora.rac2.ASM2.asm:SQL> ORA-03113: end-of-file on communication channel
    rac2:ora.rac2.ASM2.asm:SQL> Disconnected
    rac2:ora.rac2.ASM2.asm:
    CRS-0215: Could not start resource 'ora.rac2.ASM2.asm'.]]
      [PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [rac2:ora.rac2.ASM2.asm:
    rac2:ora.rac2.ASM2.asm:SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 25 17:58:21 2011
    rac2:ora.rac2.ASM2.asm:
    rac2:ora.rac2.ASM2.asm:Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    rac2:ora.rac2.ASM2.asm:
    rac2:ora.rac2.ASM2.asm:Enter user-name: Connected to an idle instance.
    rac2:ora.rac2.ASM2.asm:
    rac2:ora.rac2.ASM2.asm:SQL> ORA-03113: end-of-file on communication channel
    rac2:ora.rac2.ASM2.asm:SQL> Disconnected
    rac2:ora.rac2.ASM2.asm:check the alert log find
    Mon Jul 25 17:58:23 2011
    Maximum Tranmission Unit (mtu) of the ether adapter is different
    on the node running instance 1, and this node.
    Ether adapters connecting the cluster nodes must be configured
    with identical mtu on all the nodes, for Oracle.
    Please ensure the mtu attribute of the ether adapter on all
    nodes are identical, before running Oracle.
    Mon Jul 25 17:58:23 2011
    Errors in file /opt/ora/admin/+ASM/bdump/+asm2_lmon_29711.trc:
    ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
    LMON: terminating instance due to error 27550
    Mon Jul 25 17:58:25 2011
    Shutting down instance (abort)
    License high water mark = 0
    Mon Jul 25 17:58:28 2011
    Instance terminated by LMON, pid = 29711
    Mon Jul 25 17:58:30 2011
    Instance terminated by USER, pid = 29831and i checked my eth
    [root@rac1 oracle]# ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:0C:29:3C:42:0C
              inet addr:192.168.40.102  Bcast:192.168.40.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:9762 errors:0 dropped:0 overruns:0 frame:0
              TX packets:6028 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1193646 (1.1 MiB)  TX bytes:1037252 (1012.9 KiB)
              Interrupt:67 Base address:0x2400
    eth0:1    Link encap:Ethernet  HWaddr 00:0C:29:3C:42:0C
              inet addr:192.168.40.201  Bcast:192.168.40.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Interrupt:67 Base address:0x2400
    eth1      Link encap:Ethernet  HWaddr 00:0C:29:3C:42:16
              inet addr:10.10.17.221  Bcast:10.10.17.225  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:30185 errors:0 dropped:0 overruns:0 frame:0
              TX packets:37936 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:19988844 (19.0 MiB)  TX bytes:35126056 (33.4 MiB)
              Interrupt:51 Base address:0x2480
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:52537 errors:0 dropped:0 overruns:0 frame:0
              TX packets:52537 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:4380651 (4.1 MiB)  TX bytes:4380651 (4.1 MiB)
    [root@rac2 ~]# ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:0C:29:9C:CC:90
              inet addr:192.168.40.103  Bcast:192.168.40.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:3665 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1489 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:563952 (550.7 KiB)  TX bytes:243127 (237.4 KiB)
              Interrupt:67 Base address:0x2400
    eth0:1    Link encap:Ethernet  HWaddr 00:0C:29:9C:CC:90
              inet addr:192.168.40.202  Bcast:192.168.40.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Interrupt:67 Base address:0x2400
    eth1      Link encap:Ethernet  HWaddr 00:0C:29:9C:CC:9A
              inet addr:10.10.17.222  Bcast:10.10.17.225  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:38281 errors:0 dropped:0 overruns:0 frame:0
              TX packets:29683 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:35182270 (33.5 MiB)  TX bytes:19905266 (18.9 MiB)
              Interrupt:51 Base address:0x2480
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:44387 errors:0 dropped:0 overruns:0 frame:0
              TX packets:44387 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:2299383 (2.1 MiB)  TX bytes:2299383 (2.1 MiB)any idea ?
    i try to run dbca on rac2 ,it seems OK
    ============
    ASM instance still have problem,no ASM instance create in rac1
    [oracle@rac2 bin]$ ./crs_stat -t
    Name           Type           Target    State     Host
    ora.mydb.db    application    ONLINE    ONLINE    rac1
    ora....b1.inst application    ONLINE    OFFLINE
    ora....b2.inst application    ONLINE    ONLINE    rac2
    ora....SM1.asm application    ONLINE    OFFLINE
    ora....C1.lsnr application    ONLINE    ONLINE    rac1
    ora....C2.lsnr application    ONLINE    OFFLINE              =>  ora.rac1.LISTENER_RAC2.lsnr   (i do not know where this resource come from ??)
    ora.rac1.gsd   application    ONLINE    ONLINE    rac1
    ora.rac1.ons   application    ONLINE    ONLINE    rac1
    ora.rac1.vip   application    ONLINE    ONLINE    rac1
    ora....SM2.asm application    ONLINE    ONLINE    rac2
    ora....C2.lsnr application    ONLINE    ONLINE    rac2
    ora.rac2.gsd   application    ONLINE    ONLINE    rac2
    ora.rac2.ons   application    ONLINE    ONLINE    rac2
    ora.rac2.vip   application    ONLINE    ONLINE    rac2and here is my dbca.rsp file content
    [GENERAL]
    RESPONSEFILE_VERSION = "10.0.0"
    OPERATION_TYPE = "createDatabase"
    [CREATEDATABASE]
    GDBNAME = "mydb.us.oracle.com"
    SID = "mydb"
    NODELIST=rac1,rac2
    TEMPLATENAME = "/home/oracle/mydb.dbc"
    SYSPASSWORD = "Myss123456"
    SYSTEMPASSWORD = "Myss123456"
    EMCONFIGURATION = "NONE"
    DBSNMPPASSWORD = "Myss123456"
    STORAGETYPE=ASM
    DISKLIST=/dev/oracleasm/disks/VOL1,/dev/oracleasm/disks/VOL2
    DISKGROUPNAME=ORADG
    REDUNDANCY=EXTRENAL
    DISKSTRING="/dev/oracleasm/disks/*"
    ASM_SYS_PASSWORD="Myss123456"
    LISTENERS = "listener1 listener2"Edited by: 859340 on 2011-7-24 下午7:23
    Edited by: 859340 on 2011-7-24 下午7:32
    Edited by: 859340 on 2011-7-24 下午7:35
    Edited by: 859340 on 2011-7-24 下午7:51

    Hi,
    Use this tech note on MOS.
    *Instance Crash on startup with ORA-27550: Target ID protocol check failed [ID 730516.1]*
    Regards,
    Levi Pereira

  • How does 1 ASM instance in a 10 node RAC cause all 10 ASM instance to hang

    Linux RHEL4
    11.2.0.1.0 GI
    11.2.0.1.0 RDBMS
    11.1.0.7.0 RDBMS
    10.2.0.4.4 RDBMS
    Yesterday we had one of the ASM instance on our 10-node cluster hang with a latch "ASM file allocation latch". Oracle support has stated we are hitting a bug with is fixed in the latest PSU.
    What I am trying to understand is how a latch on one ASM instance caused all 10 ASM instances to hang?
    Oracle Supports explanation still does not answer how all 10 ASM instance were affected other then the faulty code that the patch fixes. Bellow is info out of the SAR.
    Data Guard Site:
    ================
    ARC1 PID 21508 reports ORA-240 'control file enqueue held for more than 120 seconds' at Thu Oct 28 11:35:54 2010. This message means ARC1 PID 21508 was holding the enqueue past the maximum tine limit of 120 seconds.
    Next ARC0 PID 17398 reports ORA-16146: 'control file enqueue unavailable' at Thu Oct 28 11:36:52 2010. This means ARC0 PID 17398 tried to access the controlfile and it could get the lock.
    ARC1 PID 21508 is then killed at Thu Oct 28 11:49:57 2010.
    Killing enqueue blocker (pid=21508) on resource CF-00000000-00000000 by (pid=23078) by killing session 5.3
    We see that RSM has been restarted by Broker. This matches to the alert.log and messages showing RSM being restarted several time. i.e. RSM0 started with pid=84, OS id=27915
    Since this started happening around 11:14, the problem may have really started then instead of w/ the CF enqueue block.
    The primary appears to be shipping redo to the standby using asynchronous mode. Unless there was a gap, I do no know if ARC1 should have been doing any remote network I/O. Because a log switch to thread 1 sequence 5235 had just happened at 11:33am, I suspect it was a local disk I/O that was started at least. The ORA-240 is reported at 11:35, exactly 120 sec (or 2min) from this log switch. Notice also the entry to show the log thread 1 sequence 5234 was registered to the controlfile didn't happen yet.
    ASM Side:
    ============
    From the systemstate dump on ASM, multiple processes are waiting on 'ASM file allocation latch' and we are kind of stuck on stack:
    ksedsts()+461<-ksdxfstk()+32<-ksdxcb()+1782<-sspuser()+112<-0000003218E0C5B0<-kfuhInsert()+175<-kffilCreate()+601<-kfnsUFG()+3691<-kfnsBackground()+4382<-kfnDispatch()+527<-opiodr()+1149<-ttcpip()+1251<-opitsk()+1633<-opiino()+958<-opiodr()+1149<-opidrv()+570<-sou2o()+103<-opimai_real()+133<-ssthrdmain()+214<-main()+201<-__libc_start_main()+219
    This caused the hang on the ASM side and hence ASM was not responding to the database. The CF Enqueue issue on the database was a side effect of this.
    This is a direct <BUG:9232266> which is a duplicate of <BUG:8974548>

    Thanks Murali,
    I was little reluctent to open a tar since my experince says that its better to troubleshoot the issue yourself instead of spending time with the Oracle support :)
    Well, I got some more information on this : the sql for the process id of ASM instance is :
    Alter Diskgroup mount all;
    It looks like it is unable to mount the diskgroup and get hunged at that point , is it due to the new disk added to the system or do we missed something after adding the new disk.
    Also, the ASM process can not be killed from unix box while the ASM is down.
    Will appreciate your time if we can move in any directions from here ..
    Thanks ,
    Ankur

  • Backing up a +ASM instance

    I have started using asm and another DBA asked me if we should be backing up the +ASM instance.  Right now we are not.  Should we and how if we should?                                                                                                                                                                                                                                                                                                               

    There is no need nore way to backup an ASM instance, as it is only memory structures.
    You may backup the ASM spfile, to be able to restart the ASM instance in case of lossing it's init.ora or spfile.
    The physical data of ASM, the diskgroups metadata, is written on every header of the disk members. If you are using normal or high redundancy the metadata will be protected by ASM if you are using external redundancy it will be protected by the storage array you are using.
    ASM Data, will be backed up as usual, using Rman or Storage snapshots.

  • 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

  • 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

Maybe you are looking for

  • Maintaining different sessions in browser tabs in ADF 11g application

    I have a simple ADF 11g application which uses ADF BC 11g. I want to maintain different sessions between the tabs in the same browser. Currently it is messing up with session variables. Please reply to me ASAP. Thanks, Bobby Edited by: 866444 on Jun

  • Problem with prod. ver. explosion to production order

    Hi I have problem with production versions. I have FERT with 3 production versions. Additionaly we have Z-program (on Z-table) which control parameter sold to party (from sale order) with production version. So after MRP I see in planned order right

  • Photo orientation in i-pad

    When I try to send photos from my i-pad in an e-mail, they always appear upside-down to the recipient.  Is there a way to either prevent this or rotate the photo before sending it?  Any suggestions would be greatly appreciated.

  • Potential session problems

    We are having a random error, where after logging into our application and running smoothly for several minutes, at some point we must re-login to our application. We are using Weblogic Server 5.1. We are using IIS v4.0 as our html proxy. We have 2 j

  • Problems with the plugin of QT 7.3

    I just installed the latest version of quicktime and itunes in my pc. itunes work fine and quicktime as well. But when I try to see a video shown with quick time, I just can't watch it. I can hear but the little screen just shows a green constantly?