RAC集群OCR的维护(2)
发布时间:2021-06-07
发布时间:2021-06-07
ocrdump -stdout –xml
Writes the OCR content to stdout in XML format.
(2)OCRCHECK
The OCRCHECK utility displays the version of the OCR's block format, total space available and used space, OCRID, and the OCR locations that you have configured. OCRCHECK performs a block-by-block checksum operation for all of the blocks in all of the OCRs that you have configured. It also returns an individual status for each file as well as a result for the overall OCR integrity check. The following is a sample of the OCRCHECK output:
Status of Oracle Cluster Registry is as follows : Version : 2
Total space (kbytes) : 262144
Used space (kbytes) : 16256
Available space (kbytes) : 245888
ID : 1918913332
Device/File Name : /dev/raw/raw1
Device/File integrity check succeeded
Device/File Name : /oradata/mirror.ocr
Device/File integrity check succeeded
Cluster registry integrity check succeeded
OCRCHECK creates a log file in the directory
CRS_Home/log/hostname/client. To change amount of logging, edit the file CRS_Home/srvm/admin/ocrlog.in
(3)
1. Run the following Cluster Verification Utility (CVU) command to verify
the OCR integrity where node_list is a list of all of the nodes in your cluster database:
cluvfy comp ocr -n all [-verbose]
上一篇:双升打法技巧指南