Database Reference
In-Depth Information
The file pointers created from executing root.sh could be verified under /etc/oracle .
4.
[root@ssky1l4p2 oracle]# cat /etc/oracle/olr.loc
olrconfig_loc=/u01/app/12.1.0.1/grid/cdata/ssky1l4p2.olr
crs_home=/u01/app/12.1.0.1/grid
Verify whether the OLR file listed in the olr.loc file in Step 6 sequence 4 is present.
5.
[root@ssky1l4p2 oracle]# ls -ltr /u01/app/12.1.0.1/grid/cdata/ssky1l4p2.olr
-rw------- 1 root root 503484416 Sep 6 16:41/u01/app/12.1.0.1/grid/cdata/ssky1l4p2.olr
[root@ssky1l4p2 oracle]#
This completes the recovery of the OLR file—the entire clusterware stack is operational and the instances will
start up automatically once the clusterware components have been started.
there is another scenario in which a missing or corrupted Olr could be determined based on an ohasd.log file.
when the clusterware does not start on system reboot or when the OhasD demaon is shut down as part of the process.
the ohasd.log file contains the information seen in the following. the process required to restore the OCr file is the
same as discussed in the earlier workshop.
Note
2014-09-06 12:00:04.443: [ default][2829522464] OHASD Daemon Starting. Command string :restart
2014-09-06 12:00:04.443: [ default][2829522464] OHASD params []
2014-09-06 12:00:04.462: [ default][2829522464] Initializing OLR
2014-09-06 12:00:04.463: [ default][2829522464]proa_init: OLR Abstraction layer initialization.
Bootlevel:[1]
2014-09-06 12:00:04.542: [ OCRAPI][2829522464]a_init: Successfully initialized the patch management
context.
2014-09-06 12:00:04.542: [ OCRAPI][2829522464]a_init: Successfully initialized the OLR specific
states.
2014-09-06 12:00:04.542: [ OCRAPI][2829522464]a_init:13: Clusterware init successful
2014-09-06 12:00:04.542: [ OCRAPI][2829522464]a_init:15: Successfully initialized the Cache layer.
2014-09-06 12:00:04.542: [ OCRRAW][2829522464]proprioo: opening OCR device(s)
2014-09-06 12:00:04.542: [ OCROSD][2829522464]utopen:6m': failed in stat OCR file/disk
/u01/app/12.1.0.1/grid/cdata/ssky1l4p2.olr, errno=2, os err string=No such file or directory
2014-09-06 12:00:04.542: [ OCROSD][2829522464]utopen:7: failed to open any OCR file/disk, errno=2,
os err string=No such file or directory
2014-09-06 12:00:04.543: [ OCRRAW][2829522464]proprinit: Could not open raw device
2014-09-06 12:00:04.543: [ OCRAPI][2829522464]a_init:16!: Backend init unsuccessful : [26]
2014-09-06 12:00:04.543: [ CRSOCR][2829522464] OCR context init failure. Error: PROCL-26: Error
while accessing the physical storage Operating System error [No such file or directory] [2]
2014-09-06 12:00:04.544: [ default][2829522464] Created alert : (:OHAS00106:) : OLR initialization
failed , error: PROCL-26: Error while accessing the physical storage Operating System error
[No such file or directory] [2]
2014-09-06 12:00:04.544: [ default][2829522464][PANIC] OHASD exiting; Could not init OLR
2014-09-06 12:00:04.544: [ default][2829522464] Done.
 
Search WWH ::




Custom Search