RAC11gR2OnLinux‎ > ‎

Running cluvfy checks

posted May 17, 2011, 7:25 AM by Sachchida Ojha
[oracle@va-stg-orac01 bin]$ ./cluvfy -help


USAGE:
cluvfy [-help|-version]
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@va-stg-orac01 bin]$ ./cluvfy stage -help


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

SYNTAX (for Stages):
cluvfy stage -pre cfs -n <node_list> -s <storageID_list> [-verbose]
cluvfy stage -pre crsinst -n <node_list> [-r {10gR1|10gR2|11gR1|11gR2}] [-c <ocr_location_list>]
                          [-q <voting_disk_list>] [-osdba <osdba_group>]
                          [-orainv <orainventory_group>] [-asm -asmgrp <asmadmin_group>]
                          [-asm -asmdev <asm_device_list>] [-fixup [-fixupdir <fixup_dir>]]
                          [-verbose]
cluvfy stage -pre acfscfg -n <node_list> [-asmdev <asm_device_list>] [-verbose]
cluvfy stage -pre dbinst -n <node_list> [-r {10gR1|10gR2|11gR1|11gR2}] [-osdba <osdba_group>]
                         [-fixup [-fixupdir <fixup_dir>]] [-verbose]
cluvfy stage -pre dbcfg -n <node_list> -d <oracle_home> [-fixup [-fixupdir <fixup_dir>]]
                        [-verbose]
cluvfy stage -pre hacfg [-osdba <osdba_group>] [-orainv <orainventory_group>] [-fixup [-fixupdir <fixup_dir>]]
                        [-verbose]
cluvfy stage -pre nodeadd -n <node_list> [-fixup [-fixupdir <fixup_dir>]] [-verbose]
cluvfy stage -post hwos -n <node_list> [-s <storageID_list>] [-verbose]
cluvfy stage -post cfs -n <node_list> -f <file_system> [-verbose]
cluvfy stage -post crsinst -n <node_list> [-verbose]
cluvfy stage -post acfscfg -n <node_list> [-verbose]
cluvfy stage -post hacfg [-verbose]
cluvfy stage -post nodeadd -n <node_list> [-verbose]
cluvfy stage -post nodedel -n <node_list> [-verbose]


[oracle@va-stg-orac01 bin]$ ./cluvfy stage -list


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

Valid stage options and stage names are:
      -pre cfs        : pre-check for CFS setup
      -pre crsinst    : pre-check for CRS installation
      -pre acfscfg    : pre-check for ACFS Configuration.
      -pre dbinst     : pre-check for database installation
      -pre dbcfg      : pre-check for database configuration
      -pre hacfg      : pre-check for HA configuration
      -pre nodeadd    : pre-check for node addition.
      -post hwos      : post-check for hardware and operating system
      -post cfs       : post-check for CFS setup
      -post crsinst   : post-check for CRS installation
      -post acfscfg   : post-check for ACFS Configuration.
      -post hacfg     : post-check for HA configuration
      -post nodeadd   : post-check for node addition.
      -post nodedel   : post-check for node deletion.

[oracle@va-stg-orac01 bin]$

[oracle@va-stg-orac01 bin]$ ./cluvfy comp -help


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

SYNTAX (for Components):
cluvfy comp nodereach -n <node_list> [-srcnode <srcnode>] [-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>] [-t {software|data|ocr_vdisk}]
                [-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|ha|database} [-r {10gR1|10gR2|11gR1|11gR2}]
                [-osdba <osdba_group>] [-orainv <orainventory_group>]
                [-fixup [-fixupdir <fixup_dir>]] [-verbose]
cluvfy comp clu [-n <node_list>] [-verbose]
cluvfy comp clumgr [-n <node_list>] [-verbose]
cluvfy comp ocr [-n <node_list>] [-verbose]
cluvfy comp olr [-verbose]
cluvfy comp ha [-verbose]
cluvfy comp crs [-n <node_list>] [-verbose]
cluvfy comp nodeapp [-n <node_list>] [-verbose]
cluvfy comp admprv [-n <node_list>]
                   -o user_equiv [-sshonly]
                   -o crs_inst [-orainv <orainventory_group>]
                   -o db_inst [-osdba <osdba_group>] [-fixup [-fixupdir <fixup_dir>]]
                   -o db_config -d <oracle_home> [-fixup [-fixupdir <fixup_dir>]]
                   [-verbose]
cluvfy comp peer -n <node_list> [-refnode <refnode>] [-r {10gR1|10gR2|11gR1|11gR2}]
                 [-osdba <osdba_group>] [-orainv <orainventory_group>]
                 [-verbose]
cluvfy comp software [-n <node_list>] [-d <oracle_home>] [-r {10gR1|10gR2|11gR1|11gR2}]
                     [-verbose]
cluvfy comp acfs [-n <node_list>] [-f <file_system>] [-verbose]
cluvfy comp asm [-n <node_list>] [-verbose]
cluvfy comp gpnp [-n <node_list>] [-verbose]
cluvfy comp gns [-n <node_list>] [-verbose]
cluvfy comp scan [-verbose]
cluvfy comp ohasd [-n <node_list>] [-verbose]
cluvfy comp clocksync [-n <node_list>] [-noctss] [-verbose]
cluvfy comp vdisk [-n <node_list>] [-verbose]


[oracle@va-stg-orac01 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
      olr             : checks OLR integrity
      ha              : checks HA integrity
      crs             : checks CRS integrity
      nodeapp         : checks node applications existence
      admprv          : checks administrative privileges
      peer            : compares properties with peers
      software        : checks software distribution
      acfs            : checks ACFS integrity
      asm             : checks ASM integrity
      gpnp            : checks GPnP integrity
      gns             : checks GNS integrity
      scan            : checks SCAN configuration
      ohasd           : checks OHASD integrity
      clocksync       : checks Clock Synchronization
      vdisk           : check Voting Disk Udev settings

[oracle@va-stg-orac01 bin]$



[oracle@va-stg-orac01 bin]$ ./cluvfy comp nodereach -n va-stg-orac01,va-stg-orac02 -verbose

Verifying node reachability

Checking node reachability...

Check: Node reachability from node "va-stg-orac01"
  Destination Node                      Reachable?
  ------------------------------------  ------------------------
  va-stg-orac01                         yes
  va-stg-orac02                         yes
Result: Node reachability check passed from node "va-stg-orac01"


Verification of node reachability was successful.
[oracle@va-stg-orac01 bin]$


[oracle@va-stg-orac01 bin]$ ./cluvfy stage -post hwos  -n va-stg-orac01,va-stg-orac02  -verbose

Performing post-checks for hardware and operating system setup

Checking node reachability...

Check: Node reachability from node "va-stg-orac01"
  Destination Node                      Reachable?
  ------------------------------------  ------------------------
  va-stg-orac01                         yes
  va-stg-orac02                         yes
Result: Node reachability check passed from node "va-stg-orac01"


Checking user equivalence...

Check: User equivalence for user "oracle"
  Node Name                             Comment
  ------------------------------------  ------------------------
  va-stg-orac02                         passed
  va-stg-orac01                         failed
Result: PRVF-4007 : User equivalence check failed for user "oracle"

WARNING:
User equivalence is not set for nodes:
        va-stg-orac01
Verification will proceed with nodes:
        va-stg-orac02

Checking node connectivity...

Checking hosts config file...
  Node Name     Status                    Comment
  ------------  ------------------------  ------------------------
  va-stg-orac02  passed

Verification of the hosts config file successful


Interface information for node "va-stg-orac02"
 Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU
 ------ --------------- --------------- --------------- --------------- ----------------- ------
 bond0  10.0.40.62      10.0.40.0       0.0.0.0         10.0.40.1       60:EB:69:A5:FB:C2 1500
 bond1  172.16.20.62    172.16.20.0     0.0.0.0         10.0.40.1       60:EB:69:A5:FB:C4 1500
 bond2  172.16.21.62    172.16.21.0     0.0.0.0         10.0.40.1       60:EB:69:A5:FB:C3 1500


Check: Node connectivity of subnet "10.0.40.0"
Result: Node connectivity passed for subnet "10.0.40.0" with node(s) va-stg-orac02


Check: TCP connectivity of subnet "10.0.40.0"
  Source                          Destination                     Connected?
  ------------------------------  ------------------------------  ----------------
  va-stg-orac01:10.0.40.61        va-stg-orac02:10.0.40.62        passed
Result: TCP connectivity check passed for subnet "10.0.40.0"


Check: Node connectivity of subnet "172.16.20.0"
Result: Node connectivity passed for subnet "172.16.20.0" with node(s) va-stg-orac02


Check: TCP connectivity of subnet "172.16.20.0"
  Source                          Destination                     Connected?
  ------------------------------  ------------------------------  ----------------
  va-stg-orac01:10.0.40.61        va-stg-orac02:172.16.20.62      passed
Result: TCP connectivity check passed for subnet "172.16.20.0"


Check: Node connectivity of subnet "172.16.21.0"
Result: Node connectivity passed for subnet "172.16.21.0" with node(s) va-stg-orac02


Check: TCP connectivity of subnet "172.16.21.0"
  Source                          Destination                     Connected?
  ------------------------------  ------------------------------  ----------------
  va-stg-orac01:10.0.40.61        va-stg-orac02:172.16.21.62      passed
Result: TCP connectivity check passed for subnet "172.16.21.0"


Interfaces found on subnet "10.0.40.0" that are likely candidates for VIP are:
va-stg-orac02 bond0:10.0.40.62

Interfaces found on subnet "172.16.20.0" that are likely candidates for a private interconnect are:
va-stg-orac02 bond1:172.16.20.62

Interfaces found on subnet "172.16.21.0" that are likely candidates for a private interconnect are:
va-stg-orac02 bond2:172.16.21.62

Result: Node connectivity check passed


Checking for multiple users with UID value 0
Result: Check for multiple users with UID value 0 passed

Checking shared storage accessibility...

WARNING:
PRVF-7017 : Package cvuqdisk not installed
        va-stg-orac02

No shared storage found


Shared storage check was successful on nodes "va-stg-orac02"

Post-check for hardware and operating system setup was unsuccessful.
Checks did not pass for the following node(s):
        va-stg-orac01
[oracle@va-stg-orac01 bin]$ ./cluvfy comp nodecon -n node_list -verbose

Verifying node connectivity

ERROR:
PRVF-4095 : Unable to reach any of the nodes
Verification cannot proceed


Verification of node connectivity was unsuccessful on all the specified nodes.
[oracle@va-stg-orac01 bin]$ ./cluvfy comp nodecon -n  va-stg-orac01,va-stg-orac02 -verbose

Verifying node connectivity

WARNING:
User equivalence is not set for nodes:
        va-stg-orac01
Verification will proceed with nodes:
        va-stg-orac02

Checking node connectivity...

Checking hosts config file...
  Node Name     Status                    Comment
  ------------  ------------------------  ------------------------
  va-stg-orac02  passed

Verification of the hosts config file successful


Interface information for node "va-stg-orac02"
 Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU
 ------ --------------- --------------- --------------- --------------- ----------------- ------
 bond0  10.0.40.62      10.0.40.0       0.0.0.0         10.0.40.1       60:EB:69:A5:FB:C2 1500
 bond1  172.16.20.62    172.16.20.0     0.0.0.0         10.0.40.1       60:EB:69:A5:FB:C4 1500
 bond2  172.16.21.62    172.16.21.0     0.0.0.0         10.0.40.1       60:EB:69:A5:FB:C3 1500


Check: Node connectivity of subnet "10.0.40.0"
Result: Node connectivity passed for subnet "10.0.40.0" with node(s) va-stg-orac02


Check: TCP connectivity of subnet "10.0.40.0"
  Source                          Destination                     Connected?
  ------------------------------  ------------------------------  ----------------
  va-stg-orac01:10.0.40.61        va-stg-orac02:10.0.40.62        passed
Result: TCP connectivity check passed for subnet "10.0.40.0"


Check: Node connectivity of subnet "172.16.20.0"
Result: Node connectivity passed for subnet "172.16.20.0" with node(s) va-stg-orac02


Check: TCP connectivity of subnet "172.16.20.0"
  Source                          Destination                     Connected?
  ------------------------------  ------------------------------  ----------------
  va-stg-orac01:10.0.40.61        va-stg-orac02:172.16.20.62      passed
Result: TCP connectivity check passed for subnet "172.16.20.0"


Check: Node connectivity of subnet "172.16.21.0"
Result: Node connectivity passed for subnet "172.16.21.0" with node(s) va-stg-orac02


Check: TCP connectivity of subnet "172.16.21.0"
  Source                          Destination                     Connected?
  ------------------------------  ------------------------------  ----------------
  va-stg-orac01:10.0.40.61        va-stg-orac02:172.16.21.62      passed
Result: TCP connectivity check passed for subnet "172.16.21.0"


Interfaces found on subnet "10.0.40.0" that are likely candidates for VIP are:
va-stg-orac02 bond0:10.0.40.62

Interfaces found on subnet "172.16.20.0" that are likely candidates for a private interconnect are:
va-stg-orac02 bond1:172.16.20.62

Interfaces found on subnet "172.16.21.0" that are likely candidates for a private interconnect are:
va-stg-orac02 bond2:172.16.21.62

Result: Node connectivity check passed


Verification of node connectivity was unsuccessful.
Checks did not pass for the following node(s):
        va-stg-orac01
[oracle@va-stg-orac01 bin]$ cluvfy comp nodereach -n va-stg-orac01,va-stg-orac02 -va-stg-orac01 -verbose
-bash: cluvfy: command not found
[oracle@va-stg-orac01 bin]$ ./cluvfy comp nodereach -n va-stg-orac01,va-stg-orac02 -va-stg-orac01 -verbose

ERROR:
Invalid command line syntax.

USAGE:
cluvfy comp nodereach -n <node_list> [-srcnode <srcnode>] [-verbose]

<node_list> is the comma separated list of non-domain qualified nodenames, on which the test should be conducted.
<srcnode> is the node from which the reachability test will be performed.

DESCRIPTION:
Checks the reachability from the source node to the nodes specified in the nodelist. Source node is specified through the '-srcnode' option. If no source node is given, the local node is used as the source node.

[oracle@va-stg-orac01 bin]$ cluvfy comp nodereach -n va-stg-orac01,va-stg-orac02 -verbose
-bash: cluvfy: command not found
[oracle@va-stg-orac01 bin]$ ./cluvfy comp nodereach -n va-stg-orac01,va-stg-orac02 -verbose

Verifying node reachability

Checking node reachability...

Check: Node reachability from node "va-stg-orac01"
  Destination Node                      Reachable?
  ------------------------------------  ------------------------
  va-stg-orac01                         yes
  va-stg-orac02                         yes
Result: Node reachability check passed from node "va-stg-orac01"


Verification of node reachability was successful.
[oracle@va-stg-orac01 bin]$


Comments