IBDISCOVER.PL(8)
π« IBDISCOVER.PL(8) π«
ok so bestie, we're talking about ibdiscover.pl from the OpenIB Diagnostics crew, and it's genuinely one of those little scripts that does so much. sit with me, hydrate, and let's get into it. π«Ά
β¨ NAME β¨
ibdiscover.pl β annotate and compare InfiniBand topology
like... it literally labels your fabric and then tells you what changed. main character behaviour fr. π
πΈ SYNOPSIS πΈ
ibdiscover.pl
that's it. no flags, no args, no drama. she just runs. π
π¦ DESCRIPTION π¦
ok so here's the whole vibe. ibdiscover.pl takes a topology file that was created by ibnetdiscover, plus a discover.map file that the network administrator creates which says which nodes you're expecting to see, plus an ibdiscover.topo file which is the expected connectivity.
from all that, she produces a brand new connectivity file called discover.topo.new and outputs the changes to stdout. π iconic.
the network administrator can then choose to replace the "old" topo file with the new one β or just certain changes in it. dealer's choice, bestie. β¨
π the syntax of the ibdiscover.map file π
it goes like this:
<nodeGUID>|port|"Text for node"|<NodeDescription from ibnetdiscover format>
e.g.
8f10400410015|8|"ISR 6000"|# SW-6IB4 Voltaire port 0 lid 5
8f10403960558|2|"HCA 1"|# MT23108 InfiniHost Mellanox Technologies
see? pipe-separated, cute and tidy. π
π§ the syntax of the old and new topo files π§
that's ibdiscover.topo and ibdiscover.topo.new, and they look like:
<LocalPort>|<LocalNodeGUID>|<RemotePort>|<RemoteNodeGUID>
e.g.
10|5442ba00003080|1|8f10400410015
and btw β these topo files are produced by the ibdiscover.pl tool itself. she makes her own receipts. no cap. π₯
π USAGE π
ibnetdiscover | ibdiscover.pl
pipe it straight in, bestie. that's the whole flow. πΈ
β SEE ALSO β
π AUTHOR π
Hal Rosenstock <halr@voltaire.com>
heads up gorgeous: this one's all about comparing expected vs actual fabric, so if your discover.map is lying to you, the diff will absolutely read you for filth. keep it accurate. π
and that's the page, bestie!! this cutie comes to you from OpenIB and it's dated September 21, 2006 β vintage but still serving. ππβ¨
π¦ where this page comes from
- fedora 43: infiniband-diags-compat 58.0-4.fc43 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: infiniband-diags-compat 61.0-2.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: infiniband-diags-compat 61.1^20260812git975bdaf-1.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms