Chapter 4 Installation and Availability

You can install Unbreakable Enterprise Kernel Release 6 on Oracle Linux 7 Update 7 or later and on Oracle Linux 8 Update 1 or later running either the Red Hat compatible kernel or a previous version of the Unbreakable Enterprise Kernel. If you are still running an older version of Oracle Linux, first update your system to the latest available update release.

Unbreakable Enterprise Kernel Release 6 is supported on x86-64 platforms but not on x86. Unbreakable Enterprise Kernel Release 6 is also supported on 64-bit Arm (aarch64) platforms.

4.1 Installation Overview

If you have a subscription to Oracle Unbreakable Linux support, you can obtain the packages for Unbreakable Enterprise Kernel Release 6 by registering your system with the Unbreakable Linux Network (ULN) and subscribing it to additional channels. See Section 4.2, “Subscribing to ULN Channels”.

If your system is not registered with ULN, you can obtain most of the packages from Oracle Linux yum server. See Section 4.3, “Enabling Access to Oracle Linux Yum Server Repositories”.

Having subscribed your system to the appropriate channels on ULN or Oracle Linux yum server, upgrade your system. See Section 4.4, “Upgrading Your System”.

4.2 Subscribing to ULN Channels

The following procedure assumes that you have already registered your system with ULN.

To subscribe your system to a channel on ULN:

  1. Log in to https://linux.oracle.com with your ULN user name and password.

  2. On the Systems tab, click the link named for the system in the list of registered machines.

  3. On the System Details page, click Manage Subscriptions.

  4. On the System Summary page, select each required channels from the list of available channels and click the right arrow to move the channel to the list of subscribed channels.

  5. Click Save Subscriptions.

For information about using ULN, see Oracle® Linux: Unbreakable Linux Network User's Guide for Oracle Linux 6 and Oracle Linux 7 or Oracle® Linux 8: Managing Software on Oracle Linux.

Oracle Linux 7

The kernel image and user space packages are available on the following ULN channels for Oracle Linux 7 on x86_64 platforms:

  • ol7_x86_64_UEKR6

The kernel image and user space packages are available on the following ULN channels for Oracle Linux 7 on aarch64 platforms:

  • ol7_aarch64_UEKR6

Oracle Linux 8

Kernel image and user space packages are available on the following ULN channels for Oracle Linux 8 on x86_64 platforms:

  • ol8_x86_64_UEKR6

  • ol8_x86_64_baseos_latest

Oracle Linux 8 on aarch64 platforms is a developer release at this time. Kernel image and user space packages are available on the ULN channels for Oracle Linux 8 on aarch64 platforms:

  • ol8_aarch64_developer_UEKR6

4.3 Enabling Access to Oracle Linux Yum Server Repositories

Packages for UEK R6 and associated user space applications are available on the Oracle Linux yum server at https://yum.oracle.com/.

Oracle Linux 7

All kernel image and associated user space packages for Oracle Linux 7 are available in the ol7_UEKR6 repository.

To enable access to the Oracle Linux 7 repositories on the Oracle Linux yum server, use yum-config-manager. For example, to enable access to the ol7_latest and ol7_UEKR6 repositories, run the following:

# yum-config-manager --enable ol7_latest ol7_UEKR6
Note

You can only use yum-config-manager to enable or disable repositories where you already have a configuration file for the specified repository. Repository configurations are typically stored in /etc/yum.repos.d. The repository configurations required to install UEK on Oracle Linux 7 are included in the oraclelinux-release-el7 package. You may need to update this package to the latest version to obtain the correct yum repository configuration.

See Oracle® Linux 7: Administrator's Guide for more information.

Oracle Linux 8

Kernel images and all associated user space packages for Oracle Linux 8 on x86_64 platforms are available by enabling the ol8_UEKR6, ol8_basesos_latest and ol8_addons repositories. Note that for aarch64 platforms, these packages are provided by default within the ol8_developer_UEKR6 repository.

To enable access to the Oracle Linux 8 repositories on the Oracle Linux yum server, use dnf config-manager. For example, to enable access to the ol8_baseos_latest, ol8_addons and ol8_UEKR6 repositories, run the following:

# dnf config-manager --enable ol8_baseos_latest ol8_addons ol8_UEKR6
Note

You can only use dnf config-manager to enable or disable repositories where you already have a configuration file for the specified repository. Repository configurations are typically stored in /etc/yum.repos.d. The repository configurations required to install UEK on Oracle Linux 8 are included in the oraclelinux-release-el8 package. You may need to update this package to the latest version to obtain the correct yum repository configuration.

See Oracle® Linux 8: Managing Software on Oracle Linux for more information.

4.4 Upgrading Your System

To upgrade your system to Unbreakable Enterprise Kernel Release 6:

  1. Enable access to the appropriate ULN channels or yum repositories as described in Section 4.2, “Subscribing to ULN Channels” and Section 4.3, “Enabling Access to Oracle Linux Yum Server Repositories”. It is good practice to disable any other UEK channels or repositories that you may have configured previously.

  2. After enabling access to the appropriate channels, run the following command to upgrade the system to UEK R6 on Oracle Linux 7:

    # yum update

    Alternatively, run the following command on Oracle Linux 8:

    # dnf update
  3. After upgrading the system, reboot it, selecting the UEK R6 kernel (version 5.4) if this is not the default boot kernel.

If you have questions regarding configuring or using yum to install updates, refer to Oracle® Linux: Unbreakable Linux Network User's Guide for Oracle Linux 6 and Oracle Linux 7 or Oracle® Linux 8: Managing Software on Oracle Linux.

4.5 Installing Oracle-Supported RDMA Packages for x86_64 platforms

The following procedure describes how to install the RDMA release packages. The instructions describe how to remove previous existing oracle-ofed-release packages and other previously installed RDMA packages that could cause conflicts during the installation of the oracle-rdma-release packages. Note that the yum commands used in this procedure are interchangeable with the dnf command available in Oracle Linux 8.

  1. In addition to the ULN channels and yum repositories described in Section 4.2, “Subscribing to ULN Channels” and Section 4.3, “Enabling Access to Oracle Linux Yum Server Repositories”, subscribe the system to the appropriate RDMA ULN channel or yum repository.

    If you are using the Oracle Linux yum server you should enable the ol7_UEKR6_RDMA repository for Oracle Linux 7; or the ol8_UEKR6_RDMA repository for Oracle Linux 8. For example, on Oracle Linux 7 run:

    # yum-config-manager --enable ol7_latest ol7_UEKR6 ol7_UEKR6_RDMA

    On Oracle Linux 8 run:

    # dnf config-manager --enable ol8_baseos_latest ol8_UEKR6 ol8_UEKR6_RDMA

    If you are subscribed to ULN, you can subscribe to ol7_x86_64_UEKR6_RDMA for Oracle Linux 7; or ol8_x86_64_UEKR6_RDMA for Oracle Linux 8.

  2. Remove any existing packages related to RDMA:

    # yum remove 'ibacm*'
    # yum remove 'ib-bonding*'
    # yum remove 'ibutils*'
    # yum remove 'infiniband-diags*'
    # yum remove 'libibacl*'
    # yum remove 'libibcm*'
    # yum remove 'libibmad*'
    # yum remove 'libibumad*'
    # yum remove 'libibverbs*'
    # yum remove 'libmlx4*'
    # yum remove 'librdmacm*'
    # yum remove 'libsdp*'
    # yum remove 'mstflint*'
    # yum remove 'ofed-docs*'
    # yum remove 'ofed-scripts*'
    # yum remove 'opensm*'
    # yum remove 'oracle-rdma-tools'
    # yum remove 'perftest*'
    # yum remove 'qperf*'
    # yum remove 'sdpnetstat*'
    # yum remove 'rdma*'
    # yum remove 'rds-tools*'
    # yum remove 'rdma-core*'
  3. Clean all yum cached files from all enabled repositories:

    # yum clean all
  4. Install the RDMA packages for UEK R6.

    • If you are installing the packages on a bare-metal system, run the following command:

      # yum install oracle-rdma-release
    • If you are installing the packages on a virtualized platform (either on a Xen or KVM guest), run the following command, instead:

      # yum install oracle-rdma-release-guest
    • (Optional) If you require the libpcap package, you must install this separately:

      # yum install libpcap

Each UEK release requires a different set of RDMA packages. If you change the kernel on your system to a UEK release before UEK R6, remove the existing UEK R6-based RDMA packages before installing the correct packages for the new kernel by running the following command:

# yum remove --setopt=clean_requirements_on_remove=1 oracle-rdma-release

Note that on Oracle Linux 8, this command may not work for all of the related packages. For instance, the libpcap package is a dependency for key system packages and cannot be removed. Use the dnf history undo command to roll back and remove the dependencies for the rdma-core package. For example:

# dnf history undo rdma-core
Caution

Downgrading UEK versions is not advisable, except for testing purposes.