今天在使用CVU檢查共享存儲的時候,出現了一個狀況:
[grid@rac1 ~]$ cluvfy comp ssa -n rac1,rac2 -t data -verbose Verifying shared storage accessibility Checking shared storage accessibility... WARNING: PRVF-7017 : Package cvuqdisk not installed rac1 No shared storage found Shared storage check was successful on nodes "rac2,rac1" Verification of shared storage accessibility was successful.
warning之後就檢查不到共享存儲,然後我安裝了該包之後:
[grid@rac2 ~]$ cluvfy comp ssa -n rac1,rac2 -verbose Verifying shared storage accessibility Checking shared storage accessibility... Disk Sharing Nodes (2 in count) ------------------------------------ ------------------------ /dev/sdb rac2 rac1 Disk Sharing Nodes (2 in count) ------------------------------------ ------------------------ /dev/sdc rac2 rac1 Disk Sharing Nodes (2 in count) ------------------------------------ ------------------------ /dev/sdd rac2 rac1 Disk Sharing Nodes (2 in count) ------------------------------------ ------------------------ /dev/sde rac2 rac1 Disk Sharing Nodes (2 in count) ------------------------------------ ------------------------ /dev/sdf rac2 rac1 Disk Sharing Nodes (2 in count) ------------------------------------ ------------------------ /dev/sdg rac2 rac1 Disk Sharing Nodes (2 in count) ------------------------------------ ------------------------ /dev/sdh rac2 rac1 Shared storage check was successful on nodes "rac2,rac1" Verification of shared storage accessibility was successful.
cvuqdisk is applicable on Linux platforms only. CVU requires root privilege to gather information about the scsi disks during discovery. A small binary uses the setuid mechanism to query disk information as root. Note that this process is purely a read-only process with no adverse impact on the system. To make this secured, this binary is packaged in the cvuqdisk rpm and need root privilege to install on a machine. When this package is installed on all the nodes, CVU performs discovery and shared storage accessibility checks for scsi disks. Otherwise, it complains about the missing package 'cvuqdisk'. You can disable the scsi device check feature by setting the CV_RAW_CHECK_ENABLED to FALSE in $CV_HOME/cv/admin/cvu_config file. CVU will not complain about the missing rpm if this variable is set to false.