ibdiagnet(1)

NAME

   ibdiagnet - IB diagnostic net

SYNOPSYS

   ibdiagnet [-c <count>] [-v] [-r] [-vlr] [-u] [-o <out-dir>]
     [-t <topo-file>] [-s <sys-name>] [-i <dev-index>] [-p <port-num>]
   [-wt]
     [-pm] [-pc] [-P <<PM>=<Value>>]
     [-lw <1x|4x|12x>] [-ls <2.5|5|10>]
     [-skip <ibdiag_check/s>] [-load_db <db_file>]

DESCRIPTION

   ibdiagnet scans the fabric using directed route packets and extracts
   all the available information regarding its connectivity and devices.
   It then produces the following files in the output directory (which
   defined by the -o option (see below)).

FILES

   ibdiagnet.log -
       A dump of all the application reports generate according to the
       provided flags

   ibdiagnet.lst -
       List of all the nodes, ports and links in the fabric

   ibdiagnet.fdbs -
       A dump of the unicast forwarding tables of the fabric switches

   ibdiagnet.mcfdbs -
       A dump of the multicast forwarding tables of the fabric switches

   ibdiagnet.masks -
       In case of duplicate port/node Guids, these file include the map
       between masked Guid and real Guids

   ibdiagnet.sm -
       List of all the SM (state and priority) in the fabric

   ibdiagnet.pm -
       A dump of the pm Counters values, of the fabric links

   ibdiagnet.pkey -
       A dump of the the existing partitions and their member host ports

   ibdiagnet.mcgs -
       A dump of the multicast groups, their properties and member host
       ports

   ibdiagnet.psl -
       A dump of the path record SL of each possible source node guid and
       DLID pairs.  Created only if -vlr option is provided

   ibdiagnet.slvl -
       A dump of the SL2VL Tables from all the switches.  Created only if
       -vlr option is provided

   ibdiagnet.db -
       A dump of the internal subnet database. This file can be loaded in
       later runs using the -load_db option

   In addition to generating the files above, the discovery phase also
   checks for duplicate node/port GUIDs in the IB fabric. If such an error
   is detected, it is displayed on the standard output. After the
   discovery phase is completed, directed route packets are sent multiple
   times (according to the -c option) to detect possible problematic paths
   on which packets may be lost. Such paths are explored, and a report of
   the suspected bad links is displayed on the standard output.

   After scanning the fabric, if the -r option is provided, a full report
   of the fabric qualities is displayed.  This report includes:

   *   SM report

   *   Number of nodes and systems

   *   Hop-count information

        maximal hop-count, an example path, and a hop-count histogram
   *   All CA-to-CA paths traced

   *   Credit loop report

   *   mgid-mlid-HCAs multicast group and report

   *   Partitions report

   *   IPoIB report

   Note: In case the IB fabric includes only one CA, then CA-to-CA paths
   are not reported.  Furthermore, if a topology file is provided,
   ibdiagnet uses the names defined in it for the output reports.

OPTIONS

   -c <count>      :
        Min number of packets to be sent across each link (default = 10)
   -v              :
        Enable verbose mode
   -r              :
        Provides a report of the fabric qualities
   -u              :
        Credit loop check based on UpDown rules
   -t <topo-file>  :
        Specifies the topology file name
   -s <sys-name>   :
        Specifies the local system name. Meaningful only if a topology
       file is specified
   -i <dev-index>  :
        Specifies the index of the device of the port used to connect to
       the IB fabric (in case of multiple devices on the local system)
   -p <port-num>   :
        Specifies the local device's port num used to connect to the IB
       fabric
   -o <out-dir>    :
        Specifies the directory where the output files will be placed
       (default = /var/cache/ibutils)
   -lw <1x|4x|12x> :
        Specifies the expected link width
   -ls <2.5|5|10>  :
        Specifies the expected link speed
   -pm             :
        Dump all the fabric links, pm Counters into ibdiagnet.pm
   -pc             :
        Reset all the fabric links pmCounters
   -P <PM=<Trash>> :
        If any of the provided pm is greater then its provided value,
       print it to screen
   -skip <skip-option(s)> :
        Skip the executions of the selected checks. Skip options (one or
       more can be specified) : dup_guids  zero_guids pm logical_state
       part ipoib all
   -wt <file-name>> :
        Write out the discovered topology into the given file. This flag
       is useful if you later want to check for changes from the current
       state of the fabric. A directory named ibdiag_ibnl is also created
       by this option, and holds the IBNL files required to load this
       topology. To use these files you will need to set the environment
       variable named IBDM_IBNL_PATH to that directory. The directory is
       located in /var/cache/ibutils or in the output directory provided
       by the -o flag.
   -load_db <file-name>> :
        Load subnet data from the given .db file, and skip subnet
       discovery stage. Note: Some of the checks require actual subnet
       discovery, and therefore would not run when load_db is specified.
       These checks are : Duplicated/zero guids, link state, SMs status.
   -vlr :
        VL based Routing - provide this option to create the paths SL file
       (psl), SL2VL file (slvl) and use them in credit loops check (if -r
       option is provided).
           NOTE: Since number of paths is N^2 extracting the PSL file may
           take some time.

   -h|--help       :
        Prints the help page information
   -V|--version    :
        Prints the version of the tool
   --vars          :
        Prints the tool's environment variables and their values

ERROR CODES

   1 - Failed to fully discover the fabric
   2 - Failed to parse command line options
   3 - Failed to intract with IB fabric
   4 - Failed to use local device or local port
   5 - Failed to use Topology File
   6 - Failed to load requierd Package



Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.


Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.


Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.