Mellanox NIC firmware upgrade on NetScaler MPX
The NIC firmware upgrade process will disable all NIC ports during the upgrade.
All active SSH sessions will be terminated, including this one.
This NIC upgrade must be run while logged in from the serial console
Please restart the upgrade from the serial console.
shell
cd /netscaler
sh upgrade_mellanox_nics.sh <firmware_version>
-
12.20.1010
-
12.21.2010
-
12.28.2006
-
20.27.2008
-
20.31.1014
-
20.32.1010
-
22.32.2004
-
22.34.4000
-
22.35.1012
sh upgrade_mellanox_nic.sh 22.35.1012
sh upgrade_mellanox_nic.sh 22.35.1012 -f
Prerequisites
-
Before upgrading the NIC firmware, you must upgrade the build on NetScaler MPX to a software version that supports the new firmware. The following NetScaler versions support Mellanox firmware upgrade:
-
13.0 build 90.x and later
-
13.1 all builds
-
14.1 all builds
Important:Do not downgrade the software version to a build earlier than these builds. -
-
The following script must be present in the
/netscalerdirectory:upgrade_mellanox_nic.shIf the script is not present, the installed NetScaler software image does not support the firmware upgrade. -
The following scripts must be present in the
/var/tmp/Mellanox/scriptsdirectory:
-
mellanox_fw_update_pwr_cycle_mgr
-
mellanox_fw_update_subr
-
mellanox_fw_update_state_machine
-
mellanox_nic_info
installns to install these files. The files are included with all NetScaler software that supports this firmware upgrade.
Supported platforms
-
MPX 9100
-
MPX 15000-50G
-
MPX 15000-50G FIPS certified appliance
-
MPX 16000
-
MPX 26000
-
MPX 26000-50S
-
MPX 26000-100G
-
MPX 26000T-100G
Upgrade the firmware
> shell
root@ns# cd /var/nslog/
root@ns# vi dmesg.boot
…
mce0: INFO: firmware version: 12.28.2006
…
Post upgrade
upgrade_mellanox_nic.sh has run, it deletes the /nsconfig/.developer and /nsconfig/rc.local files and exits. By deleting the /nsconfig/.developer file, NetScaler comes up on reboot.
mellanoxFw.log in the /var/log directory, contains a detailed record of the firmware upgrade activities. Among other information, it records the duration of the firmware update process.
mellanox_nic_info script to print an informational summary about the Mellanox NICs in the host NetScaler. The information is recorded in the log file.
> shell
>root@ns# cd /var/tmp/Mellanox/scripts
>root@ns# sh mellanox_nic_info
>>> ==================================================================
>>> Invoking mellanox_nic_info informational script Mon Apr 1 09:57:48 UTC 2024
>>> NetScaler has at least one Mellanox NIC
mce# NS if# FW ver PCI DBSF PSID Name Type
----- ------ ---------- ------------ ------------- ----------------- ----
mce0 (100/2) 20.32.1010 pci0:138:0:0 MT_0000000224 MCX653106A-ECA_Ax CX_6