Home » RDBMS Server » Server Administration » problem bringing ASM instance up (10g on redhat 4 (Unbreakable linux))
problem bringing ASM instance up [message #422069] Mon, 14 September 2009 03:42 Go to next message
samiraly
Messages: 57
Registered: June 2009
Member

Hi
i have installed ASM instance , oracle database 10g instance over ASM and every thing was perfect and i was able to query example schema tables and data every thing is ok
then i rebooted the macheen , login to oracle user ,sat ORACLE_HOME ,ORACLE_SID , PATH env parameters and then i tried to start ASM instance . it fails with the followng error
[oracle@localhost ~]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Sun Sep 13 22:18:29 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORA-29701: unable to connect to Cluster Manager
SQL>


ENV PARAMETERS ARE SET AS FOLLOWS

[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/10.2.0/asm
[oracle@localhost ~]$ echo $ORACLE_SID
+ASM
[oracle@localhost ~]$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin:
/u01/app/oracle/product/10.2.0/asm/bin
[oracle@localhost ~]$



both asm instance and oracle instance installed on the sam user
in deferent home location

thanks for you help

[Updated on: Tue, 21 February 2012 05:47] by Moderator

Report message to a moderator

Re: problem bringing ASM instance up [message #422079 is a reply to message #422069] Mon, 14 September 2009 04:05 Go to previous messageGo to next message
samiraly
Messages: 57
Registered: June 2009
Member

Hi

i lagge into linux using root user and did the following steps
[oracle@localhost ~]$ su root
Password:
[root@localhost oracle]# /u01/app/oracle/product/10.2.0/asm/bin/localconfig delete
Stopping CSSD.
Unable to communicate with the CSS daemon.
Shutdown has begun. The daemons should exit soon.
[root@localhost oracle]# /u01/app/oracle/product/10.2.0/asm/bin/localconfig add 
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
Startup will be queued to init within 90 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
        localhost
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)
[root@localhost oracle]#




then i went to oracle user and started the asm instance

[oracle@localhost ~]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Sun Sep 13 23:00:35 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ASM instance started

Total System Global Area   83886080 bytes
Fixed Size                  1217836 bytes
Variable Size              57502420 bytes
ASM Cache                  25165824 bytes
ASM diskgroups mounted
SQL>



It works but the quistion is shall i do the sam every time i want to start the instance ?

[Updated on: Tue, 21 February 2012 05:37] by Moderator

Report message to a moderator

Re: problem bringing ASM instance up [message #422128 is a reply to message #422079] Mon, 14 September 2009 09:36 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
>>shall i do the sam every time i want to start the instance ?
Well,
Try it!.
Reboot the node and see what happens.
This is known behavior.
quoting docs
Quote:
Running Oracle Cluster Synchronization Services from a Different Oracle Home

To reconfigure Oracle Cluster Synchronization Services (CSS) to run from a different Oracle home, enter the following at the command prompt:

localconfig reset [destination_Oracle_home]

where destination_Oracle_home is required if you run this command from the Oracle home where the CSS service is currently configured.


In your case, you already manually deleted and added the new home.
Re: problem bringing ASM instance up [message #422244 is a reply to message #422128] Tue, 15 September 2009 04:35 Go to previous messageGo to next message
samiraly
Messages: 57
Registered: June 2009
Member

Thank You
maheesh currently testing your action plan
Re: problem bringing ASM instance up [message #422263 is a reply to message #422069] Tue, 15 September 2009 05:35 Go to previous messageGo to next message
samiraly
Messages: 57
Registered: June 2009
Member

Hi Mahesh
it does works , issue resolved , i would like to add that i have to start this service evry time the machine rebooted

Thank you Maheesh Smile
Re: problem bringing ASM instance up [message #422341 is a reply to message #422263] Tue, 15 September 2009 09:23 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Quote:
i have to start this service evry time the machine rebooted

If you prefer, you can automate that too.
Just fix your oratab,dbstart /dbshut and add appropriate entries in init.d scripts.
Here is a simple example.
http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_10.shtml#Startup%20Scripts

Re: problem bringing ASM instance up [message #422362 is a reply to message #422069] Tue, 15 September 2009 16:51 Go to previous messageGo to next message
samiraly
Messages: 57
Registered: June 2009
Member

this is very great maheesh reviwing the link thank you:)
Re: problem bringing ASM instance up [message #422363 is a reply to message #422069] Tue, 15 September 2009 16:58 Go to previous message
samiraly
Messages: 57
Registered: June 2009
Member

great link Maheesh thanks alot
Previous Topic: Addition of datafile (merged 3)
Next Topic: How to calcutate undo needed for operation (alter table add column)
Goto Forum:
  


Current Time: Mon Jul 01 01:33:39 CDT 2024