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
Pages: Page 1, Page 2, Page 3, Page 4
Hi, Nicely described, almost the same activity i intend to perform.
i have to have one confirmation:
will this all cause any downtime????
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.