Total Pageviews

OCR & Vote disk locations


ocrconfig - run as root

To find OCR Backup
###############
[root@node1 mapper]# ocrconfig -showbackup

node2     2014/08/11 23:28:58     /u01/app/11.2.0/grid/cdata/nodescan/backup00.ocr


node2     2014/08/11 16:26:48     /u01/app/11.2.0/grid/cdata/nodescan/backup01.ocr


node1     2014/08/10 01:51:04     /u01/app/11.2.0/grid/cdata/nodescan/backup02.ocr


node1     2014/08/10 01:51:04     /u01/app/11.2.0/grid/cdata/nodescan/day.ocr


node1     2014/08/10 01:51:04     /u01/app/11.2.0/grid/cdata/nodescan/week.ocr


node2     2014/08/11 19:42:42     /u01/app/11.2.0/grid/cdata/nodescan/backup_20140811_194242.ocr



Take Local OCR backup
#####################
[root@node2 ~]# ocrconfig -local -manualbackup

node2     2014/11/11 18:17:00     /u01/app/11.2.0/grid/cdata/node2/backup_20141111_181700.olr


node2     2014/07/31 09:59:03     /u01/app/11.2.0/grid/cdata/node2/backup_20140731_095903.olr



To find the local OCR backup
########################
[root@node2 ~]# ocrconfig -local -showbackup

node2     2014/11/11 18:17:00     /u01/app/11.2.0/grid/cdata/node2/backup_20141111_181700.olr


node2     2014/07/31 09:59:03     /u01/app/11.2.0/grid/cdata/node2/backup_20140731_095903.olr



[oracle@node1 oracle]$pwd

/etc/oracle
[oracle@node1 oracle]$ls
lastgasp  ocr.loc  ocr.loc.orig  olr.loc  olr.loc.orig  oprocd  scls_scr
[oracle@node1 oracle]$cat ocr.loc
ocrconfig_loc=+DATA
local_only=FALSE

To find the Vote disk
#####################
[root@node1 mapper]# crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   65ab90bf35854fb6bf33422a1ea60616 (/dev/oracleasm/disks/DATA1) [DATA]
Located 1 voting disk(s).

hits count
Database | Oracle PartnerNetwork Blog