使用Cluster Verify Utility校验RAC环境

The Cluster Verification Utility (CVU) is a utility distributed with Oracle Grid Infrastructure / Oracle Clusterware. It was developed to assist in the installation and configuration of Oracle Clusterware as well as Oracle Real Application Clusters (RAC). CVU checks range from initial hardware setup tests through entire cluster checks for Oracle RAC deployments. CVU covers all intermediate stages during the installation and configuration of a complete Oracle RAC stack. 


[oracle@racnode2 ~]$ cluvfy stage -help


USAGE:
cluvfy stage {-pre|-post} <stage-name> <stage-specific options>  [-verbose]


SYNTAX (for Stages):
cluvfy stage -post hwos -n <node_list>  [ -s <storageID_list>  ]  [-verbose]
cluvfy stage -pre cfs -n <node_list> -s <storageID_list>  [-verbose]
cluvfy stage -post cfs -n <node_list>  -f <file_system>   [-verbose]
cluvfy stage -pre crsinst -n <node_list>   [-r { 10gR1 | 10gR2 } ] 
			 [ -c <ocr_location> ]  [ -q <voting_disk> ] 
			 [ -osdba <osdba_group> ] 
			 [ -orainv <orainventory_group> ]  [-verbose]
cluvfy stage -post crsinst -n <node_list>  [-verbose]
cluvfy stage -pre dbinst -n <node_list>   [-r { 10gR1 | 10gR2 } ] 
			[ -osdba <osdba_group> ]  [-verbose]
cluvfy stage -pre dbcfg -n <node_list>  -d <oracle_home>  [-verbose]

[oracle@racnode2 ~]$ cluvfy stage -list


USAGE:
cluvfy stage {-pre|-post} <stage-name> <stage-specific options>  [-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

[oracle@racnode2 ~]$ 
[oracle@racnode2 ~]$ cluvfy stage -help


USAGE:
cluvfy stage {-pre|-post} <stage-name> <stage-specific options>  [-verbose]


SYNTAX (for Stages):
cluvfy stage -post hwos -n <node_list>  [ -s <storageID_list>  ]  [-verbose]
cluvfy stage -pre cfs -n <node_list> -s <storageID_list>  [-verbose]
cluvfy stage -post cfs -n <node_list>  -f <file_system>   [-verbose]
cluvfy stage -pre crsinst -n <node_list>   [-r { 10gR1 | 10gR2 } ] 
			 [ -c <ocr_location> ]  [ -q <voting_disk> ] 
			 [ -osdba <osdba_group> ] 
			 [ -orainv <orainventory_group> ]  [-verbose]
cluvfy stage -post crsinst -n <node_list>  [-verbose]
cluvfy stage -pre dbinst -n <node_list>   [-r { 10gR1 | 10gR2 } ] 
			[ -osdba <osdba_group> ]  [-verbose]
cluvfy stage -pre dbcfg -n <node_list>  -d <oracle_home>  [-verbose]

[oracle@racnode2 ~]$ 
[oracle@racnode2 ~]$ cluvfy -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@racnode2 ~]$ 
[oracle@racnode2 ~]$ cluvfy comp -list


USAGE:
cluvfy comp  <component-name> <component-specific options>  [-verbose]

Valid components are:
	nodereach : checks reachability between nodes
	nodecon   : checks node connectivity 
	cfs       : checks CFS integrity
	ssa       : checks shared storage accessibility
	space     : checks space availability
	sys       : checks minimum system requirements
	clu       : checks cluster integrity
	clumgr    : checks cluster manager integrity
	ocr       : checks OCR integrity
	crs       : checks CRS integrity
	nodeapp   : checks node applications existence
	admprv    : checks administrative privileges
	peer      : compares properties with peers


Cluster Installation Ready check on all nodes

[oracle@racnode1 ~]$  cluvfy stage -pre crsinst -n racnode1,racnode2

Performing pre-checks for cluster services setup 

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


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.0.0" with node(s) racnode2,racnode1.
Node connectivity check passed for subnet "172.168.0.0" with node(s) racnode2,racnode1.

Suitable interfaces for VIP on subnet "172.168.0.0":
racnode2 eth1:172.168.1.52
racnode1 eth1:172.168.1.51

Suitable interfaces for the private interconnect on subnet "192.168.0.0":
racnode2 eth0:192.168.1.52 eth0:192.168.1.152
racnode1 eth0:192.168.1.51 eth0:192.168.1.151

Node connectivity check passed.


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 "binutils-2.17.50.0.6-2.el5".
Package existence check passed for "control-center-2.16.0-14.el5".
Package existence check passed for "gcc-4.1.1-52".
Package existence check passed for "glibc-2.5-12".
Package existence check passed for "glibc-common-2.5-12".
Package existence check passed for "libstdc++-4.1.1-52.el5".
Package existence check passed for "libstdc++-devel-4.1.1-52.el5".
Package existence check passed for "make-3.81-1.1".
Package existence check passed for "sysstat-7.0.0-3.el5".
Package existence check passed for "setarch-2.0-1.1".
Kernel parameter check passed for "semmsl".
Kernel parameter check passed for "semmns".
Kernel parameter check passed for "semopm".
Kernel parameter check passed for "semmni".
Kernel parameter check passed for "shmall".
Kernel parameter check passed for "shmmni".
Kernel parameter check passed for "file-max".
Kernel parameter check passed for "rmem_default".
Kernel parameter check passed for "rmem_max".
Kernel parameter check passed for "wmem_default".
Kernel parameter check passed for "wmem_max".
Group existence check passed for "dba".
User existence check passed for "nobody".
Hard resource limit check passed for "open file descriptors".
Soft resource limit check passed for "open file descriptors".
Hard resource limit check passed for "maximum user processes".
Soft resource limit check passed for "maximum user processes".

System requirement passed for 'crs'

Pre-check for cluster services setup was successful. 

Database Installation Ready check on all nodes

[oracle@racnode1 ~]$ cluvfy stage -pre dbinst -n racnode1,racnode2

Performing pre-checks for database installation 

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


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.0.0" with node(s) racnode2,racnode1.
Node connectivity check passed for subnet "172.168.0.0" with node(s) racnode2,racnode1.

Suitable interfaces for VIP on subnet "172.168.0.0":
racnode2 eth1:172.168.1.52
racnode1 eth1:172.168.1.51

Suitable interfaces for the private interconnect on subnet "192.168.0.0":
racnode2 eth0:192.168.1.52 eth0:192.168.1.152
racnode1 eth0:192.168.1.51 eth0:192.168.1.151

Node connectivity check passed.


Checking system requirements for 'database'...
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 "binutils-2.17.50.0.6-2.el5".
Package existence check passed for "control-center-2.16.0-14.el5".
Package existence check passed for "gcc-4.1.1-52".
Package existence check passed for "glibc-2.5-12".
Package existence check passed for "glibc-common-2.5-12".
Package existence check passed for "libstdc++-4.1.1-52.el5".
Package existence check passed for "libstdc++-devel-4.1.1-52.el5".
Package existence check passed for "make-3.81-1.1".
Package existence check passed for "sysstat-7.0.0-3.el5".
Package existence check passed for "setarch-2.0-1.1".
Kernel parameter check passed for "semmsl".
Kernel parameter check passed for "semmns".
Kernel parameter check passed for "semopm".
Kernel parameter check passed for "semmni".
Kernel parameter check passed for "shmall".
Kernel parameter check passed for "shmmni".
Kernel parameter check passed for "file-max".
Kernel parameter check passed for "rmem_default".
Kernel parameter check passed for "rmem_max".
Kernel parameter check passed for "wmem_default".
Kernel parameter check passed for "wmem_max".
Group existence check passed for "dba".
User existence check passed for "nobody".
Hard resource limit check passed for "open file descriptors".
Soft resource limit check passed for "open file descriptors".
Hard resource limit check passed for "maximum user processes".
Soft resource limit check passed for "maximum user processes".

System requirement passed for 'database'

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 successful. 

cluvfy component ocr,crs

[oracle@racnode1 ~]$ cluvfy comp ocr

Verifying OCR integrity 

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.

Verification of OCR integrity was successful. 
[oracle@racnode1 ~]$ 
[oracle@racnode1 ~]$ cluvfy comp crs

Verifying CRS integrity 

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.

Verification of CRS integrity was successful. 




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值