View the current Votedisk
[grid@vzwc1 ~]$ crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [11.2.0.4.0]
[grid@vzwc1 ~]$
[grid@vzwc1 ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 3489007f26fd4f93bfda7113f301c1a2 (/dev/asm-diskb) [CRSDG]
2. ONLINE 317cf8729f6c4f73bf156254047ed0e8 (/dev/asm-diskc) [CRSDG]
3. ONLINE 00fb6f81c1e64fc5bf84b510fae8d65e (/dev/asm-diskd) [CRSDG]
4. ONLINE 5de68b7b567a4f12bf44cad860546656 (/dev/asm-diske) [CRSDG]
5. ONLINE 43d358ead0874fd7bfc5c1fb5c26af9d (/dev/asm-diskf) [CRSDG]
Located 5 voting disk(s).
Votedisk +CRSDG to +SYSDG diskgroup
[grid@vzwc1 ~]$ crsctl replace votedisk +SYSDG
Successful addition of voting disk 10a35374e0704fadbfdbced90a4dd17d.
Successful addition of voting disk 0bd90c387c0b4fb9bf69e0e2feb7ab99.
Successful addition of voting disk 61ad9c6d57174fd6bf165513e4aef3f5.
Successful addition of voting disk 1b8753ace6684fa2bfc948686b533416.
Successful addition of voting disk 71ecbbceeb9a4f7bbf7de7c862e6e049.
Successful deletion of voting disk 3489007f26fd4f93bfda7113f301c1a2.
Successful deletion of voting disk 317cf8729f6c4f73bf156254047ed0e8.
Successful deletion of voting disk 00fb6f81c1e64fc5bf84b510fae8d65e.
Successful deletion of voting disk 5de68b7b567a4f12bf44cad860546656.
Successful deletion of voting disk 43d358ead0874fd7bfc5c1fb5c26af9d.
Successfully replaced voting disk group with +SYSDG.
CRS-4266: Voting file(s) successfully replaced
[grid@vzwc1 ~]$
[grid@vzwc1 ~]$
[grid@vzwc1 ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 10a35374e0704fadbfdbced90a4dd17d (/dev/asm-diskg) [SYSDG]
2. ONLINE 0bd90c387c0b4fb9bf69e0e2feb7ab99 (/dev/asm-diskh) [SYSDG]
3. ONLINE 61ad9c6d57174fd6bf165513e4aef3f5 (/dev/asm-diski) [SYSDG]
4. ONLINE 1b8753ace6684fa2bfc948686b533416 (/dev/asm-diskj) [SYSDG]
5. ONLINE 71ecbbceeb9a4f7bbf7de7c862e6e049 (/dev/asm-diskk) [SYSDG]
Located 5 voting disk(s).
check OCR
[grid@vzwc1 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3116
Available space (kbytes) : 259004
ID : 1177335321
Device/File Name : +CRSDG
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 bypassed due to non-privileged user
show OCR backup
[grid@vzwc1 ~]$ ocrconfig -showbackup
vzwc1 2013/09/20 19:45:02 /u01/app/11.2.0/grid/cdata/vzwc-cluster/backup00.ocr
vzwc1 2013/09/20 15:45:02 /u01/app/11.2.0/grid/cdata/vzwc-cluster/backup01.ocr
vzwc1 2013/09/20 15:45:02 /u01/app/11.2.0/grid/cdata/vzwc-cluster/day.ocr
vzwc1 2013/09/20 15:45:02 /u01/app/11.2.0/grid/cdata/vzwc-cluster/week.ocr
PROT-25: Manual backups for the Oracle Cluster Registry are not available
Check the OCR content
[root@vzwc1 ~]# ocrdump -backupfile /u01/app/11.2.0/grid/cdata/vzwc-cluster/backup00.ocr
[root@vzwc1 ~]# more OCRDUMPFILE
09/20/2013 21:17:29
/u01/app/11.2.0/grid/cdata/vzwc-cluster/backup00.ocr
/u01/app/11.2.0/grid/bin/ocrdump.bin -backupfile /u01/app/11.2.0/grid/cdata/vzwc-cluster/backup00.ocr
[SYSTEM]
UNDEF :
SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : root, GROUP_NAME : root}
[SYSTEM.version]
UB4 (10) : 5
SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : root, GROUP_NAME : root}
[SYSTEM.version.activeversion]
ORATEXT : 11.2.0.4.0
SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : root, GROUP_NAME : root}
[SYSTEM.version.hostnames]
UNDEF :
SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : root, GROUP_NAME : root}
[SYSTEM.version.hostnames.vzwc1]
ORATEXT : 11.2.0.4.0
SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : root, GROUP_NAME : root}
[SYSTEM.version.hostnames.vzwc2]
ORATEXT : 11.2.0.4.0
SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : root, GROUP_NAME : root}
[SYSTEM.versionstring]
ORATEXT : 11g Release 2
SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_READ, OTHER_PERMISSION : PROCR_READ, USER_NAME : root, GROUP_NAME : root}
[SYSTEM.WALLET]
UNDEF :
SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_CREATE_SUB_KEY, OTHER_PERMISSION : PROCR_CREATE_SUB_KEY, USER_NAME : root, GROUP_NAME : root}
Add OCR to +SYSDG diskgroup
[root@vzwc1 ~]# ocrconfig -add +SYSDG
[root@vzwc1 ~]# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3116
Available space (kbytes) : 259004
ID : 1177335321
Device/File Name : +CRSDG
Device/File integrity check succeeded
Device/File Name : +SYSDG
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 succeeded
Delete a OCR
[root@vzwc1 ~]# ocrconfig -delete +SYSDG
[root@vzwc1 ~]# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3116
Available space (kbytes) : 259004
ID : 1177335321
Device/File Name : +CRSDG
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