Installing and Upgrading Oracle-Supported RDMA Packages on Oracle Linux

The following instructions describe how to install and upgrade Oracle-supported RDMA packages on Oracle Linux 9.

Installing Oracle-Supported RDMA Packages on Oracle Linux 9

Note:

These instructions apply to the x86_64 platform.

The following instructions describe how to install RDMA release packages on an Oracle Linux 9 system:

  1. Ensure that you have subscribed to the ULN channel or have enabled the yum repository that contains the RDMA-related user space packages for Oracle Linux 9.

    • If you're installing packages from ULN, subscribe to the ol9_x86_64_RDMA channel.

    • If you're installing packages from the Oracle Linux yum server, enable the ol9_RDMA yum repository.

  2. Clean the yum cached files from all the enabled repositories by running the following command:

    sudo dnf clean all
  3. Install the RDMA packages for UEK 8.

    • Use the following commands to install the core packages:

      sudo dnf install rdma-core
      sudo dnf install libibverbs-utils
      sudo dnf install librdmacm-utils
      sudo dnf install mstflint
      sudo dnf install mlnx-tools
      sudo dnf install rds-tools
      • If installing on a bare-metal system, install the infiniband-diags package:
        sudo dnf install infiniband-diags
      • If installing on a guest VM, install the infiniband-diags-guest package:
        sudo dnf install infiniband-diags-guest
    • (Optional) If you require the perftest package, install the package by running:

      sudo dnf install perftest
    • (Optional) If you require the qperf package, install the package by running:

      sudo dnf install qperf
    • (Optional) If you require the libpcap package, install the package by running:

      sudo dnf install libpcap
    • (Optional) If you require the ibacm package, install the package by running:

      sudo dnf install ibacm
    • (Optional) If you require the srp_daemon package, install the package by running:

      sudo dnf install srp_daemon

Upgrading Oracle-Supported RDMA Packages on Oracle Linux 9

You can upgrade the Oracle-supported RDMA packages on Oracle Linux 9 by using the dnf update command.

If you're upgrading a system that has the oracle-rdma-release or oracle-rdma-release-guest package installed, if the package version is lower than version 0.18.1-1 and you intend to upgrade to version 0.18.1-1, or later, you must first manually remove the rdma-core-devel package. Remove this package by using the rpm -e --nodeps command, which removes the package outside of the standard yum or DNF package manager control and leaves any dependencies intact, for example:

sudo /bin/rpm -e --nodeps rdma-core-devel
sudo dnf update
If the system you have upgraded has the oracle-rdma-release or oracle-rdma-release-guest package installed and if the package version is version 0.31.0-1, then you can remove it because that package no longer serves any purpose:
sudo dnf remove oracle-rdma-release*