Relocate OCR and Voting Disks to a different ASM diskgroup ( 11.2.0.4 )

Relocate OCR from +DATA to +OCR diskgroup

Check the current OCR location
# $GRID_HOME/bin/ocrcheck
Status of Oracle Cluster Registry is as follows :
     Version                  :          3
     Total space (kbytes)     :     262120
     Used space (kbytes)      :       3664
     Available space (kbytes) :     258456
     ID                       :  630679368
     Device/File Name         :      +DATA
                                    Device/File integrity check succeeded

Add +OCR datagroup as new OCR location and verify status
#  $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)      :       3664
     Available space (kbytes) :     258456
     ID                       :  630679368
     Device/File Name         :      +DATA
                                    Device/File integrity check succeeded
     Device/File Name         :       +OCR
                                    Device/File integrity check succeeded 

Delete the old OCR location 
# $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)      :       3664
     Available space (kbytes) :     258456
     ID                       :  630679368
     Device/File Name         :       +OCR
                                    Device/File integrity check succeeded

3 thoughts on “Relocate OCR and Voting Disks to a different ASM diskgroup ( 11.2.0.4 )”

  1. Hi, Nicely described, almost the same activity i intend to perform.
    i have to have one confirmation:
    will this all cause any downtime????

    1. No these operations are not expected to cause any downtime.
      But as as always in a RAC and high production env you should test
      and verify any change on a test cluster first.

Leave a Reply

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