First, OCR
Check Ocrcheck
[Root@rac1 app]# Ocrcheck
Status of Oracle Cluster Registry is as follows:
Version:3
Total Space (Kbytes): 262120
Used Space (Kbytes): 2424
Available Space (Kbytes): 259696
id:1918230846
Device/file Name: +crs
Device/file Integrity Check Succeeded
Device/file Not Configured
Device/file Not Configured
Device/file Not Configured
Device/file Not Configured
Cluster Registry Integrity Check succeeded
Logical corruption Check Succeeded
[Root@rac2 app]# Ocrcheck
Status of Oracle Cluster Registry is as follows:
Version:3
Total Space (Kbytes): 262120
Used Space (Kbytes): 2424
Available Space (Kbytes): 259696
id:1918230846
Device/file Name: +crs
Device/file Integrity Check Succeeded
Device/file Not Configured
Device/file Not Configured
Device/file Not Configured
Device/file Not Configured
Cluster Registry Integrity Check succeeded
Logical corruption Check Succeeded
[Root@rac2 app]# Ocrconfig-h
Name:
Ocrconfig-configuration tool for Oracle cluster/local Registry.
Synopsis:
ocrconfig [option]
Option
[-local]-export <filename>
-Export OCR/OLR contents to a file
[-local]-import <filename>-Import OCR/OLR contents from a file
[-local]-upgrade [<user> [<group>]]
-Upgrade OCR from previous version
-downgrade [-version <version String>]
-Downgrade OCR to the specified version
[-local]-backuploc <dirname>-Configure OCR/OLR backup location
[-local]-showbackup [auto|manual]-Show OCR/OLR backup information
[-local]-manualbackup-perform. OCR/OLR Backup
[-local]-restore <filename>-restore OCR/OLR from physical backup
-replace <current filename>-replacement <new filename>
-Replace a OCR device/file <filename1> with <filename2>
-add <filename>-Add a new OCR device/file
-delete <filename>-Remove a OCR device/file
-overwrite-overwrite OCR configuration on disk
-repair-add <filename> | -delete <filename> | -replace <current filename>-replacement <new filename>
-Repair OCR configuration on the local node
-help-print out this Help information
Note:
* A log file would be created in
$ORACLE _home/log/
have file creation privileges in the above directory before
Running this tool.
* Only-local-showbackup [manual] is supported.
* Use option '-local ' to indicate of that the operation are to being performed on the Oracle local Registry.
Add Delete disk mirror image:
[Root@rac2 app]# ocrconfig-add ' +crsbak '
Check for modified configuration
[Root@rac1 app]# Ocrcheck
Status of Oracle Cluster Registry is as follows:
Version:3
Total Space (Kbytes): 262120
Used Space (Kbytes): 2424
Available Space (Kbytes): 259696
id:1918230846