Chapter 4 Installation and Availability

You can install Unbreakable Enterprise Kernel Release 5 on Oracle Linux 7 Update 5 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.

The Unbreakable Enterprise Kernel Release 5 is supported on the x86-64 architecture but not on x86.

4.1 Installation Overview

If you have a subscription to Oracle Unbreakable Linux support, you can obtain the packages for Unbreakable Enterprise Kernel Release 5 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 kernel image and user space packages are available on the following ULN channels for Oracle Linux 7:

  • ol7_x86_64_latest (latest user space packages for Oracle Linux 7)

  • ol7_x86_64_UEKR5 (kernel-uek*, dtrace-utils*,ndctl-*, btrfs-progs-* and xfsprogs-*)

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 channel from the list of available channels and click the right arrow to move the channel to the list of subscribed channels.

    Subscribe the system to the ol7_x86_64_latest and ol7_x86_64_UEKR5 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

4.3 Enabling Access to Oracle Linux Yum Server Repositories

At the Oracle Linux yum server repository at https://yum.oracle.com/, the kernel image and user space packages are available on the following repositories for Oracle Linux 7:

  • ol7_latest (latest user space packages for Oracle Linux 7 other than the OFED tool packages)

  • ol7_UEKR5 (kernel-uek*, dtrace-utils*,ndctl-*, btrfs-progs-* and xfsprogs-*)

Note

To be able to install UEK R5, enable the ol7_UEKR5 repository and disable the ol7_UEKR3 or ol7_UEKR4 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_UEKR5 repositories, run the following:

# yum-config-manager --enable ol7_latest,ol7_UEKR5
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.

See https://docs.oracle.com/en/operating-systems/oracle-linux/7/admin/ol7_yum.html in Oracle® Linux 7: Administrator's Guide for more information.

4.4 Upgrading Your System

To upgrade your system to Unbreakable Enterprise Kernel Release 5:

  1. After enabling access to the appropriate channels, including ol7_UEKR5, in the Oracle Linux yum server repository or ol7_x86_64_UEKR5 on ULN, run the following command to upgrade the system to UEK R5:

    # yum update
  2. After upgrading the system, reboot it, selecting the UEK R5 kernel (version 4.14.35) 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.

The kernel's source code is available through a public git source code repository at https://github.com/oracle/linux-uek.

4.5 Installing Oracle-Supported RDMA Packages

The following procedure describes how to upgrade from the OFED release to the RDMA release. The instructions describe how to remove the oracle-ofed-release packages and then install the oracle-rdma-release packages.

  1. Subscribe your system to the appropriate ULN channels or enable the appropriate yum repositories:

    • If your system is registered with ULN, subscribe the system to the ol7_x86_64_UEKR5_RDMA, ol7_x86_64_UEKR5, and ol7_x86_64_latest channels on ULN.

    • If you want to install the packages from the Oracle Linux yum server, enable the required repositories and make sure your system is using the modular yum repository configuration. If your system is not using the modular yum repository configuration, install the oraclelinux-release-el7 package and run the /usr/bin/ol_yum_configure.sh script.

      # yum install oraclelinux-release-el7
      # /usr/bin/ol_yum_configure.sh

      Enable the ol7_latest, ol7_UEKR5 and ol7_UEKR5_RDMA repositories:

      # yum-config-manager --enable ol7_latest ol7_UEKR5 ol7_UEKR5_RDMA

      You can optionally disable the ol7_UEKR4 repository if you do not intend to use this kernel. Note that the RDMA packages installed from the ol7_UEKR5_RDMA repository are not compatible with other UEK releases.

      See https://docs.oracle.com/en/operating-systems/oracle-linux/7/admin/ol7_yum.html in Oracle® Linux 7: Administrator's Guide for more information.

  2. Stop and then disable the rdma.service service.

    # systemctl stop rdma.service
    # systemctl disable rdma.service
  3. Remove any existing OFED packages.

    # 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 'perftest*'
    # yum remove 'qperf*'
    # yum remove 'sdpnetstat*'
    # yum remove 'rdma*'
    # yum remove 'rds-tools*'
    # yum remove 'rdma-core*'
  4. Clean all yum cached files from all enabled repositories:

    # yum clean all
  5. Install the RDMA packages for UEK R5 by running the following command:

    # yum install oracle-rdma-release

Each UEK release requires a different set of RDMA packages. If you change the kernel on your system to a UEK release before UEK R5, remove the existing UEK R5-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
Caution

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