stanford-rc / ibswinfo

Command-line tool to retrieve information and monitor Mellanox un-managed Infiniband switches
GNU General Public License v3.0
48 stars 8 forks source link

CS7500 Switch Support #14

Open helixzz opened 1 year ago

helixzz commented 1 year ago

FYI, we've able to run ibswinfo.sh to query information on CS7500 (648x100G framed switch). From the output we may identify the switch unit is acting as spine or leaf. However, the PSU status is wrong, as the CS7500 switch has a bunch of PSUs and these PSUs weren't bonded to specific switch units.

=================================================
MF0;XXXXXX:CS7500/S01/U1
=================================================
part number        | MSB7520-E
serial number      | MT1533XXXXXX
product name       | Barracuda SwitchIB spine
revision           | A6
ports              | 36
PSID               | MT_2090XXXXXX
GUID               | 0xXXXXXX0300f87da0
firmware version   | 11.2008.3336
-------------------------------------------------
uptime (d-h:m:s)   | 208d-19:33:46
-------------------------------------------------
PSU0 status        | ERROR
     DC power      | ERROR
     fan status    | ERROR
PSU1 status        | ERROR
     DC power      | ERROR
     fan status    | ERROR
-------------------------------------------------
temperature (C)    | 69
max temp (C)       | 76
-------------------------------------------------
fan status         | OK
fan#1 (rpm)        | 9633
fan#2 (rpm)        | 8287
fan#3 (rpm)        | 9842
fan#4 (rpm)        | 8389
-------------------------------------------------

=================================================
MF0;XXXXXX:CS7500/L01/U1
=================================================
part number        | MSB7510-E
serial number      | MT1646XXXXXX
product name       | Barracuda SwitchIB leaf
revision           | A9
ports              | 36
PSID               | MT_2080XXXXXX
GUID               | 0xXXXXXX03007ee7c0
firmware version   | 11.2008.3336
-------------------------------------------------
uptime (d-h:m:s)   | 209d-00:34:22
-------------------------------------------------
PSU0 status        | ERROR
     DC power      | ERROR
     fan status    | ERROR
PSU1 status        | ERROR
     DC power      | ERROR
     fan status    | ERROR
-------------------------------------------------
temperature (C)    | 69
max temp (C)       | 70
-------------------------------------------------
fan status         | OK

=================================================
MF0;XXXXXX:CS7500/L02/U1
=================================================
part number        | 843193-B21
serial number      | IL29XXXXXX
product name       | Barracuda SwitchIB leaf
revision           | A2
ports              | 36
PSID               | HP_2080XXXXXX
GUID               | 0xXXXXXX03006b2480
firmware version   | 15.2010.1202
-------------------------------------------------
uptime (d-h:m:s)   | 208d-20:19:43
-------------------------------------------------
PSU0 status        | ERROR
     DC power      | ERROR
     fan status    | ERROR
PSU1 status        | ERROR
     DC power      | ERROR
     fan status    | ERROR
-------------------------------------------------
temperature (C)    | 72
max temp (C)       | 77
-------------------------------------------------
fan status         | OK