Create a new diskgroup for OCR

Use ascma and create new Data group named OCR and verify that this datagroup is mounted

$ asmcmd lsdg
State    Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
MOUNTED  NORMAL  N         512   4096  1048576     40944    25698            10236            7731              0             Y  DATA/
MOUNTED  NORMAL  N         512   4096  1048576      6200     5730             2047            1841              0             N  NEW_OCR/

 

Check the current OCR location

# $GRID_HOME/bin/ocrcheck
Status of Oracle Cluster Registry is as follows :
Version                  :          3
Total space (kbytes)     :     265142
Used space (kbytes)      :       3664
Available space (kbytes) :     258456
ID                       :  631586264
Device/File Name         :      +DATA
Device/File integrity check succeeded

Add +OCR datagroup as new OCR location and verify status

#  $GRID_HOME/bin/ocrconfig -add +NEW_OCR

#  $GRID_HOME/bin/ocrcheck
Status of Oracle Cluster Registry is as follows :
Version                  :          3
Total space (kbytes)     :     265142
Used space (kbytes)      :       3664
Available space (kbytes) :     258456
ID                       :  631586264
Device/File Name         :      +DATA
Device/File integrity check succeeded
Device/File Name         :       +NEW_OCR
Device/File integrity check succeeded

Delete the old OCR location

# $GRID_HOME/bin/ocrconfig -delete +DATA

Check the current OCR location


# $GRID_HOME/bin/ocrcheck

Status of Oracle Cluster Registry is as follows :
Version                  :          3
Total space (kbytes)     :     265142
Used space (kbytes)      :       3664
Available space (kbytes) :     258456
ID                       :  631586264
Device/File Name         :       +NEW_OCR
Device/File integrity check succeeded

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.