重庆思庄Oracle、Redhat认证学习论坛

标题: 判定ocr的完整性 [打印本页]

作者: 郑全    时间: 2013-6-9 16:18
标题: 判定ocr的完整性
可以使用ocrcheck 命令来实现
作者: 郑全    时间: 2013-6-9 16:19

[grid@rac2 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          3
         Total space (kbytes)     :     262120
         Used space (kbytes)      :       3024
         Available space (kbytes) :     259096
         ID                       : 1638386742
         Device/File Name         :      +DATA
                                    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


作者: 郑全    时间: 2013-6-9 16:19
也可以使用 cluvfy comp ocr -n all -verbose
作者: 郑全    时间: 2013-6-9 16:19

[grid@rac2 ~]$   cluvfy comp ocr -n all -verbose

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 "+DATA" 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.






欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2