
Voltaire HCA/Cluster Verification Scripts

INTRODUCTION:

This set of scripts verifies the proper installation and configuration of a
Voltaire InfiniBand HCA and software stack.
It does so on the local node and on a cluster of nodes.

HOW TO USE:

ib-check.sh [options]

  - By default there is a full display of the status of the different
    verification steps, if --display-off provided all messages will go into
    the ib-check.log in the local directory.

  - By default testing is done on the local machine only.
    The local verification includes:
    -- Verify ibhost- RPM package installation.
    -- Verify that the HCA is detected by the Linux OS using lspci command
    -- Restart the IB stack and check for error messages using 'ibhost.init reset'
    -- Verify the HCA firmware and ports Link states using the vstat command
    -- Verify that the IPoIB is functioning
    -- Check the local IB bandwidth and latency (in local IB loopback) using perf_main

  - Cluster mode verification are done if the --cluster flag is provided.
    The Cluster mode verification includes
    -- Verify rsh/ssh access with no password to all nodes in the cluster
    -- Verify the RPM package (version and content) on all nodes in the cluster.
    -- All tests of the local machines, and
    -- Test the IPoIB interface using ping flooding on pairs
    -- perf_main test on pairs of nodes in the cluster
    -- if the --mpi-on flag is provided then run mpi verification using Voltaire MPI.


  - The valid options are:

   --help | -h | ? - show help and print this ib-check.README.txt file.
   --cluster       - Verify the cluster (looks for nodes.conf for hosts names)
   --create-list   - Ask for nodes names and creates the nodes.conf file

   --display-on    - enable display
   --display-off   - disable display of verification, use only exit status
   --ssh           - use ssh to access remote nodes (in cluster mode only)
   --rsh           - use rsh to access remote nodes (in cluster mode only)
   --nodes-file 'name'  - use the specified nodes list file
   --vmpi          - enable testing using Voltaire-MPI
   --skip-head     - Don't test the HCA and local IB stack on the head node
   --skip-rpm      - Don't check the RPM packages (for non RPM based dist.)


PREREQUISITES:

 1. Voltaire Host stack must be previously installed, although
    it does not matter if it is running currently or not
 2. The node on which this test, in single mode, is running
    must be connected to an Infiniband switch.
 3. In cluster mode, all nodes should be connected.
    The nodes names / ip-addresses should refer to the Ethernet IP addresses,
    Or the IPoIB addresses. In the second case we can not access
    malfunction node.

