Note:
This procedure assumes default installation of Oracle Clusterware on all nodes in the cluster, where Oracle Clusterware autostart is enabled.
Use the following procedure to import OCR on Windows systems:
C:\>olsnodes
C:\>crsctl stop crs
If the preceding command returns any error due to OCR corruption, stop Oracle Clusterware by running the following command as a member of the Administrators group on all of the nodes:
C:\>crsctl stop crs -f
C:\>crsctl start crs -excl
Ignore any errors that display.
Check whether CRSD is running. If it is, stop it by running the following command as a member of the Administrators group:
C:\>crsctl stop resource ora.crsd -init
Caution:
Do not use the -init flag in any other command.
C:\>ocrconfig -import file_name
Make sure that the OCR devices that you specify in the OCR configuration exist and that these OCR devices are valid.
Note:
If the original OCR location does not exist, then you must create an empty (0 byte) OCR location before you run the ocrconfig -import command.
Ensure that the OCR devices that you specify in the OCR configuration exist and that these OCR devices are valid.
Ensure that the Oracle ASM disk group you specify exists and is mounted.
See Also:
Oracle Grid Infrastructure Installation Guide for information about creating OCRs
Oracle Automatic Storage Management Administrator's Guide for more information about Oracle ASM disk group management
C:\>ocrcheck
C:\>crsctl stop crs -f
C:\>crsctl start crs
C:\>cluvfy comp ocr -n all -verbose
See Also:
Cluster Verification Utility Reference for more information about enabling and using CVU