Chapter 3 Installation and Availability
You can install Unbreakable Enterprise Kernel Release 3 (UEK R3) on Oracle Linux 6 Update 4 or newer, 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.
UEK R3 is supported on the x86-64 architecture but not on x86.
The kernel's source code is available via a public git source code repository at https://oss.oracle.com/git/?p=linux-uek3-3.8.git.
Starting with Oracle Linux 6 Update 5 for x86-64, UEK R3 is the default boot kernel for fresh installations of Oracle Linux.
For systems that are running UEK R3 and are subscribed to the
ol6_x86_64_UEKR3_latest
channel on ULN, or the
ol6_UEKR3_latest
repository in the Oracle
Oracle Yum Server repository, you upgrade to the latest UEK
release as follows:
Upgrade all packages on the system, including kernel packages.
#
yum update
By default, the boot manager automatically enables the most recent kernel version so you do not need to change your GRUB configuration.
Reboot the system.
#
shutdown -r now
For systems that are currently running a previous version of the Unbreakable Enterprise Kernel (UEK R2) or the Red Hat compatible kernel (RHCK), you can switch to UEK R3 at any time. For details, see:
3.1 Switching a System to UEK R3 (ULN)
If you have a subscription to Oracle Unbreakable Linux support, you can obtain the packages for Unbreakable Enterprise Kernel Release 3 (UEK R3) by registering your system with the Unbreakable Linux Network (ULN) and subscribing it to additional channels.
Before you begin:
Ensure the system is registered with ULN.
For information about registering with ULN, see Oracle® Linux: Unbreakable Linux Network User's Guide for Oracle Linux 6 and Oracle Linux 7.
Check that the system meets the requirements for installing UEK R3.
For details, see Chapter 3, Installation and Availability.
Remove some of the existing OpenFabrics Enterprise Distribution (OFED) packages.
You only need to do this if you have installed any OFED packages on your system and you want to replace them with the latest OFED tools packages. The packages have to be removed manually, see Section 3.3, “Upgrading OFED Packages”.
Using a browser, log in at https://linux.oracle.com with the ULN user name and password that you used to register the system.
On the Systems tab, click the link named of your system in the list of registered machines.
On the System Details page, click Manage Subscriptions.
On the System Summary page, select each required channel in the Available Channels list and click the right arrow to move the channel to the Subscribed Channels list.
The kernel image and user-space packages are available on the following ULN channels:
Channel Name
Description and Channel Label
Oracle Linux 6 Latest (x86_64)
All packages released for Oracle Linux 6 (x86_64) including the latest errata packages. (x86_64).
(
ol6_x86_64_latest
)Unbreakable Enterprise Kernel Release 3 for Oracle Linux 6 (x86_64) - Latest
Latest packages for Unbreakable Enterprise Kernel Release 3 for Oracle Linux 6 (x86_64).
Contains the
kernel-uek*
,dtrace-modules-*
,libdtrace-*
, anduname26
packages.(
ol6_x86_64_UEKR3_latest
)Oracle Linux 6 Dtrace Userspace Tools (x86_64) - Latest
The latest DTrace userspace tools for Oracle Linux 6 (x86_64).
Contains the
dtrace-utils*
packages.(
ol6_x86_64_Dtrace_userspace_latest
)OFED supporting tool packages for Unbreakable Enterprise Kernel on Oracle Linux 6 (x86_64)
Latest OpenFabrics Enterprise Distribution (OFED) supporting tools for the Unbreakable Enterprise Kernel (UEK) on Oracle Linux 6 (x86_64).
(
ol6_x86_64_ofed_UEK
)HA Utilities for MySQL and Oracle Linux 6 (x86_64)
Management Utilities for MySQL HA with Oracle Linux 6.
Contains the
drbd84-utils
package.(
ol6_x86_64_mysql-ha-utils
)As a minimum, you should subscribe the system to the
ol6_x86_64_latest
and theol6_x86_64_UEKR3_latest
channels. If required, you can also add the channels for the DTrace, OFED, and DRBD packages.CautionTake care not to select the
ol6_x86_64_UEK_BETA
channel.Because you are switching to the latest UEK kernel, you no longer need to subscribe the system to the previous UEK R2 (
ol6_x86_64_UEK_latest
) channel.When you have finished selecting channels, click Save Subscriptions and log out of ULN.
Log in as
root
on the system.Upgrade all packages on the system, including kernel packages.
#
yum update
By default, the boot manager automatically enables the most recent kernel version so you do not need to change your GRUB configuration.
Reboot the system.
#
shutdown -r now
3.2 Switching a System to UEK R3 (Oracle Yum Server)
If your system is not registered with ULN, you can obtain most of the packages for Unbreakable Enterprise Kernel Release 3 (UEK R3) from Oracle Yum Server by subscribing it to additional repositories.
Before you begin:
Check that the system meets the requirements for installing UEK R3.
For details, see Chapter 3, Installation and Availability.
Remove some of the existing OpenFabrics Enterprise Distribution (OFED) packages.
You only need to do this if you have installed any OFED packages on your system and you want to replace them with the latest OFED tools packages. The packages have to be removed manually, see Section 3.3, “Upgrading OFED Packages”.
Log in as
root
on the system.Change directory to
/etc/yum.repos.d
.#
cd /etc/yum.repos.d
NoteThis assumes that yum on your system is configured to find repository files in the default
/etc/yum.repos.d
directory.Download the Oracle Linux 6 repository configuration file, https://yum.oracle.com/public-yum-ol6.repo.
For example:
#
wget https://yum.oracle.com/public-yum-ol6.repo
The
/etc/yum.repos.d
directory is updated with the repository configuration file.Enable the required repositories by editing the
public-yum-ol6.repo
file.You enable or disable repositories in the file by setting the value of the
enabled
directive to 1 or 0 as required.The kernel image and user-space packages are available on the following Oracle Yum Server repositories:
Channel Label
Description
ol6_latest
All packages released for Oracle Linux 6 (x86_64) including the latest errata packages.
ol6_UEKR3_latest
Latest packages for Unbreakable Enterprise Kernel Release 3 for Oracle Linux 6.
Contains the
kernel-uek*
,dtrace-modules-*
,libdtrace-*
, anduname26
packages.ol6_ofed_UEK
Latest OpenFabrics Enterprise Distribution (OFED) supporting tools for the Unbreakable Enterprise Kernel (UEK) on Oracle Linux 6 (x86_64).
As a minimum, you should enable the
ol6_latest
and theol6_UEKR3_latest
repositories.NoteThe DTrace utility and DRBD packages are not available on Oracle Yum Server.
Because you are switching to the latest UEK kernel, you can disable the previous UEK R2 (
ol6_UEK_latest
) repository.In the following example, the
ol6_UEKR3_latest
repository is enabled, and theol6_UEK_latest
repository is disabled:[ol6_UEKR3_latest] name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch) baseurl=https://yum.oracle.com/repo/OracleLinux/OL6/UEKR3/latest/$basearch/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1 [ol6_UEK_latest] name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch) baseurl=https://yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=0
Upgrade all packages on the system, including kernel packages.
#
yum update
By default, the boot manager automatically enables the most recent kernel version so you do not need to change your GRUB configuration.
Reboot the system.
#
shutdown -r now
3.3 Upgrading OFED Packages
If you have enabled the ol6_ofed_UEK
channel,
you must remove any existing OFED packages for the 32-bit x86
architecture before you can upgrade the remaining OFED packages
on your system. You must also completely remove and reinstall
the ibutils
packages. The latest version of
the ibutils
package no longer depends on an
ibutils-libs
package as the libraries are now
included in ibutils
itself.
Use the following command to remove any non-upgradable packages for the x86 architecture:
# rpm -e infiniband-diags-1.5.12-5.el6.i686 \
libibcm-1.0.5-3.el6.i686 \
libibcm-devel-1.0.5-3.el6.i686 \
libibmad-1.3.9-1.el6.i686 \
libibmad-devel-1.3.9-1.el6.i686 \
libibumad-1.3.8-1.el6.i686 \
libibumad-devel-1.3.8-1.el6.i686 \
libibverbs-1.1.6-5.el6.i686 \
libibverbs-devel-1.1.6-5.el6.i686 \
libmlx4-1.0.4-1.el6.i686 \
librdmacm-1.0.17-0.git4b5c1aa.el6.i686 \
librdmacm-devel-1.0.17-0.git4b5c1aa.el6.i686 \
opensm-devel-3.3.15-1.el6.i686 \
opensm-libs-3.3.15-1.el6.i686 \
ibacm-devel-1.0.8-0.git7a3adb7.el6.i686
Use the following commands to remove the existing
ibutils
and ibutils-libs
packages and install the new ibutils
package:
#rpm -e ibutils-1.5.7-7.el6.x86_64 \ ibutils-libs-1.5.7-7.el6.x86_64
#yum install ibutils