Onyx (MLNX-OS) Upgrade

Onyx (MLNX-OS) Upgrade

In this post I will show you how to upgrade your switch running Onyx (MLNX-OS). I will detail how to do it via command line and via the web interface.

The best way to make sure your upgrade is a success is to plan your upgrade path. I recommend following the upgrade paths as sometimes jumping from an old version to the newest version isn’t supported and could lead to issues.

When Nvidia purchased Mellanox some of the upgrade path planning resources became locked away behind a login/pay wall. One of the items behind the wall are the detailed release notes.

The release notes are the documents that will tell you exactly which versions are supported on which switches and what your upgrade path should be as sometimes direct upgrades skipping version can cause issues.

You get access to the release notes on your switch directly but only for the version you are currently running. I tried to see if I could extract the release notes from the upgrade image but they seem to be stored as blobs and I couldn’t figure out a way to open them.

Fortunately Onyx is used by other OEMs like Hewlett Packard Enterprise for example. You can find a public version of the upgrade path the HPE documentation here.

My SN2410 switch was originally running version 3.6.6102 my upgrade path was the following

With the upgrade path planning out of the way I will now show you step-by-step how to upgrade Onyx (MLNX-OS) via CLI or the Web UI.

The CLI Way

Storage space is almost always limited on a switch. To make sure we don’t run out of space we should always delete the old images. Deleting the old images does not delete the installed image.

Now we need to get the new image onto the switch. There are a few ways to do that such as HTTP, HTTPS, FTP, TFTP, SCP and SFTP. When I tested with TFTP it was very slow. I’ll be using HTTP.

From the output we can see that the new image is loaded into partition 2 and the next time we reboot the switch it will load partition 2 which will load the new version.

The Web UI Way

Even if the switch Web UI is still branded Mellanox the process is the exact same the icons are just slightly different.

I’m going to upload the file via the browser.

In the screenshot we can see that the new image is installed to partition 2 and the next time we reboot it will use partition 2.

That’s all it takes to upgrade Onyx (MLNX-OS) via the Web UI or CLI.

Exit mobile version