ibfindnodesusing(8)
π ibfindnodesusing β the find-your-nodes-through-this-switch-port tool π
okay bestie, so this is a page from the Open IB Diagnostics girlies, filed under section 8 of the manual. It's called ibfindnodesusing(8) and it is literally the "who is hiding behind this link" detector. Let's get into it π
β¨ NAME β¨
ibfindnodesusing β find a list of end nodes which are routed through the specified switch and port
no cap, that's the whole mission statement. it finds your ends. through a switch port. iconic. π
πΈ SYNOPSIS πΈ
ibfindnodesusing.pl [options] <switch_guid|switch_name> <port>
π¦ DESCRIPTION π¦
so here's the tea π΅: ibfindnodesusing.pl uses ibroute, and from that it detects the current nodes which are routed through both directions of the link you specified.
the link gets specified by one switch port end only. you hand over a single end, and the script finds the remote end automatically. it does the other half of the work for you. queen behavior. π
π OPTIONS π
-hβ show help. your little "wait what do I do" button π«Ά-Rβ Recalculate theibnetdiscoverinformation, ie do not use the cached information. This option is slower but should be used if the diag tools have not been used for some time or if there are other reasons to believe that the fabric has changed.
β οΈ yes it's slower, but stale cache is a crime. if the fabric might have changed, take the -R pill. π₯
-C<ca_name>β use the specifiedca_name.-P<ca_port>β use the specifiedca_port.
π FILES π
π CONFIG FILE π
/etc/infiniband-diags/ibdiag.conf
A global config file is provided to set some of the common options for all tools. See supplied config file for details.
it's giving "one config to rule them all" β¨
π§ NODE NAME MAP FILE FORMAT π§
The node name map is used to specify user friendly names for nodes in the output. GUIDs are used to perform the lookup.
This functionality is provided by the opensm-libs package. See opensm(8) for the file location for your installation.
Generically:
# comment
<guid> "<name>"
Example:
# IB1
# Line cards
0x0008f104003f125c "IB1 (Rack 11 slot 1 ) ISR9288/ISR9096 Voltaire sLB-24D"
0x0008f104003f125d "IB1 (Rack 11 slot 1 ) ISR9288/ISR9096 Voltaire sLB-24D"
0x0008f104003f10d2 "IB1 (Rack 11 slot 2 ) ISR9288/ISR9096 Voltaire sLB-24D"
0x0008f104003f10d3 "IB1 (Rack 11 slot 2 ) ISR9288/ISR9096 Voltaire sLB-24D"
0x0008f104003f10bf "IB1 (Rack 11 slot 12 ) ISR9288/ISR9096 Voltaire sLB-24D"
# Spines
0x0008f10400400e2d "IB1 (Rack 11 spine 1 ) ISR9288 Voltaire sFB-12D"
0x0008f10400400e2e "IB1 (Rack 11 spine 1 ) ISR9288 Voltaire sFB-12D"
0x0008f10400400e2f "IB1 (Rack 11 spine 1 ) ISR9288 Voltaire sFB-12D"
0x0008f10400400e31 "IB1 (Rack 11 spine 2 ) ISR9288 Voltaire sFB-12D"
0x0008f10400400e32 "IB1 (Rack 11 spine 2 ) ISR9288 Voltaire sFB-12D"
# GUID Node Name
0x0008f10400411a08 "SW1 (Rack 3) ISR9024 Voltaire 9024D"
0x0008f10400411a28 "SW2 (Rack 3) ISR9024 Voltaire 9024D"
0x0008f10400411a34 "SW3 (Rack 3) ISR9024 Voltaire 9024D"
0x0008f104004119d0 "SW4 (Rack 3) ISR9024 Voltaire 9024D"
like yes, give your racks cute names. they deserve it. π
π AUTHOR π
Ira Weiny <<ira.weiny@intel.com>>
and that's the whole page, bestie π«Ά this version of ibfindnodesusing(8) comes from Open IB Diagnostics, dated 2017-08-21 β go forth and find those nodes, you absolute legend πβ¨
π¦ where this page comes from
- arch rolling: rdma-core 65.0-1 Β· GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-MIT AND GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-FreeBSD AND GPL-2.0-or-later OR LicenseRef-Intel-BSD-3-Clause AND GPL-2.0-or-later OR LicenseRef-PathScale-BSD-Patent-License AND CC0-1.0 AND MIT AND BSD-2-Clause AND CPL-1.0 OR BSD-2-Clause OR GPL-2.0-or-later
- ubuntu stonking: infiniband-diags 64.0-1ubuntu1 Β· BSD-MIT OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms