How can I determine which switch the Infiniband subnet manager is running on?
Solution 1
If your infrastructure servers can run OpenSM, they may also have the OFED stack utilities installed as well. If the commands are available, ibstat
will tell you the SM's LID. Then use the LID in smpquery ND -L <LID>
to get the node description of the node running the SM.
Solution 2
If you have an OFED installed in your system and the package infiniband-diags
you can use the command sminfo to list running subnet managers in the Infiniband network:
~ # sminfo
sminfo: sm lid 18 sm guid 0x0000000, activity count 55554951 priority 0 state 3 SMINFO_MASTER
It will list all known subnet managers for that node and the master subnet manager.
Related videos on Youtube
ajdecon
Updated on September 18, 2022Comments
-
ajdecon almost 2 years
I recently inherited an Infiniband network containing multiple switches, and I know that one of these switches is running the subnet manager. The rest supposedly have that feature turned off, or were never enabled. The trouble is, I have no idea which one it is...
I'd like to replace the switch subnet manager with OpenSM running on a couple of my infrastructure servers. Is there any way, short of logging into each switch individually, to determine which switch is running the SM?
-
Zachw6 over 11 yearsIs there a LED that lights up when the switch is an SM?
-
pfo over 11 yearsWhich switches?
-