Scroll to navigation

IBDIAGNET(1) IB DIAGNOSTIC PACKAGE 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

A dump of all the application reports generate according to the provided flags
List of all the nodes, ports and links in the fabric
A dump of the unicast forwarding tables of the fabric switches
A dump of the multicast forwarding tables of the fabric switches
In case of duplicate port/node Guids, these file include the map between masked Guid and real Guids
List of all the SM (state and priority) in the fabric
A dump of the pm Counters values, of the fabric links
A dump of the the existing partitions and their member host ports
A dump of the multicast groups, their properties and member host ports
A dump of the path record SL of each possible source node guid and DLID pairs. Created only if -vlr option is provided
A dump of the SL2VL Tables from all the switches. Created only if -vlr option is provided
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
  • 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

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
2024-02-22 IBDIAG 1.0