KB 316823 - How to Change Default IB Interface in NVIDIA UFM (e.g., from ib0 to ib1)

KB 316823 - 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:

  1. /opt/ufm/conf/gv.cfg

Prerequisites

  • Root or sudo access to the server.
  • UFM must be stopped before making changes.
  1. Verify that ib1 is up and operational:


    ip link show ib1

Steps to Change IB Interface

  1. Stop UFM Service:
  2. sudo systemctl stop ufm
  3. Edit gv.cfg Configuration File:
    Open the file in a text editor:

    sudo nano /opt/ufm/conf/gv.cfg
  4. Locate the Following Line:

    ib_interface=ib0
  5. Change ib0 to ib1:
    Modify the line as follows:

    ib_interface=ib1
  6. Save and Exit the editor (For nano, press Ctrl + O, Enter, then Ctrl + X).

  7. Start UFM Service:

    sudo systemctl start ufm

Verification

To ensure UFM is using the new interface:
  1. Check UFM status:
  2. sudo systemctl status ufm
  3. Review UFM logs for interface bindings:

    sudo tail -f /opt/ufm/files/logs/ibdiagnet.log
  4. Confirm the IB interface is active and connected:

    ibstat ib1

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.



    • Recent Articles

    • KB-630208 | How to use Find and Locate to search for files in Linux

      Purpose To provide Linux administrators and Field Engineers with guidance on using the find and locate utilities to efficiently search for files and directories within a Linux filesystem based on criteria such as name, type, size, timestamps, ...
    • KB-630164 | How to use rsync to Synchronize Files

      Purpose To provide a clear and practical procedure for using the rsync utility to synchronize files and directories between local systems and remote hosts, including push and pull operations, while preserving file attributes and optimizing data ...
    • KB-630107 | How to create a Linux swap file

      Purpose To provide Field Engineers and Linux administrators with a standardized procedure for creating, configuring, and validating a Linux swap file. This procedure helps ensure sufficient virtual memory is available when physical RAM is exhausted ...
    • MSI All-in-One (AIO) PC – Physical Damage Policy for Warranty Claims

      MSI All-in-One (AIO) PC – Physical Damage Policy for Warranty Claims MSI's standard warranty does not cover physical or accidental damage to an All-in-One (AIO) PC. If the damage is determined to be caused by external factors rather than a ...
    • KB 134833 - Troubleshooting NVSM Alert NV-CPU-XX – Unrecoverable CPU Internal Error

      Purpose This document provides a general troubleshooting procedure for the NVIDIA System Management (NVSM) alert NV-CPU-XX, which indicates that a CPU has reported an internal error. The article outlines how to verify whether the alert represents an ...
    • Popular Articles

    • CP Plus Camera and NVR Configuration

      NVR Configuration The CP Plus Pro Series of NVRs have been meticulously designed for providing you with upgraded performance and higher recording quality in your IP video surveillance solution. The robust processor that has been inculcated in this ...
    • KB 775235 - Kerberos Authentication – Overview

      What is Kerberos? Kerberos is a secure authentication method used in our Active Directory (AD) environment (mbuzztech.com). It allows users to: Access multiple systems without re-entering passwords (Single Sign-On – SSO) Log in once Where We Use It ...
    • How to Remove and Reinstall NVIDIA Drivers on Ubuntu

      This article provides step by step guide to completely remove existing NVIDIA drivers and reinstall specific version of the NVIDIA driver on the Ubuntu system Prerequisites Administrative (sudo) access to the Ubuntu system. Internet access to ...
    • KB 692001 - Personal Computers and Servers - Classification and Point of Contact

      We can classify the computers that MBUZZ handles based on their form-factor as below: Tower Workstations, Desktops, Gaming PCs and SFF (Small form factor) PCs fall under this category. These are computers people would use on a desk and rarely move. ...
    • KB 298031 - M.2 SSD Tier List

      The sequential read and write speeds, which are usually the most advertised number, are not a proper benchmark of real-world performance or the quality of an SSD. This article categorizes and tiers SSDs based on factors like the type of NAND flash, ...