Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the method of using the cluster verification tool cluvfy

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about the use of the cluster verification tool cluvfy, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

Cluvfy, as a cluster verification tool, can play a very good auxiliary role in the installation and configuration of Oracle clusters and RAC. Take a brief look at the functions brought to us by this tool.

1. Get help for the cluster verification tool 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]

This article mainly introduces the verification methods of stage types.

Each phase of the Oracle cluster and RAC installation process is called a stage and should be checked before and after entering each stage. Before entering a specific stage, a series of predefined content checks should be carried out to ensure that the cluster environment meets the conditions for moving on to the next phase, the so-called "pre-checking". Corresponding to this is the "post-check", that is, a set of predefined check actions that need to be performed after the completion of a certain stage of operation.

two。 Get verifiable information about the stage option

You can use the "cluvfy stage-list" command to get a verifiable phase.

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

Simple comments:

-post hwos: post-check the hardware and operating system

-pre cfs: pre-check the CFS setting

-post cfs: post-check the CFS settings

-pre crsinst: pre-check the CRS installation

-post crsinst: post-check the CRS installation

-pre dbinst: pre-check the database installation

-pre dbcfg: pre-check the database configuration.

3. The specific usage is given.

1) do post-inspection of hardware and operating system for rac1 and rac2 nodes

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) pre-check the installation of CRS on rac1 and rac2 nodes

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) check the late installation of CRS on rac1 and rac2 nodes

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) pre-check the database installation of rac1 and rac2 nodes

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) check the database installation later on the rac1 and rac2 nodes

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

The phases verified by the stage option of the cluvfy tool cover every important step of the Oracle cluster and RAC installation, and it is recommended that you use the cluvfy tool to verify before and after each step is completed.

After reading the above, do you have any further understanding of the use of the cluster verification tool cluvfy? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report