Database Reference
In-Depth Information
Oracle performs these automatic backups to the cluster directory (for example, $GRID_HOME/cdata/SSKYCW , as
illustrated in the following example) on one of the nodes. To check previous backups, the following syntax is used:
[root@ssky1l2p2 ~]# /u01/app/12.1.0.1/grid/bin/ocrconfig -showbackup
ssky3l11p1 2014/01/19 08:08:36 /u01/app/12.1.0/grid/cdata/ssky1lp-cluster/backup00.ocr
ssky3l11p1 2014/01/19 04:08:34 /u01/app/12.1.0/grid/cdata/ssky1lp-cluster/backup01.ocr
ssky1l2p2 2014/01/03 15:43:59 /u01/app/12.1.0/grid/cdata/ssky1lp-cluster/backup02.ocr
ssky3l11p1 2014/01/19 04:08:34 /u01/app/12.1.0/grid/cdata/ssky1lp-cluster/day.ocr
ssky3l11p1 2014/01/19 04:08:34 /u01/app/12.1.0/grid/cdata/ssky1lp-cluster/week.ocr
PROT-25: Manual backups for the Oracle Cluster Registry are not available
Starting with Oracle Clusterware 11g, there is an option to take manual backups of the OCR file. Previous releases
only supported automatic backups.
[root@ssky3l11p1 ~]# /u01/app/12.1.0/grid/bin/ocrconfig -manualbackup
ssky3l11p1 2014/01/14 21:13:30 /u01/app/12.1.0/grid/cdata/sskylc3-cluster/
backup_20140114_211330.ocr
ssky3l11p1 2014/01/14 21:13:20 /u01/app/12.1.0/grid/cdata/sskylc3-cluster/
backup_20140114_211320.ocr
[root@ssky3l11p1 ~]# /u01/app/12.1.0/grid/bin/ocrconfig -showbackup
PROT-24: Auto backups for the Oracle Cluster Registry are not available
ssky3l11p1 2014/01/14 21:13:30 /u01/app/12.1.0/grid/cdata/sskylc3-cluster/
backup_20140114_211330.ocr
ssky3l11p1 2014/01/14 21:13:20 /u01/app/12.1.0/grid/cdata/sskylc3-cluster/
backup_20140114_211320.ocr
[root@ssky3l11p1 ~]#
[root@ssky3l11p1 ~]# ls -ltr /u01/app/12.1.0/grid/cdata/sskylc3-cluster/
total 2692
-rw-r--r-- 1 root root 1359872 Jan 14 21:13 backup_20140114_211320.ocr
-rw-r--r-- 1 root root 1388544 Jan 14 21:13 backup_20140114_211330.ocr
[root@ssky3l11p1 ~]#
The following gives a list of the backup files found in the cluster directory:
[root@ssky3l12p2 ~]# ls -ltr /u01/app/12.1.0/grid/cdata/sskylc3-cluster/
total 9140
-rw-r--r-- 1 root root 1867776 Jan 2 03:43 day.ocr
-rw-r--r-- 1 root root 1867776 Jan 3 03:43 day_.ocr
-rw-r--r-- 1 root root 1867776 Jan 3 07:43 backup02.ocr
-rw-r--r-- 1 root root 1867776 Jan 3 11:43 backup01.ocr
-rw-r--r-- 1 root root 1867776 Jan 3 15:43 backup00.ocr
In the preceding output, a listing of all backups taken by the CRS is listed. It should be noted that there are three
backups taken during the day (listed as backup00.ocr , backup01.ocr , and backup02.ocr ). The listing also contains
a backup refreshed at the beginning of each day ( day.ocr ) and another taken weekly ( week.ocr ).
Search WWH ::




Custom Search