OCR v.s OLR

The OCR holds the metadata and wallets for all the resounces under the CRSD statck and its agents.  OCR still hol information about local resources, but it's not required to be accesible to join the cluster.  It includes information about the state of resouces, how to stop/start resources.  At least one OCR must exist, but you can have it up to five copies. In 11gR2, OCR can be stored in ASM.  The OCR location can be found in /etc/oracle/ocr.loc

+ASM1 - oracle: ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          3
         Total space (kbytes)     :     262120
         Used space (kbytes)      :       3528
         Available space (kbytes) :     258592
         ID                       : 1710014838
         Device/File Name         :        +OV
                                    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

From the output above, there are 5 slots, but one is used. 

The OLR holds metadata for the local nodeand GPnP profile.  It's managed by the OHASD and also manages the low-level processes required to allow a node to join a cluster.  None of the OLR data is shared.

 - root: ocrcheck -local
Status of Oracle Local Registry is as follows :
         Version                  :          3
         Total space (kbytes)     :     262120
         Used space (kbytes)      :       2572
         Available space (kbytes) :     259548
         ID                       :  272464046
         Device/File Name         : /apps/grid/11.2.0/grid/cdata/dbplno155.olr
                                    Device/File integrity check succeeded
         Local registry integrity check succeeded
         Logical corruption check succeeded

 or you can view it in /etc/oracle/olr.loc

No comments:

Post a Comment