KB 409912 - Managing OpenSM within NVIDIA UFM and getting OpenSM Logs from UFM

KB 409912 - 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 configurations without requiring manual OpenSM service management.

How UFM Handles OpenSM

  • OpenSM is launched directly from the UFM installation path:

    /opt/ufm/opensm/sbin/opensm
  • The configuration file used by UFM is located at:

    /opt/ufm/files/conf/opensm/opensm.conf
  • UFM monitors OpenSM, ensuring it runs on the designated primary node and manages failover in HA configurations.

  • Telemetry and diagnostic processes (like ibdiagnet) are also invoked by UFM to monitor port health, link utilization, and performance counters.

Note: On UFM-managed systems, OpenSM does not have a systemd service. Attempting systemctl status opensm will return "Unit opensm.service could not be found."

OpenSM Logs in UFM

All OpenSM-related logs and dumps are stored under the UFM log directory:

/opt/ufm/files/log/

Relevant files include:

  • opensm.log — main OpenSM runtime log

  • opensm-statistics.dump — fabric statistics dump

  • opensm-smdb.dump — Subnet Manager database snapshot

  • opensm-activity.dump — recorded activity

  • opensm-virtualization.dump — virtualization-specific info

Other diagnostic logs and telemetry outputs may also contain OpenSM-related data.

Copying OpenSM Logs to Your Local Computer

1. Create a local folder in the home directory

mkdir -p ~/ufm_opensm_logs

2. Copy all OpenSM logs and directories

cp -r /opt/ufm/files/log/opensm* ~/ufm_opensm_logs/

3. Verify the copied files

ls -lh ~/ufm_opensm_logs/

4. Transfer logs to your local machine using SCP

From your local computer, run:

scp -r root@<UFM_NODE_IP>:~/ufm_opensm_logs/ /local/path/to/save/

Replace:

  • <UFM_NODE_IP> with the UFM node’s IP (e.g., T10PHGXUFMST02)

  • /local/path/to/save/ with the local directory where you want to store the logs

Optional: For faster transfer, compress the folder first:

tar -czvf ~/ufm_opensm_logs.tar.gz -C ~ ufm_opensm_logs scp root@<UFM_NODE_IP>:~/ufm_opensm_logs.tar.gz /local/path/

Summary

  • OpenSM in UFM is managed by UFM; no standalone systemd service exists.

  • Logs and dumps are centralized under /opt/ufm/files/log/.

  • Copying logs to your home directory and using scp allows easy transfer to your workstation for analysis or archival.

    • 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, ...