Skip to main content

Cornelis Technical Documentation

7.3.2.5. Update the OPX Software

This section provides information and procedures to update to the OPX Software.

7.3.2.5.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.5.2. Update Sequence

Optimally, to update the Omni-Path Software, you perform the following sequence:

  1. Stop all standby Fabric Managers.

  2. Stop the primary Fabric Manager.

  3. Upgrade the nodes.

  4. Reboot the nodes (if autostart was not enabled).

  5. Update the opafm.xml file, as needed.

  6. Start the Fabric Manager.

7.3.2.5.1. Stopping the Fabric Manager

To stop the Fabric Manager, perform the following steps:

  1. Log into the Fabric Manager system as root or as a user with root privileges.

  2. Stop the Fabric Manager:

    systemctl stop opafm
7.3.2.5.2. Upgrading the OPX Software

To upgrade the CN5000 OPX Software, you first upgrade the management node then the remaining servers.

7.3.2.5.2.1. Assumption
  • You have downloaded the required software RPMs for upgrade.

  • You have stopped all standby FMs, followed by the primary FM.

  • You are logged in to the target Management Node.

7.3.2.5.2.2. Procedure
7.3.2.5.3. 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.5.3.1. Assumption
  • You have upgraded the Fabric Manager, accepting all the defaults.

7.3.2.5.3.2. Procedures

Perform the following steps to transfer customizations into a new opafm.xml file:

  1. Create a new opafm.xml using the /usr/share/opa-fm/opafm.xml file as a base for the new file by copying this read-only file to a temporary location to make the subsequent edits.

  2. Update the new opafm.xml with the required customizations.

  3. Use the new file from the previous step to replace the /etc/opa-fm/opafm.xml file.

  4. Restart the Fabric Manager.

    • If you previously upgraded the management node, type reboot and 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.xml file, type systemctl restart opafm and press Enter.

  5. Copy the opafm.xml file to the standby Fabric Managers, replacing the /etc/opa-fm/opafm.xml file.

  6. Restart the standby Fabric Managers.

7.3.2.5.4. 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.5.4.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 opainfo output.

  • CableInfoPolicy is set to None:

    <CableInfoPolicy>None</CableInfoPolicy>
7.3.2.5.4.2. Procedure

To start the Fabric Manager, perform the following steps:

  1. Log into the Fabric Manager system as root or as a user with root privileges.

  2. Start the Fabric Manager:

    systemctl start opafm
  3. Verify that all the tasks are up and running:

    systemctl status opafm

    Note

    The default configuration runs Fabric Manager on port 2 of the first SuperNIC in the system.