Next Generation config checker

Existing config checker ?

Sccheck , run at install, and can be invoked form command line (by default, run an explorer for both nodes ) :

c-220ra-1-epar03 #  sccheck
sccheck: One or more checks failed.
sccheck: The greatest severity of all check failures was 4 (CRITICAL).
sccheck: Reports are in /var/cluster/sccheck/reports.2009-02-07.14:49:40.

c-220ra-1-epar03 # cd /var/cluster/sccheck/reports.2009-02-07.14:49:40\* 
c-220ra-1-epar03 # ls
sccheck-results.c-220ra-1-epar03.txt  sccheck-results.c-220ra-2-epar03.xml
sccheck-results.c-220ra-1-epar03.xml  sccheck-results.cluster32u2.txt
sccheck-results.c-220ra-2-epar03.txt  sccheck-results.cluster32u2.xml
c-220ra-1-epar03 # cat sccheck-results.cluster32u2.txt

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\* sccheck(1m)
\* Sun(TM) Embedded Knowledge Engine (Sun EKE) (3.0.1) single \*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
            
Report #                      : -229e160d:11f51088fb8:32767:10.16.80.90
Report Generation Date        : 2009.02.07 at 13:58:49 GMT
Knowledge Automation Engine   : 3.0.1

================================================================================
= SYSTEM INFORMATION                                                           =
================================================================================
System Type   : CLUSTER
Explorer Data : /var/cluster/sccheck/explorers.0/explorer.80b7df0c.c-220ra-1-epar03-2009.02.07.13.49, /var/cluster/sccheck/explorers.0/explorer.80cefe0b.c-220ra-2-epar03-2009.02.07.13.49
HOSTID        : 
SERIAL_NUMBER : 
PRODUCT_TYPE  : 

================================================================================
= ANALYSIS SUMMARY                                                             =
================================================================================
Critical : 1
High     : 0
Medium   : 0
Low      : 0
Passed   : 1
N/A      : 1
Erroneous: 0
---------------
Total    : 3

================================================================================
= ANALYSIS DETAILS                                                             =
================================================================================
        
--------------------------------------------------------------------------------


CHECK ID : 1872
SEVERITY : CRITICAL
PROBLEM  : Cluster failover/switchover might fail because CCR files related to Resource Groups and/or Resource Types are missing or corrupted on a cluster node.

ANALYSIS :
 A CCR file(s) related to Resource Groups and/or Resource Types for a node in this cluster
is missing or corrupt. Without these files, the proper node configuration can not be
determined. The node will fail to takeover a data service in the event that the node
mastering the service fails. During a failover, one of the remaining nodes will need to
bring up the data service so that clients can access that service. However, this is not
possible because the configuration parameters for this service are lost. This can lead to
a loss of service. On hostid 80b7df0c: The CCR file is missing for resource group jmt-rg.
On hostid 80b7df0c: The CCR files are missing for resource types SUNW.LogicalHostname:3,
SUNW.SharedAddress:2, SUNW.HAStoragePlus:6, and SUNW.nfs:3.2. On hostid 80cefe0b: The CCR
file is missing for resource group jmt-rg. On hostid 80cefe0b: The CCR files are missing
for resource types SUNW.LogicalHostname:3, SUNW.SharedAddress:2, SUNW.HAStoragePlus:6, and
SUNW.nfs:3.2. 

RECOMMENDATIONS :
The following tables only require a reboot to be refreshed: 


        - rgm_rg_\*
        - rgm_rt_\*

NOTE:  Reboot the node and make it rejoin the cluster so that its 
CCR gets refreshed with good tables from the existing cluster.

        - init 0 or shutdown -y -g0 -i0
        - ok> boot

        OR
        
        - init 6 or shutdown -y -g0 -i6

        The node should rejoin the cluster on reboot.

NOTE:  Before rebooting a node, it is always best to move any resource/device
groups from that node to another node in the cluster.  The exact scswitch options used will depend on the cluster configuration.

        a)  Move Resource Group(s) (RG) between nodes                         
                scswitch -z -g nfs-rg -h <dest node>

        b)  Move all RGs and Device Groups (DGs)
                scswitch -S -h <source host>



===============================================================================
Sun Confidential/Proprietary Information.
----------------------------------------

This report contains Sun(TM) confidential information in which Sun claims 
trade secrets and other proprietary rights. The content is based upon Sun's 
proprietary technology and is being provided to you pursuant the terms of your 
SunSpectrum contract. By accepting a copy of this report, you agree to use it 
for internal purposes only.

Copyright 2002 Sun Microsystems, Inc.
================================ End Of Report =================================



New config checker

c-220ra-2-epar03 # man cluster
...
     /usr/cluster/bin/cluster check [-C checkid[,...]]|-E checkid[,...]]
     [-e explorerpath[,...]] [-j jarpath[,...]] [-k keyword[,...]] [-n node[,...]]
     [-o outputdir] [-s severitylevel] [clustername]
...


c-220ra-1-epar03 # cluster list-checks

  S6708586  :   (Critical)   The nsswitch.conf file "netmasks" database entry does not have "cluster" first.
  S6708502  :   (Critical)   Unsupported Real Time processes are running on a Sun Cluster node.
  M6336822  :   (Critical)   Global filesystem /etc/vfstab entries are not consistent across all Sun Cluster nodes.
  S6708479  :   (Critical)   The /etc/system rpcmod:svc_default_stksize parameter is missing or has an incorrect value for Sun Cluster.
  S6708606  :   (Moderate)   Multiple network interfaces on a single subnet have the same MAC address.
  S6708644  :   (Critical)   Global Veritas File Systems (VxFS) without logging enabled might lead to unpredictable results.
  S6708605  :   (Critical)   The /dev/rmt directory is missing.
  S6708592  :   (Critical)   The nsswitch.conf file "group" database entry does not have "files" first.
  S6708589  :   (Critical)   The nsswitch.conf file "services" database entry does not have "files" first.
  S6708638  :   (Moderate)   Node does has insufficient physical memory.
  S6708641  :   (Critical)   Cluster failover/switchover might fail because rpcbind is not running.
  S6708599  :   (Variable)   Sun Cluster node does not have a mount point for a global filesystem /etc/vfstab entry.
  S6708496  :   (Moderate)   Cluster node (3.1 or later) OpenBoot Prom (OBP) has local-mac-address? variable set to 'false'.
  S6708689  :   (Variable)   One or more Sun Cluster resources cannot be validated
  S6708255  :   (Critical)   The nsswitch.conf file 'hosts' database entry does not have 'cluster' specified first.
  M6708613  :   (Critical)   vxio major numbers are not consistent across all Sun Cluster nodes.
  S6708642  :   (Critical)   /proc fails to mount periodically during reboots.

c-220ra-1-epar03 # cluster list-checks -j /usr/cluster/lib/cfgchk/cfgchk_test_checks.jar 

  S6708586  :   (Critical)   The nsswitch.conf file "netmasks" database entry does not have "cluster" first.
  S6708502  :   (Critical)   Unsupported Real Time processes are running on a Sun Cluster node.
  M6336822  :   (Critical)   Global filesystem /etc/vfstab entries are not consistent across all Sun Cluster nodes.
  S6708479  :   (Critical)   The /etc/system rpcmod:svc_default_stksize parameter is missing or has an incorrect value for Sun Cluster.
  S6708606  :   (Moderate)   Multiple network interfaces on a single subnet have the same MAC address.
  S6708644  :   (Critical)   Global Veritas File Systems (VxFS) without logging enabled might lead to unpredictable results.
  S6708605  :   (Critical)   The /dev/rmt directory is missing.
  S6708592  :   (Critical)   The nsswitch.conf file "group" database entry does not have "files" first.
  S6708589  :   (Critical)   The nsswitch.conf file "services" database entry does not have "files" first.
  S6708638  :   (Moderate)   Node does has insufficient physical memory.
  S6708641  :   (Critical)   Cluster failover/switchover might fail because rpcbind is not running.
  S6708599  :   (Variable)   Sun Cluster node does not have a mount point for a global filesystem /etc/vfstab entry.
  S6708496  :   (Moderate)   Cluster node (3.1 or later) OpenBoot Prom (OBP) has local-mac-address? variable set to 'false'.
  S6708689  :   (Variable)   One or more Sun Cluster resources cannot be validated
  S6708255  :   (Critical)   The nsswitch.conf file 'hosts' database entry does not have 'cluster' specified first.
  M6708613  :   (Critical)   vxio major numbers are not consistent across all Sun Cluster nodes.
  S6708642  :   (Critical)   /proc fails to mount periodically during reboots.

  STest001  :   (Critical)   Test check: Always violated. Severity CRITICAL. keywordA:1-2
  MTest051  :   (Information)Test check: Multi-node test data fetching methods that use the cache. Violation to get results into report. Severity INFORMATION.
  MTest050  :   (Critical)   Test check: Multi-node check always violated. Severity CRITICAL.
  STest003  :   (Moderate)   Test check: Always violated. Severity MODERATE. keywordB:3-4
  STest002  :   (High)       Test check: Always violated. Severity HIGH. keywordA:1-2
  STest101  :   (Information)Test check: Always passes. Severity INFORMATION. keyword100
  STest028  :   (Information)Test check: Test data fetching methods that use the data cache. Violated in order to get output into report. See logs for caching evidence. Severity INFORMATION.
  STest005  :   (Warning)    Test check: Always violated. Severity WARNING. keywordC:5-6
  STestXXX  :   (Information)Test check: development tool for data processing. Violated in order to get output into report. Severity INFORMATION.
  STest025  :   (Critical)   Test check: Live data src: passes. Explorer data src: insufficient data
  STest004  :   (Low)        Test check: Always violated. Severity LOW. keywordB:3-4
  STest007  :   (Critical)   Test check: Always crashes.  Severity Critical
  STest026  :   (Critical)   Test check: test check inner class loading
  STest006  :   (Information)Test check: Always violated. Severity INFORMATION. keywordC:5-6
  STest027  :   (Information)Test check: invoke command named in aux data. Always violated or InsufficientData. Shows command output in report.



This list the various checks that will be run.



Now to check a config :



c-220ra-1-epar03 # cluster check -v
  initializing...
  initializing xml output...
  loading auxiliary data...
  starting check run...
     c-220ra-1-epar03:   S6708586.... starting:  The nsswitch.conf file "netmasks" database e...
     c-220ra-1-epar03:   S6708586       passed
     c-220ra-2-epar03:   S6708586.... starting:  The nsswitch.conf file "netmasks" database e...
     c-220ra-2-epar03:   S6708586       passed
     c-220ra-1-epar03:   S6708502.... starting:  Unsupported Real Time processes are running ...
     c-220ra-1-epar03:   S6708502       passed
     c-220ra-2-epar03:   S6708502.... starting:  Unsupported Real Time processes are running ...
     c-220ra-2-epar03:   S6708502       passed
     c-220ra-1-epar03, c-220ra-2-epar03:         M6336822.... starting:  Global filesystem /etc/vfstab entries are no...
     c-220ra-1-epar03, c-220ra-2-epar03:         M6336822       passed
     c-220ra-1-epar03:   S6708479.... starting:  The /etc/system rpcmod:svc_default_stksize p...
     c-220ra-1-epar03:   S6708479       passed
     c-220ra-2-epar03:   S6708479.... starting:  The /etc/system rpcmod:svc_default_stksize p...
     c-220ra-2-epar03:   S6708479       passed
     c-220ra-1-epar03:   S6708606.... starting:  Multiple network interfaces on a single subn...
     c-220ra-1-epar03:   S6708606       passed
     c-220ra-2-epar03:   S6708606.... starting:  Multiple network interfaces on a single subn...
     c-220ra-2-epar03:   S6708606       passed
     c-220ra-1-epar03:   S6708644.... starting:  Global Veritas File Systems (VxFS) without l...
     c-220ra-1-epar03:   S6708644       not applicable
     c-220ra-2-epar03:   S6708644.... starting:  Global Veritas File Systems (VxFS) without l...
     c-220ra-2-epar03:   S6708644       not applicable
     c-220ra-1-epar03:   S6708605.... starting:  The /dev/rmt directory is missing.          
     c-220ra-1-epar03:   S6708605       passed
     c-220ra-2-epar03:   S6708605.... starting:  The /dev/rmt directory is missing.          
     c-220ra-2-epar03:   S6708605       passed
     c-220ra-1-epar03:   S6708592.... starting:  The nsswitch.conf file "group" database entr...
     c-220ra-1-epar03:   S6708592       passed
     c-220ra-2-epar03:   S6708592.... starting:  The nsswitch.conf file "group" database entr...
     c-220ra-2-epar03:   S6708592       passed
     c-220ra-1-epar03:   S6708589.... starting:  The nsswitch.conf file "services" database e...
     c-220ra-1-epar03:   S6708589       passed
     c-220ra-2-epar03:   S6708589.... starting:  The nsswitch.conf file "services" database e...
     c-220ra-2-epar03:   S6708589       passed
     c-220ra-1-epar03:   S6708638.... starting:  Node does has insufficient physical memory. 
     c-220ra-1-epar03:   S6708638       passed
     c-220ra-2-epar03:   S6708638.... starting:  Node does has insufficient physical memory. 
     c-220ra-2-epar03:   S6708638       passed
     c-220ra-1-epar03:   S6708641.... starting:  Cluster failover/switchover might fail becau...
     c-220ra-1-epar03:   S6708641       passed
     c-220ra-2-epar03:   S6708641.... starting:  Cluster failover/switchover might fail becau...
     c-220ra-2-epar03:   S6708641       passed
     c-220ra-1-epar03:   S6708599.... starting:  Sun Cluster node does not have a mount point...
     c-220ra-1-epar03:   S6708599       passed
     c-220ra-2-epar03:   S6708599.... starting:  Sun Cluster node does not have a mount point...
     c-220ra-2-epar03:   S6708599       passed
     c-220ra-1-epar03:   S6708496.... starting:  Cluster node (3.1 or later) OpenBoot Prom (O...
     c-220ra-1-epar03:   S6708496       passed
     c-220ra-2-epar03:   S6708496.... starting:  Cluster node (3.1 or later) OpenBoot Prom (O...
     c-220ra-2-epar03:   S6708496       passed
     c-220ra-1-epar03:   S6708689.... starting:  One or more Sun Cluster resources cannot be ...
     c-220ra-1-epar03:   S6708689       passed
     c-220ra-2-epar03:   S6708689.... starting:  One or more Sun Cluster resources cannot be ...
     c-220ra-2-epar03:   S6708689       passed
     c-220ra-1-epar03:   S6708255.... starting:  The nsswitch.conf file 'hosts' database entr...
     c-220ra-1-epar03:   S6708255       passed
     c-220ra-2-epar03:   S6708255.... starting:  The nsswitch.conf file 'hosts' database entr...
     c-220ra-2-epar03:   S6708255       passed
     c-220ra-1-epar03, c-220ra-2-epar03:         M6708613.... starting:  vxio major numbers are not consistent across...
     c-220ra-1-epar03, c-220ra-2-epar03:         M6708613       not applicable
     c-220ra-1-epar03:   S6708642.... starting:  /proc fails to mount periodically during reb...
        searching /var/adm/messages
        searching /var/adm/messages.0
        searching /var/adm/messages.1
        searching /var/adm/messages.2
        searching /var/adm/messages.3
     c-220ra-1-epar03:   S6708642       passed
     c-220ra-2-epar03:   S6708642.... starting:  /proc fails to mount periodically during reb...
        searching /var/adm/messages
        searching /var/adm/messages.0
        searching /var/adm/messages.1
        searching /var/adm/messages.2
        searching /var/adm/messages.3
     c-220ra-2-epar03:   S6708642       passed
  finished check run
  finishing xml output...
  Maximum severity of all violations: No Violations
  Reports in: /var/cluster/logs/cluster_check/2009-02-07.15:13:16/
  cleaning up...

c-220ra-1-epar03 # cd /var/cluster/logs/cluster_check/2009-02-07.15:13:16/
c-220ra-1-epar03 # ls
checkresults.txt             cluster_check.log
checkresults.xml             cluster_check_exit_code.log
c-220ra-1-epar03 # cat checkresults.txt
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*
\*       cluster check           (ver 1.0)
\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

    Report Date:        2009.02.07 at 15.13.22 CET
                        2009.02.07 at 14.13.22 GMT
    Command run on host: 
                        80b7df0c- c-220ra-1-epar03
    Checks run on nodes:
                        c-220ra-1-epar03
                        c-220ra-2-epar03

    Unique Checks: 17

===========================================================================
\*
\*       Summary of Single Node Check Results for c-220ra-1-epar03
\*
===========================================================================
        
        Checks Considered: 15
        
        Results by Status
        -----------------
            Violated          :   0
            Insufficient Data :   0
            Execution Error   :   0
            Unknown Status    :   0
            Information Only  :   0
            Not Applicable    :   1
            Passed            :  14
        
        Violations by Severity
        ----------------------
            Critical          :   0
            High              :   0
            Moderate          :   0
            Low               :   0
        
---------------------------------------------------------------------------
\*
\*       Details for 1 Not Applicable Check on c-220ra-1-epar03
\*
---------------------------------------------------------------------------

        \*  Check ID: S6708644  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: Global Veritas File Systems (VxFS) without logging enabled might lead to unpredictable results.

            \*  Applicability: Applicable only if VxFS is installed.

---------------------------------------------------------------------------
\*
\*       Details for 14 Passed Checks on c-220ra-1-epar03
\*
---------------------------------------------------------------------------

        \*  Check ID: S6708586  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file "netmasks" database entry does not have "cluster" first.


        \*  Check ID: S6708502  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: Unsupported Real Time processes are running on a Sun Cluster node.


        \*  Check ID: S6708479  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The /etc/system rpcmod:svc_default_stksize parameter is missing or has an incorrect value for Sun Cluster.


        \*  Check ID: S6708606  \*\*\*
        --------------------------
            \*  Severity: Moderate

            \*  Problem Statement: Multiple network interfaces on a single subnet have the same MAC address.


        \*  Check ID: S6708605  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The /dev/rmt directory is missing.


        \*  Check ID: S6708592  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file "group" database entry does not have "files" first.


        \*  Check ID: S6708589  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file "services" database entry does not have "files" first.


        \*  Check ID: S6708638  \*\*\*
        --------------------------
            \*  Severity: Moderate

            \*  Problem Statement: Node does has insufficient physical memory.


        \*  Check ID: S6708641  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: Cluster failover/switchover might fail because rpcbind is not running.


        \*  Check ID: S6708599  \*\*\*
        --------------------------
            \*  Severity: Variable

            \*  Problem Statement: Sun Cluster node does not have a mount point for a global filesystem /etc/vfstab entry.


        \*  Check ID: S6708496  \*\*\*
        --------------------------
            \*  Severity: Moderate

            \*  Problem Statement: Cluster node (3.1 or later) OpenBoot Prom (OBP) has local-mac-address? variable set to 'false'.


        \*  Check ID: S6708689  \*\*\*
        --------------------------
            \*  Severity: Variable

            \*  Problem Statement: One or more Sun Cluster resources cannot be validated


        \*  Check ID: S6708255  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file 'hosts' database entry does not have 'cluster' specified first.


        \*  Check ID: S6708642  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: /proc fails to mount periodically during reboots.


===========================================================================
\*
\*       Summary of Single Node Check Results for c-220ra-2-epar03
\*
===========================================================================
        
        Checks Considered: 15
        
        Results by Status
        -----------------
            Violated          :   0
            Insufficient Data :   0
            Execution Error   :   0
            Unknown Status    :   0
            Information Only  :   0
            Not Applicable    :   1
            Passed            :  14
        
        Violations by Severity
        ----------------------
            Critical          :   0
            High              :   0
            Moderate          :   0
            Low               :   0
        
---------------------------------------------------------------------------
\*
\*       Details for 1 Not Applicable Check on c-220ra-2-epar03
\*
---------------------------------------------------------------------------

        \*  Check ID: S6708644  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: Global Veritas File Systems (VxFS) without logging enabled might lead to unpredictable results.

            \*  Applicability: Applicable only if VxFS is installed.

---------------------------------------------------------------------------
\*
\*       Details for 14 Passed Checks on c-220ra-2-epar03
\*
---------------------------------------------------------------------------

        \*  Check ID: S6708586  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file "netmasks" database entry does not have "cluster" first.


        \*  Check ID: S6708502  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: Unsupported Real Time processes are running on a Sun Cluster node.


        \*  Check ID: S6708479  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The /etc/system rpcmod:svc_default_stksize parameter is missing or has an incorrect value for Sun Cluster.


        \*  Check ID: S6708606  \*\*\*
        --------------------------
            \*  Severity: Moderate

            \*  Problem Statement: Multiple network interfaces on a single subnet have the same MAC address.


        \*  Check ID: S6708605  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The /dev/rmt directory is missing.


        \*  Check ID: S6708592  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file "group" database entry does not have "files" first.


        \*  Check ID: S6708589  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file "services" database entry does not have "files" first.


        \*  Check ID: S6708638  \*\*\*
        --------------------------
            \*  Severity: Moderate

            \*  Problem Statement: Node does has insufficient physical memory.


        \*  Check ID: S6708641  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: Cluster failover/switchover might fail because rpcbind is not running.


        \*  Check ID: S6708599  \*\*\*
        --------------------------
            \*  Severity: Variable

            \*  Problem Statement: Sun Cluster node does not have a mount point for a global filesystem /etc/vfstab entry.


        \*  Check ID: S6708496  \*\*\*
        --------------------------
            \*  Severity: Moderate

            \*  Problem Statement: Cluster node (3.1 or later) OpenBoot Prom (OBP) has local-mac-address? variable set to 'false'.


        \*  Check ID: S6708689  \*\*\*
        --------------------------
            \*  Severity: Variable

            \*  Problem Statement: One or more Sun Cluster resources cannot be validated


        \*  Check ID: S6708255  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file 'hosts' database entry does not have 'cluster' specified first.


        \*  Check ID: S6708642  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: /proc fails to mount periodically during reboots.


===========================================================================
\*
\*       Summary of Multi Node Check Results for 
                        c-220ra-1-epar03
                        c-220ra-2-epar03
\*
===========================================================================
        
        Checks Considered: 2
        
        Results by Status
        -----------------
            Violated          :   0
            Insufficient Data :   0
            Execution Error   :   0
            Unknown Status    :   0
            Information Only  :   0
            Not Applicable    :   1
            Passed            :   1
        
        Violations by Severity
        ----------------------
            Critical          :   0
            High              :   0
            Moderate          :   0
            Low               :   0
        
---------------------------------------------------------------------------
\*
\*       Details for 1 Not Applicable Check on 
                        c-220ra-1-epar03
                        c-220ra-2-epar03
\*
---------------------------------------------------------------------------

        \*  Check ID: M6708613  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: vxio major numbers are not consistent across all Sun Cluster nodes.

            \*  Applicability: Applicable only if VxVm (VRTSvxvm) is installed.

---------------------------------------------------------------------------
\*
\*       Details for 1 Passed Check on 
                        c-220ra-1-epar03
                        c-220ra-2-epar03
\*
---------------------------------------------------------------------------

        \*  Check ID: M6336822  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: Global filesystem /etc/vfstab entries are not consistent across all Sun Cluster nodes.



===========================================================================
\*
\*       End of Report 2009.02.07 at 15.13.22 CET
\*
===========================================================================

As sccheck, can be run on an explorer output ( uncompressed explorer)

c-220ra-1-epar03 # /usr/cluster/bin/cluster check -e /opt/explorer.80b7df0c.c-220ra-1-epar03-2009.02.07.13.49 
  Maximum severity of all violations: No Violations
  Reports in: /var/cluster/logs/cluster_check/2009-02-07.15:05:10/
c-220ra-1-epar03 # cd /var/cluster/logs/cluster_check/2009-02-07.15:05:10/
c-220ra-1-epar03 # ls
checkresults.txt             cluster_check.log
checkresults.xml             cluster_check_exit_code.log
c-220ra-1-epar03 # cat checkresults.txt
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*
\*       cluster check           (ver 1.0)
\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

    Report Date:        2009.02.07 at 15.05.14 CET
                        2009.02.07 at 14.05.14 GMT
    Command run on host: 
                        80b7df0c- c-220ra-1-epar03
    Checks run on nodes:
                        /opt/explorer.80b7df0c.c-220ra-1-epar03-2009.02.07.13.49/

    Unique Checks: 17

===========================================================================
\*
\*       Summary of Single Node Check Results for /opt/explorer.80b7df0c.c-220ra-1-epar03-2009.02.07.13.49/
\*
===========================================================================
        
        Checks Considered: 15
        
        Results by Status
        -----------------
            Violated          :   0
            Insufficient Data :   0
            Execution Error   :   0
            Unknown Status    :   0
            Information Only  :   0
            Not Applicable    :   3
            Passed            :  12
        
        Violations by Severity
        ----------------------
            Critical          :   0
            High              :   0
            Moderate          :   0
            Low               :   0
        
---------------------------------------------------------------------------
\*
\*       Details for 3 Not Applicable Checks on /opt/explorer.80b7df0c.c-220ra-1-epar03-2009.02.07.13.49/
\*
---------------------------------------------------------------------------

        \*  Check ID: S6708644  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: Global Veritas File Systems (VxFS) without logging enabled might lead to unpredictable results.

            \*  Applicability: Applicable only if VxFS is installed.

        \*  Check ID: S6708599  \*\*\*
        --------------------------
            \*  Severity: Variable

            \*  Problem Statement: Sun Cluster node does not have a mount point for a global filesystem /etc/vfstab entry.

            \*  Applicability: This check is applicable only when running live on a Solaris node. This check is not applicable if taking data from an explorer archive.

        \*  Check ID: S6708689  \*\*\*
        --------------------------
            \*  Severity: Variable

            \*  Problem Statement: One or more Sun Cluster resources cannot be validated

            \*  Applicability: This check is applicable only when running live on a Solaris node booted in cluster mode. This check is not applicable if the data source is an explorer archive.

---------------------------------------------------------------------------
\*
\*       Details for 12 Passed Checks on /opt/explorer.80b7df0c.c-220ra-1-epar03-2009.02.07.13.49/
\*
---------------------------------------------------------------------------

        \*  Check ID: S6708586  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file "netmasks" database entry does not have "cluster" first.


        \*  Check ID: S6708502  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: Unsupported Real Time processes are running on a Sun Cluster node.


        \*  Check ID: S6708479  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The /etc/system rpcmod:svc_default_stksize parameter is missing or has an incorrect value for Sun Cluster.


        \*  Check ID: S6708606  \*\*\*
        --------------------------
            \*  Severity: Moderate

            \*  Problem Statement: Multiple network interfaces on a single subnet have the same MAC address.


        \*  Check ID: S6708605  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The /dev/rmt directory is missing.


        \*  Check ID: S6708592  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file "group" database entry does not have "files" first.


        \*  Check ID: S6708589  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file "services" database entry does not have "files" first.


        \*  Check ID: S6708638  \*\*\*
        --------------------------
            \*  Severity: Moderate

            \*  Problem Statement: Node does has insufficient physical memory.


        \*  Check ID: S6708641  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: Cluster failover/switchover might fail because rpcbind is not running.


        \*  Check ID: S6708496  \*\*\*
        --------------------------
            \*  Severity: Moderate

            \*  Problem Statement: Cluster node (3.1 or later) OpenBoot Prom (OBP) has local-mac-address? variable set to 'false'.


        \*  Check ID: S6708255  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: The nsswitch.conf file 'hosts' database entry does not have 'cluster' specified first.


        \*  Check ID: S6708642  \*\*\*
        --------------------------
            \*  Severity: Critical

            \*  Problem Statement: /proc fails to mount periodically during reboots.



===========================================================================
\*
\*       End of Report 2009.02.07 at 15.05.14 CET
\*
===========================================================================



You can have details on a check :

c-220ra-1-epar03 # cluster list-checks -C S6708586
  S6708586  :   (Critical)   The nsswitch.conf file "netmasks" database entry does not have "cluster" first.

c-220ra-1-epar03 # cluster list-checks -C S6708586 -v
  initializing...
  S6708586: (Critical) The nsswitch.conf file "netmasks" database entry does not have "cluster" first.
Keywords: SunCluster3, single, nsswitch.conf
Applicability: Always applies to Sun Cluster nodes.
Check Logic: Test /etc/nsswitch.conf for presence of 'netmasks:' line with specified format. 'cluster' must be listed first, optionally followed by other specifiers.
Version: 1.2
Revision Date: 06/23/08

  cleaning up...


You can run a specific check :
c-220ra-1-epar03 # cluster check -v -C S6708605,S6708496
  initializing...
  initializing xml output...
  loading auxiliary data...
  starting check run...
     c-220ra-1-epar03:   S6708605.... starting:  The /dev/rmt directory is missing.          
     c-220ra-1-epar03:   S6708605       passed
     c-220ra-2-epar03:   S6708605.... starting:  The /dev/rmt directory is missing.          
     c-220ra-2-epar03:   S6708605       passed
     c-220ra-1-epar03:   S6708496.... starting:  Cluster node (3.1 or later) OpenBoot Prom (O...
     c-220ra-1-epar03:   S6708496       passed
     c-220ra-2-epar03:   S6708496.... starting:  Cluster node (3.1 or later) OpenBoot Pr

    

	    
	
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Jean-Christophe Lamoure

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today