Forgot your password?    
+ Reply to Thread
Results 1 to 2 of 2

Thread: Cluvfy - the cluster verification tool in Oracle RAC

  1. #1
    Expert Oracle Administrator
    Join Date
    Oct 2011
    Location
    New Delhi, India
    Posts
    427

    Cluvfy - the cluster verification tool in Oracle RAC

    The Cluster Verification Utility (CVU) is a validation tool that you can use to check all the important components that need to be verified at different stages of deployment in a RAC environment, and can also be used for Component checks post deployment

    Cluvfy does not take any corrective action following the failure of a verification task, does not enter into areas of performance tuning or monitoring, does not perform any cluster or RAC operation, and does not attempt to verify the internals of cluster database or cluster elements.

    A) CLUVFY with stage option => Used during RAC Deployment

    rac1-> cluvfy stage -help
    ================================
    $ ./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]

    $ $

    will show detail syntax for each of the valid components.

    ./cluvfy stage -list
    =====================================
    $ ./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

    will list valid stages and their syntax respectively.

    If you type an invalid command, cluvfy will show the appropriate usage for that particular command.

    Example for Cluster Checks prior to Install of CRS :
    ==================================


    Prior to Installing clusterware , the ./runcluvfy.sh script reports the failures , which should be rectified in order to Install the ckusterware :

    (/u01/stage10g is the stage location of the 10GR2 Database release software)

    rac1-> pwd
    /u01/stage10g/clusterware/cluvfy

    rac1-> ./runcluvfy.sh 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.2.0" with node(s) rac2,rac1.
    Node connectivity check passed for subnet "10.10.10.0" with node(s) rac2,rac1.

    Suitable interfaces for the private interconnect on subnet "192.168.2.0":
    rac2 eth0:192.168.2.132 eth0:192.168.2.32
    rac1 eth0:192.168.2.131 eth0:192.168.2.31

    Suitable interfaces for the private interconnect on subnet "10.10.10.0":
    rac2 eth1:10.10.10.32
    rac1 eth1:10.10.10.31

    ERROR:
    Could not find a suitable set of interfaces for VIPs.

    Node connectivity check failed.


    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 "make-3.79".
    Package existence check passed for "binutils-2.14".
    Package existence check passed for "gcc-3.2".
    Package existence check passed for "glibc-2.3.2-95.27".
    Package existence check passed for "compat-db-4.0.14-5".
    Package existence check failed for "compat-gcc-7.3-2.96.128".
    Check failed on nodes:
    rac2,rac1
    Package existence check failed for "compat-gcc-c++-7.3-2.96.128".
    Check failed on nodes:
    rac2,rac1
    Package existence check failed for "compat-libstdc++-7.3-2.96.128".
    Check failed on nodes:
    rac2,rac1
    Package existence check failed for "compat-libstdc++-devel-7.3-2.96.128".
    Check failed on nodes:
    rac2,rac1
    Package existence check passed for "openmotif-2.2.3".
    Package existence check passed for "setarch-1.3-1".
    Group existence check passed for "dba".
    Group existence check passed for "oinstall".
    User existence check passed for "nobody".

    System requirement failed for 'crs'

    Pre-check for cluster services setup was unsuccessful on all the nodes.
    rac1->


    Example for Cluster Checks post Install of CRS :
    ==================================


    rac1-> /u01/app/oracle/product/10.2.0/crs/bin/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.
    rac1->

  2. #2
    Expert Oracle Administrator
    Join Date
    Oct 2011
    Location
    New Delhi, India
    Posts
    427
    B) CLUVFY with comp option => Used to check RAC Components

    The type of checks that it can do , can be gathered from './cluvfy comp -list'
    ================================

    $ pwd
    /u01/app/oracle/product/10.2.0/crs_1/bin

    $ ./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



    rac1-> cluvfy comp -help
    ================================

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


    SYNTAX (for Components):
    cluvfy comp nodereach -n <node_list> [ -srcnode <node> ] [-verbose]
    cluvfy comp nodecon -n <node_list> [ -i <interface_list> ] [-verbose]
    cluvfy comp cfs [ -n <node_list> ] -f <file_system> [-verbose]
    cluvfy comp ssa [ -n <node_list> ] [ -s <storageID_list> ] [-verbose]
    cluvfy comp space [ -n <node_list> ] -l <storage_location>
    -z <disk_space> {B|K|M|G} [-verbose]
    cluvfy comp sys [ -n <node_list> ] -p { crs | database } [-r { 10gR1 | 10gR2 } ]
    [ -osdba <osdba_group> ] [ -orainv <orainventory_group> ] [-verbose]
    cluvfy comp clu [ -n <node_list> ] [-verbose]
    cluvfy comp clumgr [ -n <node_list> ] [-verbose]
    cluvfy comp ocr [ -n <node_list> ] [-verbose]
    cluvfy comp crs [ -n <node_list> ] [-verbose]
    cluvfy comp nodeapp [ -n <node_list> ] [-verbose]
    cluvfy comp admprv [ -n <node_list> ] [-verbose]
    -o user_equiv [-sshonly]
    -o crs_inst [-orainv <orainventory_group> ]
    -o db_inst [-osdba <osdba_group> ]
    -o db_config -d <oracle_home>
    cluvfy comp peer [ -refnode <node> ] -n <node_list> [-r { 10gR1 | 10gR2 } ]
    [ -orainv <orainventory_group> ] [ -osdba <osdba_group> ] [-verbose]

    rac1->


    EXAMPLE : To check Node reachability
    =============================
    $ ./cluvfy comp nodereach -n rac1,rac2

    Verifying node reachability

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


    Verification of node reachability was successful.
    $

+ Reply to Thread

Similar Threads

  1. Oracle 11g ACFS - ASM Cluster File Systems
    By Hemant in forum RAC Performance,LoadBalancing,TAF,FAN,Troubleshooting
    Replies: 0
    Last Post: 08-18-2012, 01:45 AM
  2. Offline/Online Database Verification Utility
    By devesh_ocp in forum Backup, Restoration & Recovery, RMAN, Flashback, Datapump, Export, Import
    Replies: 0
    Last Post: 04-24-2012, 10:48 PM
  3. Oracle 11gR2 Deinstall tool.
    By ajaychandi in forum Core Database Administration and Monitoring
    Replies: 0
    Last Post: 12-22-2011, 06:14 PM
  4. Cluvfy - the cluster verification tool in Oracle RAC
    By Hemant in forum RAC Concepts and Administration
    Replies: 1
    Last Post: 12-15-2011, 08:49 PM
  5. Backup of Oracle Cluster Registry (OCR) in Oracle RAC
    By Hemant in forum RAC Concepts and Administration
    Replies: 0
    Last Post: 11-08-2011, 08:47 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

DBA Lounge (P) Ltd. deals in Oracle Technologies on Consulting, Resourcing, Corporate Training


Online and corporate training available on Oracle Database 11g, Oracle 11g Real Application Cluster (RAC), Oracle Applications 11i/R12, Oracle Fusion Middleware 11g, Oracle Identity Management-OIM, Oracle Internet Directory 11g-OID, Oracle Business Intelligence Enterprise Edition-OBIEE, Oracle Golden Gate, Oracle Access Management-OAM, Oracle Internet Directory-ODS, Oracle Identity Analytics Architecture-OIA Statistics