Run the following command to change the ___location where OCR creates backups:
ocrconfig -backuploc file_name
The file_name
variable in the preceding command can be a full directory path name that is accessible by all nodes, or it can be an Oracle ASM disk group that is mounted on all nodes. You must migrate OCR to Oracle ASM before changing the OCR backup ___location to an Oracle ASM disk group. You can change the OCR backup ___location to an Oracle ASM disk group only if there is at least one Oracle ASM OCR ___location in a separate disk group.
For example, to specify an OCR backup ___location in a directory:
# ocrconfig -backuploc Grid_home/cdata/cluster3
To specify an OCR backup ___location in an Oracle ASM disk group:
# ocrconfig –backuploc +bkupdg
Note:
On Linux and UNIX systems, you must be root
user to run most but not all of the ocrconfig
command options. On Windows systems, the user must be a member of the Administrator's group.
See Also:
"Administering Oracle Cluster Registry with Export and Import Commands" to use manually created OCR export files to copy OCR content and use it for recovery
"OCRCONFIG Command Reference" for more information about OCRCONFIG commands