Relocate_OCR_Votedisks

Move OCR registry to a different ASM group

# $GRID_HOME/bin/ocrcheck
Status of Oracle Cluster Registry is as follows :
     Version                  :          3
     Total space (kbytes)     :     262120
     Used space (kbytes)      :       3232
     Available space (kbytes) :     258888
     ID                       :   29535125
     Device/File Name         :      +DATA
                                    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 succeeded

#  $GRID_HOME/bin/ocrconfig -add +OCR
PROT-30: The Oracle Cluster Registry location to be added is not usable
PROC-8: Cannot perform cluster registry operation because one of the parameters is invalid.
ORA-15056: additional error message
ORA-17502: ksfdcre:4 Failed to create file +OCR.255.1
ORA-15001: diskgroup "OCR" does not exist or is not mounted
ORA-06512: at line 4
--> Use asmca and create diskgroup OCR

#  $GRID_HOME/bin/ocrconfig -add +OCR
# $GRID_HOME/bin/ocrcheck
Status of Oracle Cluster Registry is as follows :
     Version                  :          3
     Total space (kbytes)     :     262120
     Used space (kbytes)      :       3252
     Available space (kbytes) :     258868
     ID                       :   29535125
     Device/File Name         :      +DATA
                                    Device/File integrity check succeeded
     Device/File Name         :       +OCR
                                    Device/File integrity check succeeded
     Cluster registry integrity check succeeded
     Logical corruption check succeeded
..
# $GRID_HOME/bin/ocrconfig -delete +DATA
# $GRID_HOME/bin/ocrcheck
Status of Oracle Cluster Registry is as follows :
     Version                  :          3
     Total space (kbytes)     :     262120
     Used space (kbytes)      :       3252
     Available space (kbytes) :     258868
     ID                       :   29535125
     Device/File Name         :       +OCR
                                    Device/File integrity check succeeded
     Cluster registry integrity check succeeded
     Logical corruption check succeeded

Potential Errors

If no all instances were running  or you have network problems during the replace operation  you may get PROT-26, PROT-602 errors running ocrcheck and CRS does not start .

$GRID_HOME/bin/ocrcheck
PROT-602: Failed to retrieve data from the cluster registry
PROC-26: Error while accessing the physical storage

Check the local ocr.loc file
# cat /etc/oracle/ocr.loc
ocrconfig_loc=+DATA
local_only=FALSE

and change the ASM diskgroup ( like +OCR ) and reboot your CRS stack

Leave a Reply

Your email address will not be published. Required fields are marked *