PowerEdge XE: How to install packages for DCGMI troubleshooting. Red Hat Enterprise Linux and Rocky

摘要: Outline of how to for DCGM (NVIDIA Data Center GPU Manager) installation within Linux. This is for collecting DCGMI logs for troubleshooting in Red Hat Enterprise Linux and Rocky Linux. ...

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

说明

Pre-Requisites
To run DCGM the target host must include the following NVIDIA components, listed in dependency order:
- Supported NVIDIA Datacenter Drivers
- On Hyperscale Graphics Extension (HGX) hosts, the Fabric Manager, and NVSwitch Configuration and Query (NSCQ) packages
- DCGM Runtime and Software Development Kit (SDK)

For Red Hat or Rocky Releases:

NOTE: Screenshots are for reference only, and observed results may have some differences.



Install the repository metadata and the CUDA GPG key:
[Replace x86_64 with "sbsa" for arm64 or replace with "ppc64le" for ppc64le if needed. Remove quotes]
Determine Distro:

distribution=$(. /etc/os-release;echo $ID`rpm -E "%{?rhel}%{?fedora}"`)


Visual output in terminal of the 2 commands for installing repository meta-data and the CUDA GPG key

Update the repository metadata.

sudo dnf clean expire-cache

Terminal running and the output of the command "sudo dnf clean expire-cache"

Now, install DCGM.

sudo dnf install -y datacenter-gpu-manager

Terminal running the command "sudo dnf install -y datacenter-gpu-manager" and the corresponding output.

On HGX hosts (A100/A800 and H100/H800), you must install the NVIDIA Switch Configuration if you want to poll the NVSwitches. Query the NSCQ library for DCGM to enumerate the NVSwitches and provide telemetry for switches. NSCQ must match the driver version branch (XXX) installed on the host. Substitute XXX with the needed driver branch in the commands below.

sudo dnf module install nvidia-driver:XXX/fm

 

Query the operating system for the driver version:

nvidia-smi

Terminal output of "nvidia-smi" command. Specifically noting that the driver version is 550.54.14.

For this example, we use the following command since our driver version shows as 550:

sudo dnf module install nvidia-driver:550/fm

Terminal output of running " sudo dnf module install nvidia-driver:550/fm"

Enable the DCGM systemd service (on reboot) and start now:

sudo systemctl --now enable nvidia-dcgm

Visual representation of "sudo systemctl --now enable nvidia-dcgm" being run in terminal.

To verify installation, use dcgmi to query the host. You should see a listing of all supported GPUs (and any NVSwitches) found in the host: (the switch is a lower case L)
dcgmi discovery -l 

dcgmi discovery -l 

[Example below does not have NvSwitches but the field populates with details if they are present or detected.]

sudo dnf config-manager \
    --add-repo http://developer.download.nvidia.com/compute/cuda/repos/$distribution/x86_64/cuda-rhel8.repo

受影响的产品

XE Servers, PowerEdge XE2420, PowerEdge XE7100, PowerEdge XE7420, PowerEdge XE7440, PowerEdge XE7745, PowerEdge XE8545, PowerEdge XE8640, PowerEdge XE9640, PowerEdge XE9680
文章属性
文章编号: 000223375
文章类型: How To
上次修改时间: 10 4月 2025
版本:  3
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。