How to Change Default IB Interface in NVIDIA UFM (e.g., from ib0 to ib1)
By default, NVIDIA UFM binds to the ib0
InfiniBand interface during startup. If ib0
is down or unavailable, UFM will fail to start. In such cases, you may need to change the default interface to ib1
(or any other available IB interface).
This article guides you through the steps to change the default IB interface by editing the gv.cfg
configuration file.
Location of Configuration File
The IB interface UFM uses is defined in the file:
Prerequisites
Verify that ib1
is up and operational:
Steps to Change IB Interface
Stop UFM Service:
Edit gv.cfg
Configuration File:
Open the file in a text editor:
Locate the Following Line:
Change ib0
to ib1
:
Modify the line as follows:
-
Save and Exit the editor (For nano
, press Ctrl + O
, Enter
, then Ctrl + X
).
Start UFM Service:
Verification
To ensure UFM is using the new interface:
Check UFM status:
Review UFM logs for interface bindings:
Confirm the IB interface is active and connected:
Troubleshooting
If ib1
is also down, UFM will not start. Ensure the interface is physically connected and active.
Double-check that you edited the correct line in gv.cfg
.
Run ibdiagnet
manually to test interface functionality.
Notes
-
Changing the IB interface does not persist across interface renaming or re-indexing (e.g., after firmware or OS updates). Always verify the IB device name.
-
It's recommended to maintain consistent naming using udev
rules if your environment has multiple IB interfaces.
Related Articles
Managing OpenSM within NVIDIA UFM and getting OpenSM Logs from UFM
Overview In NVIDIA UFM (Unified Fabric Manager), OpenSM — the InfiniBand Subnet Manager — is managed internally by UFM rather than as a standalone systemd service. This allows UFM to control the IB fabric, collect telemetry, and maintain HA ...
Fix: UFM Service Not Starting on UFM Appliance UFM-MUA9502H
Note: This appliance UFM-MUA9502H is EOL as of 2022. Pre-requisites Ensure the following conditions are met before attempting to start the UFM service: Ensure the license is attached. Verify bond0 is configured with eth0 and eth1. Command: show ...
Updating Port Description on Mellanox Switches like QM9700
Objective To update the description for multiple InfiniBand (IB) ports on a Mellanox QM9700 series switch using the web interface. Prerequisites Administrative access to the Mellanox QM9700 switch's web interface. A pre-prepared list of commands with ...
Fixing "Cable Data Invalid EEPROM" Error on NVIDIA QM9700 InfiniBand Switch
Issue On NVIDIA QM9700 InfiniBand switches, some ports may appear down and show an error such as: This issue is often caused by outdated CPLD firmware and can be resolved by updating the CPLD version on the switch. Root Cause The EEPROM error is ...
Installing NVIDIA Drivers on Ubuntu
Ubuntu doesn't come with NVIDIA drivers installed by default as they are proprietary and closed-source. This means that you'll have issues like poor performance, displays not working, artifacts etc... while using the FOSS nouveau drivers. Graphical ...