If the RAC environment after 10g has been installed, it should be no stranger to this tool. Runcluvfy.sh scripts are typically executed before the cluster and database are installed to check that the current system meets the installation conditions.
This article describes comp related options.
When you install RAC, the Cluvfy tool is not yet installed, and runcluvfy.sh implements the Cluvfy tool's functionality in the shell, along with the installation disk, so that users can take advantage of the functionality of the tool before the database and cluster installation.
The main function of this tool is to verify that the system meets the installation conditions.
This tool has a number of options, so it is impossible and unnecessary to describe all the options in detail, and if you divide from large classes, the tool can be divided into two broad categories: comp to verify the functionality of the component; Stage is used to validate the deployment functionality.
You can use Comp–list to list all the components that the Cluvfy tool supports validation:
bash-2.03$ Cluvfy Comp-list
USAGE:
Cluvfy Comp <component-name> <component-specific options> [-verbose]
Valid components are:
Nodereach:checks reachability between nodes
Nodecon:checks Node Connectivity
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
Where components such as Nodereach, Nodecon, and SYS are essential inspection options for installing the cluster environment:
bash-2.03$ cluvfy Comp Nodereach-n racnode1,racnode2
Verifying node reachability
Checking node reachability ...
Node reachability check passed from node "Racnode2".
Verification of Node Reachability was successful.
The list of nodes in the-n option is specified, and no spaces can be included before or after the comma in the node list, otherwise an error is given.
bash-2.03$ cluvfy Comp Nodereach-n racnode1,racnode2-verbose
Verifying node reachability
Checking node reachability ...
Check:node reachability from Node "Racnode2"
Destination Node reachable?
------------------------------------ ------------------------
Racnode1 Yes
Racnode2 Yes
Result:node reachability check passed from Node "Racnode2".
Verification of Node Reachability was successful.
Use-verbose for more detailed information.
bash-2.03$ cluvfy Comp Nodecon-n racnode1,racnode2-verbose
Verifying node Connectivity
Checking Node Connectivity ...
Interface Information for node "Racnode2"
Interface Name IP Address Subnet
------------------------------ ------------------------------ ----------------
Ce0 172.25.198.223 172.25.0.0
Ce0 172.25.198.225 172.25.198.0