Database Reference
In-Depth Information
Device/File integrity check succeeded
Device/File Name : +DATA1/
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check bypassed due to non-privileged user
You also can use the ocrconfig command to add/delete/replace OCR files, and you can add another
mirror of OCR in +DATA2:
$GRID_HOME/bin/ocrconfig -add +DATA2
Or remove the OCR copy from +DATA1 :
$GRID_HOME/bin/ocrconfig -delete +DATA1
The ocrdump command can be used to dump the contents of the OCR to a .txt or .xml file. It can be executed only
by the root user, and the default file name is OCRDUMPFILE:
$ ./ocrdump
$ ls -l OCRDUMPFILE
-rw------- 1 root root 212551 Dec 28 20:21 OCRDUMPFILE
The OCR is backed up automatically every four hours on at least one of the nodes in the cluster. The backups are
stored in the $GRID_HOME/cdata/<cluster_name> directory. To show the backup information, use the
ocrconfig -showbackup command:
$GRID_HOME/bin/ocrconfig -showbackup
knewracn1 2013/03/02 07:01:37 /u01/app/12.1.0/grid/cdata/knewrac/backup00.ocr
knewracn1 2013/03/02 03:01:33 /u01/app/12.1.0/grid/cdata/knewrac/backup01.ocr
knewracn1 2013/03/01 23:01:32 /u01/app/12.1.0/grid/cdata/knewrac/backup02.ocr
knewracn1 2013/03/01 03:01:21 /u01/app/12.1.0/grid/cdata/knewrac/day.ocr
knewracn1 2013/02/20 02:58:55 /u01/app/12.1.0/grid/cdata/knewrac/week.ocr
knewracn1 2013/02/19 23:15:34 /u01/app/12.1.0/grid/cdata/knewrac/backup_20130219_231534.ocr
knewracn1 2013/02/19 23:05:26 /u01/app/12.1.0/grid/cdata/knewrac/backup_20130219_230526.ocr
.....
The steps to restore OCR from a backup file are as follows:
1.
Identify the backup by using the ocrconfig -showbackup command.
2.
Stop the clusterware on all the cluster nodes.
3.
Perform the restore with the restore command:
ocrconfig -restore file_name
4.
Restart the crs and do an OCR integrity check by using cluvfy comp ocr.
Search WWH ::




Custom Search