Tuesday, September 02, 2014

Mellanox IB switch update FW

安裝完OFED, 會有flint這個工具, 可以對Mellanox的IB卡片/switch做韌體相關的操作.

對switch的話, 可以用ibswitches這個指令列出IB fabric上的switch:

[root@cu03 ~]# ibswitches
Switch  : 0x0002c9020044d000 ports 32 "Infiniscale-IV Mellanox Technologies" base port 0 lid 2 lmc 0

這裡我們要的是lid, 然後把這個lid pass給flint指令:
[root@cu03 ~]# flint -d lid-2 q
Image type:      FS2
FW Version:      7.4.0
Device ID:       48438
Description:     Node             Sys image
GUIDs:           0002c9020044d000 0002c9020044d003
Board ID:        n/a (DEL08D0110003)
VSD:             n/a
PSID:            DEL08D0110003

上面這個指令的話, -d是指定device, 所以我們把上一個步驟得到的switch lid# 給flint.
然後q是查詢動作 (query).
如果要更新韌體, 一樣先指定device, 然後用b動作去做burn, 後面接上韌體的檔名 (-f filename).


No comments: