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安装需要的包。

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

inthirties

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值