7.3.2.6. Update the OPX Software
This section provides information and procedures to update to the OPX Software.
7.3.2.6.1. Prerequisites
Prior to updating the OPX Software, ensure the following items have been completed:
Review the Release Notes for a list of compatible software.
Uninstall all versions of third-party IB stacks.
Back up the following configuration files, if applicable, in case the upgrade fails:
/etc/opa-fm/opafm.xml/etc/opa/*/etc/sysconfig/opa/*/var/usr/lib/opa/analysis/baseline/*
Note
Refer to the OS documentation for a list of any other OS-specific files that should be included in any backups.
7.3.2.6.2. Update Sequence
7.3.2.6.1. Stopping the Fabric Manager
To stop the Fabric Manager, perform the following steps:
Log into the Fabric Manager system as
rootor as a user withrootprivileges.Stop the Fabric Manager:
systemctl stop opafm
7.3.2.6.2. Resolving CUDA Dependency Errors for an OPX Software Upgrade
If CUDA is not installed in your local/system locations, a dependency error may occur. To work around the missing CUDA dependencies during an OPX Software upgrade, you can install a "dummy" RPM package that declares the required libraries as present without actually providing them. On RPM-based systems such as RHEL and SLES, you create this package with the dummy_cuda_provides.spec file.
Once the dummy RPM package is installed, the OPX Software requires only the NVIDIA kernel driver to be present on the system. Note that most older CUDA versions typically work with the latest NVIDIA kernel driver.
Procedures
Create the
dummy_cuda_provides.specfile with the following text.Note
Replace <CUDA version> with the version you are using.
Name: dummy-cuda-provides Version: 1.0 Release: 1 Summary: A dummy package to provide cuda packages License: MIT BuildArch: noarch # List your virtual provides here Provides: libcuda.so.1()(64bit) Provides: libcudart.so.<CUDA version>()(64bit) Provides: libcudart.so.13(libcudart.so.<CUDA version>)(64bit) Provides: libNVIDIA-ml.so.1()(64bit) %description This package does not contain any files. It only provides virtual capabilities to satisfy dependency checks. %prep # No prep needed %build # No build needed %install # No install needed %files # No files to include
Build the
dummy-cuda-provides-1.0-1.noarch.rpm.$ rpmbuild -ba dummy_cuda_provides.spec
On all nodes, install the created
/home/USER/rpmbuild/RPMS/noarch/dummy-cuda-provides-1.0-1.noarch.rpm.Install the CUDA toolkits on a network-mounted drive. Refer to NVIDIA documentation.
Note
This step is required once per new CUDA version.
Install the latest NVIDIA kernel driver on all nodes. Refer to NVIDIA documentation.
Note
This step is required with every software upgrade.
Upgrade the latest OPX Software on all nodes. Refer to Upgrading the OPX Software.
Note
This step is required with every software upgrade.
7.3.2.6.3. Upgrading the OPX Software
To upgrade the CN5000 OPX Software, you first upgrade the management node then the remaining servers.
7.3.2.6.3.1. Assumption
7.3.2.6.3.2. Procedure
7.3.2.6.4. Update the Fabric Manager opafm Configuration File
The opafm configuration file is designed so that any new parameters that might not appear in your old opafm.xml file will automatically be set to their defaults in the software. If you have customized your pre-upgrade opafm.xml file, it is recommended that you manually update your new opafm.xml file with the latest comments and defaults. This will aid you with future customizations and make comparisons with the opafm.xml in future upgrades easier.
Important
The opafm configuration file must be the same on all management nodes.
7.3.2.6.4.1. Assumption
You have upgraded the Fabric Manager, accepting all the defaults.
7.3.2.6.4.2. Procedures
Perform the following steps to transfer customizations into a new opafm.xml file:
Create a new
opafm.xmlusing the/usr/share/opa-fm/opafm.xmlfile as a base for the new file by copying this read-only file to a temporary location to make the subsequent edits.Update the new
opafm.xmlwith the required customizations.Use the new file from the previous step to replace the
/etc/opa-fm/opafm.xmlfile.Restart the Fabric Manager.
If you previously upgraded the management node, type
rebootand press Enter.Note
If the Omni-Path Autostart was disabled, restart the primary Fabric Manager, followed by the standby Fabric Manager. Refer to Starting the Fabric Manager.
If you only updated the
opafm.xmlfile, typesystemctl restart opafmand press Enter.
Copy the
opafm.xmlfile to the standby Fabric Managers, replacing the/etc/opa-fm/opafm.xmlfile.Restart the standby Fabric Managers.
7.3.2.6.5. Starting the Fabric Manager
This section provides instructions for starting the Fabric Manager.
Important
The Fabric Manager is always run from a node connected to the latest generation switch (for example, a CN5000 switch).
7.3.2.6.5.1. Prerequisites
Prior to starting the Fabric Manager, you must edit the opafm.xml file (located under /etc/opa-fm/) and ensure the following:
HFI 1, port 2 is enabled for fm0:
<Start>1</Start> <-- 1 signifies enabled <Name>fm0</Name> <Hfi>1</Hfi> <Port>2</Port>
Note
Also note that a single port SuperNIC appears as dual port in
opainfooutput.CableInfoPolicy is set to None:
<CableInfoPolicy>None</CableInfoPolicy>
7.3.2.6.5.2. Procedure
To start the Fabric Manager, perform the following steps:
Log into the Fabric Manager system as
rootor as a user withrootprivileges.Start the Fabric Manager:
systemctl start opafm
Verify that all the tasks are up and running:
systemctl status opafm
Note
The default configuration runs the Fabric Manager on port 2 of the first SuperNIC in the system.