今天在使用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-1.0.7-1.rpm这个是做什么用的?(节选自: 316817.1)
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.
真相大白!