Troubleshooting restore OCR

So, as you know if you have problem with your diskgroup in ASM which contain OCR/Voting. You can re-create diskgroup and restore ocr from backup and make new voting files. But there are smaller nuance. You need to set attribute “compatible.asm” equal or greater 11.2.0.0 otherwise you will get an error.

# /opt/oracle/product/grid/11.2.0.4/bin/ocrconfig -restore /opt/oracle/product/grid/11.2.0.4/cdata/cluster-name/backup00.ocr
PROT-35: The configured OCR locations are not accessible.

# /opt/oracle/product/grid/11.2.0.4/bin/crsctl replace votedisk +OCRVT
Oracle Cluster Registry initialization failed accessing Oracle Cluster Registry device: PROC-26: Error while accessing the physical storage
ASMCMD> lsattr -l -G ocrvt
Name  Value
ASMCMD> setattr -G ocrvt compatible.asm 11.2.0.4.0
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s