Oracle Cluster Registry (OCR) File location :
Need to find the location of OCR but your CRS is down. Then how we can find?
Below are the methods from which we can find out where your OCR files are stored.
- When CRS is up & running
- When CRS is down or UP
##########################
# 1) When CRS is Up & Running
##########################
Set ASM environment or crs environment to run the below command.
ocrcheck
+ASM3 @ myhost03:/
> ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3788
Available space (kbytes) : 258332
ID : 519574392
Device/File Name : +OCR_VOTE
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check bypassed due to non-privileged user
So here OCR files are stored in +OCR_VOTE Diskgroup
##########################
# 2) When CRS is Down or Up
##########################
Look into ocr.loc file, Location of this file changes depending on the OS,
In Linux Platforms, /etc/oracle/ocr.loc
In Solaris Platforms, /var/opt/oracle/ocr.loc
+ASM3 @ myhost03:/
> more /etc/oracle/ocr.loc
ocrconfig_loc= +OCR_VOTE
local_only=FALSE
No comments:
Post a Comment