Tuesday, February 25, 2014

Oracle Local Registry

  • The Oracle Local Registry (OLR) is a registry similar to OCR and is located on each node in a cluster, but contains information specific to each node. 
  • It contains manageability information about Oracle Clusterware, including dependencies between various services. 
  • Oracle High Availability Services uses this information. 
  • OLR is located on local storage on each node in a cluster. 
  • Its default location is in the path Grid_home/cdata/host_name.olr, where Grid_home is the Oracle Grid Infrastructure home, and host_name is the host name of the node. 

To check the OLR, execute the ocrcheck -local command on the desired node.

$ ocrcheck –local

To view the contents of the OLR, execute the ocrdump -local command, redirecting the output to stdout:

$ ocrdump -local -stdout

# ocrcheck -local
Status of Oracle Local Registry is as follows :
   Version                  :          3
   Total space (kbytes)     :     262120
   Used space (kbytes)      :       2644
   Available space (kbytes) :     259476
   ID                       :  250248496
   Device/File Name         : /u01/app/11.2.0/grid/cdata/host01.olr
         Device/File integrity check succeeded
         Local registry integrity check succeeded
         Logical corruption check succeeded

No comments:

Post a Comment