Use the ocrconfig -add
command to add an OCR ___location to a shared file system or Oracle Automatic Storage Management (Oracle ASM) disk group. OCR locations that you add must exist, have sufficient permissions, and, in the case of Oracle ASM disk groups, must be mounted before you can add them.
You must run this command as root
.
The location_name
variable can be a file name or the name of an Oracle ASM disk group. For example:
/oradbocfs/crs/data.ocr
: You must create an empty (0 byte) OCR ___location
d:\oracle\mirror.ocr
: You must create an empty (0 byte) OCR ___location
+newdg
: Ensure that the disk group exists and is mounted
If you specify an Oracle ASM disk group, then the name of the disk group must be preceded by a plus sign (+
).
See Also:
Oracle Grid Infrastructure Installation Guide for information about creating OCR locations and setting correct permissions
Oracle Automatic Storage Management Administrator's Guide for more information about Oracle ASM disk group management