资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

集群验证工具cluvfy的使用方法是什么

今天就跟大家聊聊有关集群验证工具cluvfy的使用方法是什么,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。

凭借整站使用H5高端网站建设的创新体验、定制设计、设计团队积累与透明式的服务过程,符合行业特点,专属顾问根据企业产品,消费群体属性,准确定位;设计师以目标客户为中心,以突出品牌官网特性为宗旨,定制专属网站建设设计方案。

cluvfy作为集群验证工具在Oracle集群和RAC安装和配置的过程中可以起到非常好的辅助作用,简单看一下这个工具带给我们的功能。

1.获取集群验证工具cluvfy的帮助信息
RACDB1@rac1 /home/oracle$ cluvfy -help


USAGE:
cluvfy [ -help ]
cluvfy stage { -list | -help }
cluvfy stage {-pre|-post}   [-verbose]
cluvfy comp  { -list | -help }
cluvfy comp    [-verbose]

本文主要介绍一下有关stage类型的验证方法。

Oracle集群和RAC安装过程中每个阶段都称作一个stage,进入每一个stage之前和之后都应该做检查。在进入特定阶段之前应进行一系列的预定义内容的检查,确保集群环境已满足进入下一阶段的条件,即所谓的“预检查”。与之对应的便是“后期检查”,即在完成某个阶段操作后需要执行的一组预定义的检查动作。

2.获得stage选项可验证的信息
可以使用“cluvfy stage -list”命令获得可验证的阶段。
RACDB1@rac1 /home/oracle$ cluvfy stage -list


USAGE:
cluvfy stage {-pre|-post}   [-verbose]

Valid stage options and stage names are:
        -post hwos    :  post-check for hardware and operating system
        -pre  cfs     :  pre-check for CFS setup
        -post cfs     :  post-check for CFS setup
        -pre  crsinst :  pre-check for CRS installation
        -post crsinst :  post-check for CRS installation
        -pre  dbinst  :  pre-check for database installation
        -pre  dbcfg   :  pre-check for database configuration

简单的注释:
-post hwos:对硬件和操作系统进行后期检查;
-pre cfs:对CFS设置进行预检;
-post cfs:对CFS设置进行后期检查;
-pre crsinst:对CRS安装进行预检查;
-post crsinst:对CRS安装进行后期检查;
-pre dbinst:对数据库安装进行预检查;
-pre dbcfg:对数据库配置进行预检查。

3.给出具体的使用方法
1)对rac1和rac2两个节点做硬件和操作系统的后期检查
RACDB1@rac1 /home/oracle$ cluvfy stage -post hwos -n rac1,rac2

Performing post-checks for hardware and operating system setup

Checking node reachability...
Node reachability check passed from node "rac1".


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

Checking node connectivity...

Node connectivity check passed for subnet "192.168.1.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.3.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.2.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.247.0" with node(s) rac2,rac1.

Suitable interfaces for the private interconnect on subnet "192.168.1.0":
rac2 eth0:192.168.1.101
rac1 eth0:192.168.1.100

Suitable interfaces for the private interconnect on subnet "192.168.3.0":
rac2 eth0:192.168.3.101
rac1 eth0:192.168.3.100

Suitable interfaces for the private interconnect on subnet "192.168.2.0":
rac2 eth2:192.168.2.101
rac1 eth2:192.168.2.100

Suitable interfaces for the private interconnect on subnet "192.168.247.0":
rac2 eth3:192.168.247.222
rac1 eth3:192.168.247.111

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

Node connectivity check failed.


Checking shared storage accessibility...

WARNING:
Package cvuqdisk not installed.
        rac2,rac1


Shared storage check failed on nodes "rac2,rac1".

Post-check for hardware and operating system setup was unsuccessful on all the nodes.

2)对rac1和rac2两个节点做CRS安装的预检查
RACDB1@rac1 /home/oracle$ cluvfy stage -pre crsinst -n rac1,rac2

Performing pre-checks for cluster services setup

Checking node reachability...
Node reachability check passed from node "rac1".


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.1.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.3.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.2.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.247.0" with node(s) rac2,rac1.

Suitable interfaces for the private interconnect on subnet "192.168.1.0":
rac2 eth0:192.168.1.101
rac1 eth0:192.168.1.100

Suitable interfaces for the private interconnect on subnet "192.168.3.0":
rac2 eth0:192.168.3.101
rac1 eth0:192.168.3.100

Suitable interfaces for the private interconnect on subnet "192.168.2.0":
rac2 eth2:192.168.2.101
rac1 eth2:192.168.2.100

Suitable interfaces for the private interconnect on subnet "192.168.247.0":
rac2 eth3:192.168.247.222
rac1 eth3:192.168.247.111

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

Node connectivity check failed.


Checking system requirements for 'crs'...
No checks registered for this product.

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

3)对rac1和rac2两个节点做CRS安装的后期检查
RACDB1@rac1 /home/oracle$ cluvfy stage -post crsinst -n rac1,rac2

Performing post-checks for cluster services setup

Checking node reachability...
Node reachability check passed from node "rac1".


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

Checking Cluster manager integrity...


Checking CSS daemon...
Daemon status check passed for "CSS daemon".

Cluster manager integrity check passed.

Checking cluster integrity...


Cluster integrity check passed


Checking OCR integrity...

Checking the absence of a non-clustered configuration...
All nodes free of non-clustered, local-only configurations.

Uniqueness check for OCR device passed.

Checking the version of OCR...
OCR of correct Version "2" exists.

Checking data integrity of OCR...
Data integrity check for OCR passed.

OCR integrity check passed.

Checking CRS integrity...

Checking daemon liveness...
Liveness check passed for "CRS daemon".

Checking daemon liveness...
Liveness check passed for "CSS daemon".

Checking daemon liveness...
Liveness check passed for "EVM daemon".

Checking CRS health...
CRS health check passed.

CRS integrity check passed.

Checking node application existence...


Checking existence of VIP node application (required)
Check passed.

Checking existence of ONS node application (optional)
Check passed.

Checking existence of GSD node application (optional)
Check passed.


Post-check for cluster services setup was successful.

4)对rac1和rac2两个节点做数据库安装的预检查
RACDB1@rac1 /home/oracle$ cluvfy stage -pre dbinst -n rac1,rac2

Performing pre-checks for database installation

Checking node reachability...
Node reachability check passed from node "rac1".


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.
Group existence check passed for "dba".
Membership check for user "oracle" in group "dba" passed.

Administrative privileges check passed.

Checking node connectivity...

Node connectivity check passed for subnet "192.168.1.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.3.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.2.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.247.0" with node(s) rac2,rac1.

Suitable interfaces for the private interconnect on subnet "192.168.1.0":
rac2 eth0:192.168.1.101
rac1 eth0:192.168.1.100

Suitable interfaces for the private interconnect on subnet "192.168.3.0":
rac2 eth0:192.168.3.101
rac1 eth0:192.168.3.100

Suitable interfaces for the private interconnect on subnet "192.168.2.0":
rac2 eth2:192.168.2.101
rac1 eth2:192.168.2.100

Suitable interfaces for the private interconnect on subnet "192.168.247.0":
rac2 eth3:192.168.247.222
rac1 eth3:192.168.247.111

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

Node connectivity check failed.


Checking system requirements for 'database'...
No checks registered for this product.

Checking CRS integrity...

Checking daemon liveness...
Liveness check passed for "CRS daemon".

Checking daemon liveness...
Liveness check passed for "CSS daemon".

Checking daemon liveness...
Liveness check passed for "EVM daemon".

Checking CRS health...
CRS health check passed.

CRS integrity check passed.

Checking node application existence...


Checking existence of VIP node application (required)
Check passed.

Checking existence of ONS node application (optional)
Check passed.

Checking existence of GSD node application (optional)
Check passed.


Pre-check for database installation was unsuccessful on all the nodes.

5)对rac1和rac2两个节点做数据库安装的后期检查
RACDB1@rac1 /home/oracle$ cluvfy stage -pre dbcfg -n rac1,rac2 -d $ORACLE_HOME

Performing pre-checks for database configuration

Checking node reachability...
Node reachability check passed from node "rac1".


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.
Group existence check passed for "dba".
Membership check for user "oracle" in group "dba" passed.

Administrative privileges check passed.

Checking node connectivity...

Node connectivity check passed for subnet "192.168.1.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.3.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.2.0" with node(s) rac2,rac1.
Node connectivity check passed for subnet "192.168.247.0" with node(s) rac2,rac1.

Suitable interfaces for the private interconnect on subnet "192.168.1.0":
rac2 eth0:192.168.1.101
rac1 eth0:192.168.1.100

Suitable interfaces for the private interconnect on subnet "192.168.3.0":
rac2 eth0:192.168.3.101
rac1 eth0:192.168.3.100

Suitable interfaces for the private interconnect on subnet "192.168.2.0":
rac2 eth2:192.168.2.101
rac1 eth2:192.168.2.100

Suitable interfaces for the private interconnect on subnet "192.168.247.0":
rac2 eth3:192.168.247.222
rac1 eth3:192.168.247.111

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

Node connectivity check failed.


Checking CRS integrity...

Checking daemon liveness...
Liveness check passed for "CRS daemon".

Checking daemon liveness...
Liveness check passed for "CSS daemon".

Checking daemon liveness...
Liveness check passed for "EVM daemon".

Checking CRS health...
CRS health check passed.

CRS integrity check passed.

Pre-check for database configuration was unsuccessful on all the nodes.

4.小结
cluvfy工具的stage选项所检验的阶段涵盖了Oracle集群和RAC安装的每一个重要的步骤,建议在每一步骤完成之前和之后都应该使用cluvfy工具进行验证。

看完上述内容,你们对集群验证工具cluvfy的使用方法是什么有进一步的了解吗?如果还想了解更多知识或者相关内容,请关注创新互联行业资讯频道,感谢大家的支持。


标题名称:集群验证工具cluvfy的使用方法是什么
文章路径:http://cdkjz.cn/article/pjidhe.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220