Wednesday, September 7, 2016

RAC- Cluster Verification Utility Overview

Cluster Verification Utility Overview

- Introduced in Oracle 10.2

- Checks cluster configuration
-stages - verifies all steps for specified stage have been completed
-components - verifies specified component has been correctly installed

- Supplied with Oracle Clusterware
Can be downloaded from OTN (Linux and Windows)

- Also works with 10.1 (specify -10gR1 option)


- For earlier versions see Metalink Note 135714.1
Script to Collect RAC Diagnostic Information (racdiag.sql)

Cluster Verification Utility Stages

CLUVFY Stages include:








Cluster Verification Utility Components

CLUVFY Components include:

Cluster Verification Utility Example

- For example, to check configuration before installing Oracle Clusterware on node1 and node2 use:

sh runcluvfy.sh stage -pre crsinst -n host1, host2
- Checks
node reachability
user equivalence
administrative privileges
node connectivity
shared stored accessibility
If any checks fail append -verbose to display more information

Cluster Verification Utility Trace & Diagnostics

To enable trace in CLUVFY use:
     export SRVM_TRACE=true
-Trace files are written to the $CV_HOME/cv/log directory
-By default this directory is removed immediately after CLUVFY is execution
-On Linux/Unix comment out the following line in runcluvfy.sh
   # $RM -rf $CV_HOME
- Pathname of CV_HOME directory is based on operating system process e.g:
  /tmp/18124
It can be useful to echo value of CV_HOME in runcluvfy.sh:
 echo CV_HOME=$CV_HOME







No comments:

Post a Comment