cluvfy用法

原帖见http://www.inthirties.com/thread-687-1-1.html

 

 在Clusterware的解压包里有一个cluvfy的工具,可以对检查我们crs安装需求进行验证,从而让我们知道我们安装的准备的还缺少什么。

 

 

$ pwd 
/home/oracle/download/clusterware/clusterware/cluvfy 
$ ls -al 
drwxr-xr-x 2 oracle oinstall 4096 Jul 3 2005 . 
drwxr-xr-x 9 oracle oinstall 4096 Jul 3 2005 .. 
-rwxr-xr-x 1 oracle oinstall 8477663 Jul 3 2005 cvupack.zip 
-rw-r--r-- 1 oracle oinstall 21356849 Jul 3 2005 jrepack.zip 
-rwxr-xr-x 1 oracle oinstall 3107 Jul 3 2005 runcluvfy.sh 

这里的runcluvfy.sh 就是这里的检查工具 
$ ./runcluvfy.sh -help 
USAGE: 
cluvfy [ -help ] 
cluvfy stage { -list | -help } 
cluvfy stage {-pre|-post} <stage-name> <stage-specific options> [-verbose] 
cluvfy comp { -list | -help } 
cluvfy comp <component-name> <component-specific options> [-verbose] 

检查我的节点 
[oracle@gnd-rac01 cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n gnd-rac01 

Performing pre-checks for cluster services setup 

Checking node reachability... 
Node reachability check passed from node "gnd-rac01". 


Checking user equivalence... 
User equivalence check passed for user "oracle". 

Checking administrative privileges... 
User existence check passed for "oracle". 
Group existence check passed for "oinstall". 
Membership check for user "oracle" in group "oinstall" [as Primary] passed. 

Administrative privileges check passed. 

Checking node connectivity... 

Node connectivity check passed for subnet "192.168.214.0" with node(s) gnd-rac01. 
Node connectivity check passed for subnet "192.168.1.0" with node(s) gnd-rac01. 

Suitable interfaces for the private interconnect on subnet "192.168.214.0": 
gnd-rac01 eth0:192.168.214.135 eth0:192.168.214.35 

Suitable interfaces for the private interconnect on subnet "192.168.1.0": 
gnd-rac01 eth1:192.168.1.100 

ERROR: 
Could not find a suitable set of interfaces for VIPs. 

Node connectivity check failed. 


Checking system requirements for 'crs'... 
Total memory check passed. 
Free disk space check passed. 
Swap space check passed. 
System architecture check passed. 
Kernel version check passed. 
Package existence check passed for "make-3.79". 
Package existence check passed for "binutils-2.14". 
Package existence check passed for "gcc-3.2". 
Package existence check passed for "glibc-2.3.2-95.27". 
Package existence check passed for "compat-db-4.0.14-5". 
Package existence check failed for "compat-gcc-7.3-2.96.128". 
Check failed on nodes: 
gnd-rac01 
Package existence check failed for "compat-gcc-c++-7.3-2.96.128". 
Check failed on nodes: 
gnd-rac01 
Package existence check failed for "compat-libstdc++-7.3-2.96.128". 
Check failed on nodes: 
gnd-rac01 
Package existence check failed for "compat-libstdc++-devel-7.3-2.96.128". 
Check failed on nodes: 
gnd-rac01 
Package existence check passed for "openmotif-2.2.3". 
Package existence check passed for "setarch-1.3-1". 
Group existence check passed for "dba". 
Group existence check passed for "oinstall". 
User existence check passed for "nobody". 

System requirement failed for 'crs' 

Pre-check for cluster services setup was unsuccessful on all the nodes. 

这里可以看到我有些包没有存在,根据提示利用yum安装需要的包。

 

 

 

你可能感兴趣的:(oracle,user,System,工具,disk)