Database Reference
In-Depth Information
Backups performed to individual nodes become a single point of failure when the nodes are not down yet are
not reachable. it is advised that the backups be moved to the shared storage to provide access to this file from any node
in the cluster.
Note
Unlike the OCR files, OLR files are not backed up by the clusterware. A manual backup is required to keep copies
of the OLR files, as follows:
[root@ssky3l12p2 ~]# /u01/app/12.1.0/grid/bin/ocrconfig -local -manualbackup
ssky3l12p2 2014/01/19 10:22:50 /u01/app/12.1.0/grid/cdata/ssky3l12p2/backup_20140119_102250.olr
ssky3l12p2 2013/12/22 17:43:41 /u01/app/12.1.0/grid/cdata/ssky3l12p2/backup_20131222_174341.olr
[root@ssky3l12p2 ~]# /u01/app/12.1.0/grid/bin/ocrconfig -local -showbackup
ssky3l12p2 2014/01/19 10:22:50 /u01/app/12.1.0/grid/cdata/ssky3l12p2/backup_20140119_102250.olr
ssky3l12p2 2013/12/22 17:43:41 /u01/app/12.1.0/grid/cdata/ssky3l12p2/backup_20131222_174341.olr
[root@ssky3l12p2 ~]# ls -ltr /u01/app/12.1.0/grid/cdata/ssky3l12p2/
total 1932
-rw-r--r-- 1 root root 860160 Dec 22 17:43 backup_20131222_174341.olr
-rw-r--r-- 1 root root 1110016 Jan 19 10:22 backup_20140119_102250.olr
it's good practice to include backing up the Olr files into the backup and recovery strategy for all nodes in the
raC cluster.
Note
4.
The automatic backup (default) location could be changed using the following syntax:
ocrconfig -backuploc < new location of backup>
5.
OCR could be restored from a previous backup using the following syntax/option:
ocrconfig -restore <backup filename>
[root@ssky3l12p2 ~]# /u01/app/12.1.0/grid/bin/ocrconfig -restore backup01.ocr
Other options supported by the ocrconfig utility include the following:
6.
To replace the current OCR and create a new one in another location:
ocrconfig -replace ocrmirror <new location>
To repair the current OCR and to automatically fix issues with the registry:
ocrconfig -repair -add < ocr location>
 
Search WWH ::




Custom Search