重庆分公司,新征程启航

为企业提供网站建设、域名注册、服务器等服务

集群验证工具cluvfy的使用方法是什么-创新互联

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

创新互联专注于双湖网站建设服务及定制,我们拥有丰富的企业做网站经验。 热诚为您提供双湖营销型网站建设,双湖网站制作、双湖网页设计、双湖网站官网定制、小程序定制开发服务,打造双湖网络公司原创品牌,更为您提供双湖网站排名全网营销落地服务。创新互联公司专注于曲水网站建设服务及定制,我们拥有丰富的企业做网站经验。 热诚为您提供曲水营销型网站建设,曲水网站制作、曲水网页设计、曲水网站官网定制、小程序制作服务,打造曲水网络公司原创品牌,更为您提供曲水网站排名全网营销落地服务。创新互联建站专注于皋兰网站建设服务及定制,我们拥有丰富的企业做网站经验。 热诚为您提供皋兰营销型网站建设,皋兰网站制作、皋兰网页设计、皋兰网站官网定制、重庆小程序开发公司服务,打造皋兰网络公司原创品牌,更为您提供皋兰网站排名全网营销落地服务。

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://cqcxhl.com/article/cehsoj.html

其他资讯

在线咨询
服务热线
服务热线:028-86922220
TOP