Hi All,
As said in my previous article Installing Oracle 10gr2 CRS can be nightmare if proper requirements are not fulfilled. I faced a similar problem when I was Installing Oracle 10gr2 CRS on Solaris SPARC 64 bit
After Ruunning the OUI and the Orainstroot.sh script , when the root.sh was run on the first node the root.sh script failed giving the Message
Failed To Upgrade Oracle Cluster Registry Configuration
However when I checked the $ORA_CRS_HOME/log/alertnodename.log it showed the following lines
[client(1651)]CRS-1006:The OCR location /dev/rdsk/c4t0d2s0 is inaccessible.
Details in
/Oracle01/ufia/oracle/10.2.2/crs/log/haystack/client/ocrconfig_1651.log
When I checked $ORA_CRS_HOME/log/client/ocrconfig_1651.log it showed the following lines
2006-04-12 12:04:51.261: [ OCRCONF][1]ocrconfig starts…
2006-04-12 12:04:51.262: [ OCRCONF][1]Upgrading OCR data
2006-04-12 12:04:51.284: [ OCRCONF][1]OCR already in current version.
2006-04-12 12:04:51.317: [ OCRCONF][1]Failed to call clsssinit (21)
2006-04-12 12:04:51.317: [ OCRCONF][1]Failed to make a backup copy of OCR
2006-04-12 12:04:51.317: [ OCRCONF][1]Exiting [status=failed]…
ocrconfig_4804.log
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005
Oracle. All rights
reserved.
2006-04-18 12:17:16.407: [ OCRCONF][1]ocrconfig starts…
2006-04-18 12:17:16.409: [ OCRCONF][1]Upgrading OCR data
2006-04-18 12:17:16.498: [ OCRRAW][1]propriogid:1: INVALID FORMAT
2006-04-18 12:17:16.501: [ OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT
2006-04-18 12:17:16.501: [ OCRRAW][1]proprinit:problem reading the bootblock
or superbloc 22
2006-04-18 12:17:16.501: [ default][1]a_init:7!: Backend init unsuccessful :
[22]
2006-04-18 12:17:16.502: [ OCRCONF][1]Exporting OCR data to [OCRUPGRADEFILE]
2006-04-18 12:17:16.503: [ OCRAPI][1]a_init:7!: Backend init unsuccessful :
[33]
2006-04-18 12:17:16.504: [ OCRCONF][1]There was no previous version of OCR.
error:[PROC-33:
Oracle Cluster Registry is not
configured]
2006-04-18 12:17:16.507: [ OCRRAW][1]propriogid:1: INVALID FORMAT
2006-04-18 12:17:16.508: [ OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT
2006-04-18 12:17:16.508: [ OCRRAW][1]proprinit:problem reading the bootblock
or superbloc 22
2006-04-18 12:17:16.508: [ default][1]a_init:7!: Backend init unsuccessful :
[22]
2006-04-18 12:17:16.512: [ OCRRAW][1]propriogid:1: INVALID FORMAT
2006-04-18 12:17:16.512: [ OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT
2006-04-18 12:17:16.512: [ OCRRAW][1]proprinit:problem reading the bootblock
or superbloc 22
2006-04-18 12:17:16.515: [ OCRRAW][1]propriogid:1: INVALID FORMAT
2006-04-18 12:17:16.665: [ OCRRAW][1]propriowv: Vote information on disk 0
[/dev/rdsk/c4t0d3s0]
is adjusted from [0/0] to
[2/2]
2006-04-18 12:17:16.791: [ OCRRAW][1]propriniconfig:No 92 configuration
2006-04-18 12:17:16.791: [ OCRAPI][1]a_init:6a: Backend init successful
2006-04-18 12:17:17.396: [ OCRCONF][1]Initialized DATABASE keys in OCR
2006-04-18 12:17:17.482: [ OCRCONF][1]csetskgfrblock0: clsfmt returned with
error [4].
2006-04-18 12:17:17.482: [ OCRCONF][1]Failure in setting block0 [-1]
2006-04-18 12:17:17.482: [ OCRCONF][1]OCR block 0 is not set !
2006-04-18 12:17:17.483: [ OCRCONF][1]Exiting [status=failed]…
The problem was when you are using RAW devices to configure your OCR location you must select a partition which atleast 100 Mb in size (I prefer 250 Mb) .However in solaris when you use cylinder 0 for this RAW partition then you can get the above error which was the case with me.
The explanation for this is
In Solaris when you configure OCR ( or even Voting Disk) on RAW Device you must skip first 1 MB or first few cylinders to avoid overwriting on Disk VTOC.
Hence the solution to avoid this problem is cleanup the failed CRS installation ( steps are given in my previous articles) and format the RAW partitions used for OCR and Voting Disks and avoid using cylinder 0 or first 1 MB.
Hi All,
One can have nightmares ( and also Night outs
) installing Oracle 10g CRS especially when final root.sh fails script fails.
The same case has happened with me and I had to clean out my failed CRS installation 8 times due to different problems while I was installing oracle 10g CRS on Sun Solaris Ultra SPARC 64 bit machine.
So, I had almost mastered cleaning up failed CRS installation on Solaris and thought that I would like to share this experience with you people.