opadisablehosts(8)
π opadisablehosts π
okay bestie, so this is opadisablehosts from the IFSFFCLIRG man page β and yes, it does exactly what the name says, no cap. It goes looking for a set of hosts in the fabric and disables their corresponding switch port. Like, sorry girl, your port is done. π
Heads up: this one is Linux only, so don't come for me on other platforms.
β¨ Syntax β¨
opadisablehosts [-h hfi] [-p port] reason host ...
π Options π
--helpβ bestie just wants the full help text. Gives you all of it. π«Ά-hhfi β picks the HFI, numbered1..n. If you use0, that means the-pport is a system-wide port number instead. Default is0. Periodt.-pport β picks the port, numbered1..n. If you use0, it grabs the first active port. Default is0. Slay.- reason β this is the text describing why the hosts are getting disabled. It gets saved in the
reasonfield of the output file. βοΈ
Info about the links that got disabled goes into a CSV file. By default that file is named /etc/opa/disabled:hfi:port.csv, where the hfi:port bit of the filename gets swapped out for the HFI number and the port number being operated on β like 1:1 or 2:1. You can feed this CSV file into opaenableports later. The way that this is giving round trip is iconic. π₯
The list is of the form:
NodeGUID;PortNum;NodeType;NodeDesc;NodeGUID;
PortNum;NodeType;NodeDesc;Reason
For each listed link, the switch port closer to this is the one that has been disabled.
- host ... β one or more hosts that are affected by the reason. Could be one, could be a whole friend group, who's to say. π
πΈ -h and -p combos, explained πΈ
these two options together permit a whole variety of selections, so let's vibe check each one:
-h 0β first active port in system (this is the Default).-h 0 -p 0β first active port in system.-h xβ first active port on HFI x.-h x -p 0β first active port on HFI x.-h 0 -p yβ port y within system (no matter which ports are active).-h x -p yβ HFI x, port y. simple as that, bestie.
π Examples π
opadisablehosts 'bad DRAM' compute001 compute045
opadisablehosts -h 1 -p 2 'crashed' compute001 compute045
π«Ά fr fr, double check those-hand-pvalues before you commit, because once that port is disabled, it's disabled.
mwah, that's the whole page bestie π this one comes from IFSFFCLIRG (Man Page) with the copyright reading Copyright(C) 2015-2019 Intel Corporation β and the version/date vibe is giving 2015-2019. go forth and disable responsibly, queen πβ¨
π¦ where this page comes from
- centos-stream 9: opa-fastfabric 1:10.12.1.0.6-1.el9 Β· BSD or GPLv2
- debian bookworm: opa-fastfabric 10.10.3.0.11-1+b1 Β· BSD-3-clause-top
- debian trixie: opa-fastfabric 10.10.3.0.11-1+b2 Β· BSD-3-clause-top
- opensuse-leap 16.0: opa-fastfabric 10.14.4.0.20-160000.3.2 Β· BSD-3-Clause OR GPL-2.0-only
- ubuntu jammy: opa-fastfabric 10.10.3.0.11-1ubuntu1 Β· BSD-3-clause-top
- ubuntu noble: opa-fastfabric 10.10.3.0.11-1ubuntu3 Β· BSD-3-clause-top
- ubuntu questing: opa-fastfabric 10.10.3.0.11-1ubuntu3
- ubuntu resolute: opa-fastfabric 10.10.3.0.11-1ubuntu4 Β· BSD-3-clause-top
- ubuntu stonking: opa-fastfabric 10.10.3.0.11-1ubuntu5 Β· BSD-3-clause-top
- Copyright 2015-2019, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms