IBDMCHK(1)
π IBDMCHK(1) β bestie, let's get into ibdmchk π
Hiii okay so this is the manual page for IBDMCHK(1), from the IB DATA MODEL PACKAGE, and the official NAME on the birth certificate is:
IBDM - Network Checker and Attributes Analyzer
So it checks your network and analyzes attributes. Double threat. Main character energy, no cap. πβ¨
β¨ SYNOPSYS β¨
okay so ibdmchk has two operation modes: design and verification. two moods, both iconic. π
DESIGN:
ibdmchk [-v][-h][-u][-r <roots file>] -t <topology file> -n <SM Node>
-p <SM Port> [-e] [-l <lmc>]
VERIFICATION:
ibdmchk [-v][-h][-r <roots file>] [-s <subnet file>] [-f <fdb file>]
[-m <mcfdbs file> [-l <lmc>] [-u] [-M] [-a]
[-c <path sl file>] [-d <sl2vl tables file>]
π DESIGN MODE DESCRIPTION π
The Design mode is literally meant to be used before the cluster is even built β like picking the fit before the party, bestie. π¦
It gives you basic checks of the network you specified, as described by a topology file. Then, after simulating the SM LID assignment and routing algorithms, it hands you reports of:
- the (H)CA to (H)CA paths depth histogram π
- the credit deadlock potential in the resulting routing scheme π
Not me simulating your whole fabric before it exists. Obsessed.
π ARGUMENTS:
-t,--topo<topo file>β the topology file that specifies the network. Seeman ibdm-topology-filefor the deets. πΊοΈ-n,--node<SM Node>β the name of the Subnet Manager node (syntax:<Topo-File-System>/U1). π-p,--port<SM Port>β the port number by which the SM node is attached to the fabric. π
βοΈ OPTIONS βοΈ
-v,--verboseβ verbose mode. all the tea, none of the chill π΅-h,--helpβ provides this help message. say it back π«Ά-l,--lmc<lmc>β an LMC value> 0means assigning2^lmclids to each port. β¨-e,--enhβ use the enhanced routing algorithm when LMC> 0, and report the resulting paths correlation (using same system/node) histogram. π«-r,--roots<roots file>β a file with all the roots node names (one on each line). π±
π VERIFICATION MODE DESCRIPTION π
So after the cluster is built and OpenSM has been run (using flag -D 0x43), it reports the subnet and FDB tables into the files osm-subnet.lst, osm.fdbs and osm.fdbs in /var/log/ β or, on older OpenSM versions, subnet.lst, osm.fdbs and osm.mcfdbs into /var/cache/ibutils. ποΈ
ibdiagnet is also producing the same files in its output directory. π§
Based on these files, the utility checks all CA to CA connectivity. Further analysis for credit deadlock potential is performed and reported. And in case of an LMC > 0, it reports histograms for how many systems and nodes are common between the different paths for the same port pairs. π
π ARGUMENTS
-l,--lmc<lmc>β the LMC value used while running OpenSM. Mandatory if it's not the default0. don't skip it, bestie, it's not optional-optional π
βοΈ OPTIONS βοΈ
-v,--verboseβ verbose mode. louder, more tea π΅-h,--helpβ provides this help message. iconic behavior π-s,--subnet<file>β OpenSMsubnet.lstfile (default is/var/log/osm-subnet.lstor/var/cache/ibutils/subnet.lst). ποΈ-f,--fdb<file>β OpenSM dump of Ucast LFDB. Use-D 0x41to generate it (default is/var/log/osm.fdbsor/var/cache/ibutils/osm.fdbs). π-m,--mcfdb<file>β OpenSM dump of Multicast LFDB. Use-D 0x41to generate it (default is/var/log/osm.mcfdbsor/var/cache/ibutils/osm.mcfdbs). π¬-c,--psl<file>β Source Guid to DLID -> Path SL mapping. Each line holds:src_node_guid dlid sl. Used by the credit loop check to accurately model SL/VL based routing. π§΅-d,--slvl<file>β SL2VL mapping of all switches. Each line holds:swguid iport oport 0x(sl0)(sl1) 0x(sl2)(sl3)...Used by the credit loop check to accurately model SL/VL based routing. π§Ά-r,--roots<roots file>β a file holding all root nodes guids (one per line). π±-u,--updnβ use the Up/Down based credit loop check algorithm instead of the generic one. β¬οΈβ¬οΈ-M,--MFTβ include multicast routing in the credit loops analysis. π‘-a,--allβ verify not only CA-CA paths but also SW-SW, CA-SW and SW-CA. Both check for FDB path connectivity and for credit loops. the full sweep, periodt π₯
π AUTHOR π
Eitan Zahavi, Mellanox Technologies LTD, eitan@mellanox.co.il π
okay that's the whole page, bestie, you ate it. π«Ά
and for the cute sign-off: this was IBDM 1.0, dated 2024-04-22 β write it in your notes, it's giving vintage and it's giving accurate. ππ¦π
π¦ where this page comes from
- ubuntu noble: ibutils 1.5.7+0.2.gbd7e502-3build1
- ubuntu questing: ibutils 1.5.7+0.2.gbd7e502-3build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms