1Z0-068 · Question #43
Which three statements are true about displaying the location of voting files, OCR files, or OLR files in Oracle Clusterware 12c on a UNIX system?
The correct answer is B. Use ocrcheck command to view the location of the OCR only if stored in a file system. E. Use crsctl querry votedisk to view the location of voting files if stored in a file system. F. Use cat /etc/oracle/olr.loc to view the location of the OCR and OLR if stored on a file system. B: 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 Use the ocrconfig -add command to add an OCR location to a shared file system or Oracle Automatic Storage…
Question
Which three statements are true about displaying the location of voting files, OCR files, or OLR files in Oracle Clusterware 12c on a UNIX system?
Options
- AUse cat /etc/oracle/ocr.loc to view the location of the OCR if stored in ASM.
- BUse ocrcheck command to view the location of the OCR only if stored in a file system.
- CUse crsctl querry votedisk to view the location of voting files if stored in ASM.
- DUse the ls command in the asmcmd utility to view the location of voting files if stored in ASM.
- EUse crsctl querry votedisk to view the location of voting files if stored in a file system.
- FUse cat /etc/oracle/olr.loc to view the location of the OCR and OLR if stored on a file system.
How the community answered
(15 responses)- B80% (12)
- C13% (2)
- D7% (1)
Explanation
B: 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 Use the ocrconfig -add command to add an OCR location to a shared file system or Oracle Automatic Storage Management (Oracle ASM) disk group. Note: The example shows using the ocrcheck -config -details command to obtain the location of OCR in an Oracle ASM disk group. Using OCRCHECK to Obtain OCR Information: $ ocrcheck -config -details Oracle Cluster Registry configuration is : Device/File Name : +ocrvd11/mjk_1/OCRFILE/registry.255.842574113 Device/File Name : +ocrdv2/mjk_1/OCRFILE/registry.255.842574125 E: To determine the current voting disk by issuing the following command: crsctl query votedisk css F: The olr.loc file consists of the OLR config file location and the crs_home location. olrconfig_loc=/u01/app/oracle/grid/11.2.0/cdata/<hostname>.olr crs_home=/u01/app/oracle/grid/11.2.0 So, by default the location is olrconfig_loc =<GRID_HOME>/cdata/<hostname>.olr. https://docs.oracle.com/database/121/CWADD/ocrsyntax.htm#CWADD92028 https://gjilevski.com/2009/09/23/what-is-a-voting-disk/
Topics
Community Discussion
No community discussion yet for this question.