Tuesday, February 25, 2014

Determining the Location of Oracle Clusterware Configuration Files

The two primary configuration file types for Oracle Clusterware are the voting disk and the Oracle Cluster Registry (OCR).

The location of the OCR file can be determined by using the cat /etc/oracle/ocr.loc command. 

To determine the location of the voting disk:
$ crsctl query css votedisk
##  STATE  File Universal Id                File Name  Disk group
--  -----  -----------------                ---------- ----------
 1. ONLINE 8c2e45d734c64f8abf9f136990f3daf8 (ASMDISK01) [DATA]
 2. ONLINE 99bc153df3b84fb4bf071d916089fd4a (ASMDISK02) [DATA]
 3. ONLINE 0b090b6b19154fc1bf5913bc70340921 (ASMDISK03) [DATA]
Located 3 voting disk(s).


To determine the location of the OCR:
$ ocrcheck -config
Oracle Cluster Registry configuration is :
         Device/File Name         :      +DATA

No comments:

Post a Comment