NVLink Switch Integration
The NVIDIA GB200 server platforms have 9 NVLink switch trays per rack. An NVL72 reference rack configuration for an NVIDIA DGX SuperPOD configuration is described at:
https://docs.nvidia.com/dgx-superpod/reference-architecture-scalable-infrastructure-gb200/latest/dgx-superpod-components.html#nvlink-switch-tray
The switch trays connect GPUs in each rack (36 per rack, or 72 per rack) to each other on a 400 Gb/s InfiniBand NDR network.
This chapter considers an NVIDIA GB200 server platform that has been configured to work with BCM.
8.1 NVLink Switch Listing And Overview
-
The
list -t switchcommand indevicemode can be used to list the all switches of a configured cluster. -
The
list --field kind=nvlinkcommand indevicemode can be used to list only the NVLink switches of a configured cluster.
NVLink switches are configured as devices on a BMC network, as indicated by the following example:
Example
A particular NVLink switch can be looked at with:
Example
8.2 NVLink Switch Configuration
Each NVLink switch has two redundant ethernet interfaces and a Redfish interface.
Example
An NVLink switch runs NVOS, and can be configured to boot using ZTP. The JSON template ZTP file that is provided by BCM is used to check the configured image, and to install cm-lite-daemon (section 2.6.7 of the Administrator Manual). If ZTP is configured correctly before the switch first boots, with the default of Install lite daemon set to a value of yes, then cm-lite-daemon installs and the switch is ready for use.
Example
If an NVLink switch is already booted and is running without cm-lite-daemon, or has ZTP disabled, then cm-lite-daemon can be installed manually using the cmsh utility litedaemon. The litedaemon utility is a convenient .deb package manager for cm-lite-daemon for switches for such cases, and uses APT in the backend. The litedaemon utility is used with options to download, install, update, and remove the packages:
-
download: This option downloads packages to under/cm/local/apps/cmd/etc/htdocs/switch/packages/. If the nodes are not specified, then the downloads are placed on the head node.The download needs to be executed once for all switches. If updates are available in the BCM repositories, then the download should be repeated and the subsequent installation process should also be repeated.
Example
-
install: This option installs the downloaded packages on the NVLink switches. It is recommended to do all 9 switches for a rack at the same time; multiple racks can be done at once.Example
-
--update: This option updates packages on the switches if updated packages have been downloaded:Example
-
remove: Allcm-lite-daemon-related packages can be removed with:Example
8.3 NVLink Switch Monitoring
NVLink switches are monitored in two ways.
-
OS data using
cm-lite-daemonrunning on the switch -
Redfish sampled from the active head node (currently only leak information is reported)
All data can be viewed using standard BCM monitoring
8.4 NVLink Switch Redfish Events
NVLink switches report leaks to all tools that are subscribed to Redfish events. BCM does this for all NVLink switches if the Redfish IP address and BMC settings are configured correctly.
The redfishsubscription command lists the devices that have a Redfish subscription (here).
Testing of the event subscription work can be done from inside cmsh.