Validate OCR and Voting Disks
Verify OCR:
*******************************************************************
[oracle@ol5-db-host1 bin]$ cd $GRID_HOME/bin
[oracle@ol5-db-host1 bin]$ ./cluvfy comp ocr -n all
Verifying OCR integrity
Checking OCR integrity...
Checking the absence of a non-clustered configuration...
All nodes free of non-clustered, local-only configurations
ASM Running check passed. ASM is running on all specified nodes
Checking OCR config file "/etc/oracle/ocr.loc"...
OCR config file "/etc/oracle/ocr.loc" check successful
Disk group for ocr location "+DBFS_DG" available on all the nodes
NOTE:
This check does not verify the integrity of the OCR contents. Execute 'ocrcheck' as a privileged user to verify the contents of OCR.
OCR integrity check passed
Verification of OCR integrity was successful.
*******************************************************************
Run ocrcheck as "root" user
[root@ol5-db-host1 bin]# cd $GRID_HOME/bin
[root@ol5-db-host1 bin]# ./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3836
Available space (kbytes) : 258284
ID : 187484264
Device/File Name : +DBFS_DG
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
*******************************************************************
Verify Voting Disk:
[oracle@ol5-db-host1 bin]$ cd $GRID_HOME/bin
[oracle@ol5-db-host1 bin]$ ./olsnodes -n -s
ol5-db-host1 1 Active
ol5-db-host2 2 Active
*******************************************************************
[oracle@ol5-db-host1 bin]$ cd $GRID_HOME/bin
[oracle@ol5-db-host1 bin]$ ./cluvfy comp vdisk
Verifying Voting Disk
Checking Oracle Cluster Voting Disk configuration...
ASM Running check passed. ASM is running on all specified nodes
Oracle Cluster Voting Disk configuration check passed
UDev attributes check for Voting Disk locations started...
UDev attributes check passed for Voting Disk locations
Verification of Voting Disk was successful.
*******************************************************************
In Case of corruption of OCR or Voting disk:
Please follow below link
How to recreate OCR and Voting disk
Verify OCR:
*******************************************************************
[oracle@ol5-db-host1 bin]$ cd $GRID_HOME/bin
[oracle@ol5-db-host1 bin]$ ./cluvfy comp ocr -n all
Verifying OCR integrity
Checking OCR integrity...
Checking the absence of a non-clustered configuration...
All nodes free of non-clustered, local-only configurations
ASM Running check passed. ASM is running on all specified nodes
Checking OCR config file "/etc/oracle/ocr.loc"...
OCR config file "/etc/oracle/ocr.loc" check successful
Disk group for ocr location "+DBFS_DG" available on all the nodes
NOTE:
This check does not verify the integrity of the OCR contents. Execute 'ocrcheck' as a privileged user to verify the contents of OCR.
OCR integrity check passed
Verification of OCR integrity was successful.
*******************************************************************
Run ocrcheck as "root" user
[root@ol5-db-host1 bin]# cd $GRID_HOME/bin
[root@ol5-db-host1 bin]# ./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3836
Available space (kbytes) : 258284
ID : 187484264
Device/File Name : +DBFS_DG
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
*******************************************************************
Verify Voting Disk:
[oracle@ol5-db-host1 bin]$ cd $GRID_HOME/bin
[oracle@ol5-db-host1 bin]$ ./olsnodes -n -s
ol5-db-host1 1 Active
ol5-db-host2 2 Active
*******************************************************************
[oracle@ol5-db-host1 bin]$ cd $GRID_HOME/bin
[oracle@ol5-db-host1 bin]$ ./cluvfy comp vdisk
Verifying Voting Disk
Checking Oracle Cluster Voting Disk configuration...
ASM Running check passed. ASM is running on all specified nodes
Oracle Cluster Voting Disk configuration check passed
UDev attributes check for Voting Disk locations started...
UDev attributes check passed for Voting Disk locations
Verification of Voting Disk was successful.
*******************************************************************
In Case of corruption of OCR or Voting disk:
Please follow below link
How to recreate OCR and Voting disk
No comments:
Post a Comment