I finally passed 11G New Features exam to upgrade my 10G OCP and now the new target is becoming Managing Oracle on Linux Certified Expert. I will write a blog post about my opinions and my approach to Oracle Certification when I find time, but now, what I want to write is, a problem I faced during my tests for the exam.
When I was testing to start oracle (ASM Database Listener and dbconsole together) as a service during the server boot , my ASM instance was always failing with the error
“ORA-29701: unable to connect to Cluster Manager”
ASM needs CSS daemons to start before it starts, no matter the sequence was right( like below) ASM wasn’t starting because CSS daemons wasn’t starting in time.
service startup sequence
On Metalink this problem listed as Bug 3458327 . As explained on Metalink Note Id: 264235.1 the workaround is changing the location of the line in which CSS daemon start (which is probably at the bottom of inittab) to between run levels rc2.d and rc3.d to make it ready for use of ASM instance like below,
h1:35:respawn:/etc/init.t/init.cssd run >/dev/null 2>&1 </dev/null
Another option is to change your service script to sleep for 120 sec (thanks Martin for correction) but I prefer the one on the top.
Tests are done on 220.127.116.11 running on Oracle EL5