Chapter 4 Installation and Availability
- 4.1 Upgrading from Oracle Linux 6
-
4.2 Installing or Upgrading the Oracle-Supported OFED Packages
- 4.2.1 Installing Oracle Linux 7 Update 1 from ULN if the Oracle-Supported OFED Packages Are Already Installed
- 4.2.2 Installing Oracle Linux 7 Update 1 from Oracle Linux Yum Server if the Oracle-Supported OFED Packages Are Already Installed
- 4.2.3 Installing the Oracle-Supported OFED Packages from ULN if the Default OFED Packages Are Not Already Installed
- 4.2.4 Installing the Oracle-Supported OFED Packages from Oracle Linux Yum Server if the Default OFED Packages Are Not Already Installed
- 4.2.5 Installing the Oracle-Supported OFED Packages from ULN if the Default OFED Packages Are Already Present
- 4.2.6 Installing the Oracle-Supported OFED packages from Oracle Linux Yum Server if the Default OFED Packages Are Already Present
You can download a full Oracle Linux 7 Update 1 installation media image from the Oracle Software Delivery Cloud at https://edelivery.oracle.com/linux. You can also obtain the latest Oracle Linux 7 packages from the Unbreakable Linux Network (ULN) and the Oracle Linux yum server.
The following table lists some of the channels and repositories that are available on ULN and Oracle Linux yum server for Oracle Linux 7.
ULN Channel |
Oracle Linux yum server Repository |
Description |
---|---|---|
|
|
Latest packages for Oracle Linux 7. |
|
|
Base packages for the initial release (Update 0) of Oracle Linux 7. |
|
Patches for the initial-release packages of Oracle Linux 7. |
|
|
|
Base packages for Update |
|
Patches for Update |
|
|
|
GPL-licensed packages for Oracle Linux 7 that have not been sourced from upstream. |
|
DTrace user-space packages for Oracle Linux 7. |
|
|
Ksplice packages for Oracle Linux 7. |
|
|
|
MySQL Community Edition 5.5 packages for Oracle Linux 7. |
|
|
MySQL Community Edition 5.6 packages for Oracle Linux 7. |
|
|
Latest optional packages (including most
|
|
Oracle software packages for Oracle Linux 7. |
|
|
|
Latest Unbreakable Enterprise Kernel Release 3 (UEK R3) packages for Oracle Linux 7. |
|
OpenFabrics Enterprise Distribution (OFED) 2.0 packages for UEK R3 on Oracle Linux 7. See Section 4.2, “Installing or Upgrading the Oracle-Supported OFED Packages”. |
|
|
Oracle VM VirtualBox packages for Oracle Linux 7. |
Oracle Linux yum server does not provide equivalent repositories for some channels that are available on ULN. These channels provide non-open source packages.
The kernel source code is available after the initial release via a public git source code repository at https://oss.oracle.com/git/?p=linux-uek3-3.8.git.
If installed, remove the i686 versions of the
krb5-server
and
krb5-server-ldap
packages before updating the
system, for example:
# yum remove krb5-server.i686 krb5-server-ldap.i686
If you are installing the update on a system on which you have previously installed the Oracle-supported OFED packages, see the following sections for instructions on how to update these packages during the upgrade:
-
Section 4.2.1, “Installing Oracle Linux 7 Update 1 from ULN if the Oracle-Supported OFED Packages Are Already Installed” for instructions on how to install the update from ULN.
-
Section 4.2.2, “Installing Oracle Linux 7 Update 1 from Oracle Linux Yum Server if the Oracle-Supported OFED Packages Are Already Installed” for instructions on how to install the update from Oracle Linux yum server.
UEK R3 is the default boot kernel for fresh installations of
Oracle Linux 7. For systems that are running UEK R3 and are
subscribed to the ol7_x86_64_UEKR3
channel on
ULN, or the ol7_x86_64_UEKR3
repository on
Oracle Linux yum server, 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.
#
systemctl reboot
4.1 Upgrading from Oracle Linux 6
It is possible to upgrade an Oracle Linux 6 system to Oracle Linux 7 Update 1 under the following conditions:
-
The system meets the minimum installation requirements for Oracle Linux 7 as described in Section 1.1, “System Requirements”.
-
The Oracle Linux 6 system has been completely updated from the
ol6_x86_64_latest
channel orol6_latest
repository. -
UEK R3 has been installed on the system to be upgraded and is the default boot kernel. Upgrading from UEK R2 is not supported.
-
No Oracle product stack is present on the system.
Upgrading is supported only for systems that are installed with the Minimal Install base environment.
The following table shows the changes that are applied to any kernels that are configured on the system being upgraded.
Kernel on Original System |
Kernel on Upgraded System |
---|---|
RHCK (2.6.32) |
RHCK (3.10.0) for Oracle Linux 7 is installed. RHCK (2.6.32) is removed. |
UEK R3 (3.8.13) |
UEK R3 (3.8.13) for Oracle Linux 7 is installed and made the default boot kernel. The previous version of UEK R3 is removed. |
For instructions on how to perform an upgrade, see Oracle® Linux 7: Installation Guide.
4.2 Installing or Upgrading the Oracle-Supported OFED Packages
- 4.2.1 Installing Oracle Linux 7 Update 1 from ULN if the Oracle-Supported OFED Packages Are Already Installed
- 4.2.2 Installing Oracle Linux 7 Update 1 from Oracle Linux Yum Server if the Oracle-Supported OFED Packages Are Already Installed
- 4.2.3 Installing the Oracle-Supported OFED Packages from ULN if the Default OFED Packages Are Not Already Installed
- 4.2.4 Installing the Oracle-Supported OFED Packages from Oracle Linux Yum Server if the Default OFED Packages Are Not Already Installed
- 4.2.5 Installing the Oracle-Supported OFED Packages from ULN if the Default OFED Packages Are Already Present
- 4.2.6 Installing the Oracle-Supported OFED packages from Oracle Linux Yum Server if the Default OFED Packages Are Already Present
The following sections describe how to install or upgrade the
OFED packages provided by Oracle, including how to replace the
default OFED packages from Red Hat that are present on a system
that you have upgraded to Oracle Linux 7 or that you have
installed from the Oracle Linux 7 full installation DVD image,
the ol7_x86_64_latest
channel on ULN, or the
ol7_latest
repository on Oracle Linux yum
server.
4.2.1 Installing Oracle Linux 7 Update 1 from ULN if the Oracle-Supported OFED Packages Are Already Installed
This procedure assumes that you have registered the system with ULN. See Oracle® Linux: Unbreakable Linux Network User's Guide for Oracle Linux 6 and Oracle Linux 7.
To install Update 1 from ULN on an Oracle Linux 7 system on which the Oracle-supported OFED packages are already present:
-
Subscribe the system to the
ol7_x86_64_optional_latest
,ol7_x86_64_UEKR3_OFED20
,ol7_x86_64_UEKR3
, andol7_x86_64_latest
channels on ULN. (By default, theol7_x86_64_UEKR3
andol7_x86_64_latest
channels are enabled when you register an Oracle Linux 7 system with ULN.) -
Edit
/etc/yum/pluginconf.d/rhnplugin.conf
and add the following lines to the end of the file:[ol7_x86_64_UEKR3_OFED20] priority=20
-
Install the
yum-plugin-priorities
package from theol7_x86_64_optional_latest
channel:#
yum install yum-plugin-priorities
-
To apply Oracle Linux 7 Update 1 to the system:
#
yum update
Any Oracle-supported OFED packages that were already present are updated from the
ol7_x86_64_UEKR3_OFED20
channel. -
Install Oracle-supported OFED packages such as
ibutils
,libibcm
,librdmacm-devel
,librdmacm-utils
,librdmacm
,opensm
,opensm-libs
, andsrptools
from theol7_x86_64_UEKR3_OFED20
channel as required, for example:#
yum install ibutils
4.2.2 Installing Oracle Linux 7 Update 1 from Oracle Linux Yum Server if the Oracle-Supported OFED Packages Are Already Installed
To install Update 1 from Oracle Linux yum server on an Oracle Linux 7 system on which the Oracle-supported OFED packages are already present:
-
If you updated the server from Oracle Linux 6 or the initial release of Oracle Linux 7, ensure that your system is up to date and that you have transitioned to use the modular yum repository configuration by installing the
oraclelinux-release-el7
package and running the/usr/bin/ol_yum_configure.sh
script.#
yum install oraclelinux-release-el7
#/usr/bin/ol_yum_configure.sh
-
Enable the
ol7_optional_latest
,ol7_latest
,ol7_UEKR3
andol7_UEKR3_OFED20
repositories.#
yum-config-manager --enable ol7_latest ol7_UEKR3 ol7_optional_latest ol7_UEKR3_OFED20
-
Install the
yum-plugin-priorities
package from theol7_optional_latest
repository:#
yum install yum-plugin-priorities
-
To apply Oracle Linux 7 Update 1 to the system:
#
yum update
Any Oracle-supported OFED packages that were already present are updated from the
ol7_UEKR3_OFED20
repository. -
Install Oracle-supported OFED packages such as
ibutils
,libibcm
,librdmacm-devel
,librdmacm-utils
,librdmacm
,opensm
,opensm-libs
, andsrptools
from theol7_UEKR3_OFED20
repository as required, for example:#
yum install ibutils
4.2.3 Installing the Oracle-Supported OFED Packages from ULN if the Default OFED Packages Are Not Already Installed
This procedure assumes that you have registered the system with ULN. See Oracle® Linux: Unbreakable Linux Network User's Guide for Oracle Linux 6 and Oracle Linux 7.
To install the Oracle-supported OFED packages from ULN on a minimally installed Oracle Linux 7 system on which the default OFED packages have not been installed:
-
Subscribe the system to the
ol7_x86_64_optional_latest
,ol7_x86_64_UEKR3_OFED20
,ol7_x86_64_UEKR3
, andol7_x86_64_latest
channels on ULN. (By default, theol7_x86_64_UEKR3
andol7_x86_64_latest
channels are enabled when you register an Oracle Linux 7 system with ULN.) -
Edit
/etc/yum/pluginconf.d/rhnplugin.conf
and add the following lines to the end of the file:[ol7_x86_64_UEKR3_OFED20] priority=20
-
Install the
yum-plugin-priorities
package from theol7_x86_64_optional_latest
channel:#
yum install yum-plugin-priorities
-
Install Oracle-supported OFED packages such as
ibutils
,libibcm
,librdmacm-devel
,librdmacm-utils
,librdmacm
,opensm
,opensm-libs
, andsrptools
from theol7_x86_64_UEKR3_OFED20
channel as required, for example:#
yum install ibutils
4.2.4 Installing the Oracle-Supported OFED Packages from Oracle Linux Yum Server if the Default OFED Packages Are Not Already Installed
To install the Oracle-supported OFED packages from Oracle Linux yum server on a minimally installed Oracle Linux 7 system on which the default OFED packages have not been installed:
-
If you updated the server from Oracle Linux 6 or the initial release of Oracle Linux 7, ensure that your system is up to date and that you have transitioned to use the modular yum repository configuration by installing the
oraclelinux-release-el7
package and running the/usr/bin/ol_yum_configure.sh
script.#
yum install oraclelinux-release-el7
#/usr/bin/ol_yum_configure.sh
-
Enable the
ol7_optional_latest
,ol7_latest
,ol7_UEKR3
andol7_UEKR3_OFED20
repositories.#
yum-config-manager --enable ol7_latest ol7_UEKR3 ol7_optional_latest ol7_UEKR3_OFED20
-
Install the
yum-plugin-priorities
package from theol7_optional_latest
repository:#
yum install yum-plugin-priorities
-
Install Oracle-supported OFED packages such as
ibutils
,libibcm
,librdmacm-devel
,librdmacm-utils
,librdmacm
,opensm
,opensm-libs
, andsrptools
from theol7_UEKR3_OFED20
repository as required, for example:#
yum install ibutils
4.2.5 Installing the Oracle-Supported OFED Packages from ULN if the Default OFED Packages Are Already Present
This procedure assumes that you have registered the system with ULN. See Oracle® Linux: Unbreakable Linux Network User's Guide for Oracle Linux 6 and Oracle Linux 7.
To install the Oracle-supported OFED packages from ULN if the default OFED packages have already been installed on an Oracle Linux 7 system:
-
Subscribe the system to the
ol7_x86_64_optional_latest
,ol7_x86_64_UEKR3_OFED20
,ol7_x86_64_UEKR3
, andol7_x86_64_latest
channels on ULN. (By default, theol7_x86_64_UEKR3
andol7_x86_64_latest
channels are enabled when you register an Oracle Linux 7 system with ULN.) -
Edit
/etc/yum/pluginconf.d/rhnplugin.conf
and add the following lines to the end of the file:[ol7_x86_64_UEKR3_OFED20] priority=20
-
Install the
yum-plugin-priorities
package from theol7_x86_64_optional_latest
channel:#
yum install yum-plugin-priorities
-
Downgrade any default OFED packages other than
ibutils
,libibcm
,librdmacm
,librdmacm-devel
,librdmacm-utils
,opensm
,opensm-libs
, andsrptools
that are already present on the system, for example:#
yum downgrade rdma
These packages are replaced with the Oracle-supported OFED packages from the
ol7_x86_64_UEKR3_OFED20
channel. -
Remove the default
ibutils-libs
package (if present):#
yum remove ibutils-libs
-
Install Oracle-supported OFED packages such as
ibutils
,libibcm
,librdmacm-devel
,librdmacm-utils
,librdmacm
,opensm
,opensm-libs
, andsrptools
from theol7_x86_64_UEKR3_OFED20
channel as required, for example:#
yum install ibutils
4.2.6 Installing the Oracle-Supported OFED packages from Oracle Linux Yum Server if the Default OFED Packages Are Already Present
To install the Oracle-supported OFED packages from Oracle Linux yum server if the default OFED packages have already been installed on an Oracle Linux 7 system:
-
If you updated the server from Oracle Linux 6 or the initial release of Oracle Linux 7, ensure that your system is up to date and that you have transitioned to use the modular yum repository configuration by installing the
oraclelinux-release-el7
package and running the/usr/bin/ol_yum_configure.sh
script.#
yum install oraclelinux-release-el7
#/usr/bin/ol_yum_configure.sh
-
Enable the
ol7_optional_latest
,ol7_latest
,ol7_UEKR3
andol7_UEKR3_OFED20
repositories.#
yum-config-manager --enable ol7_latest ol7_UEKR3 ol7_optional_latest ol7_UEKR3_OFED20
-
Install the
yum-plugin-priorities
package from theol7_optional_latest
repository:#
yum install yum-plugin-priorities
-
Downgrade any default OFED packages other than
ibutils
,libibcm
,librdmacm
,librdmacm-devel
,librdmacm-utils
,opensm
,opensm-libs
, andsrptools
that are already present on the system, for example:#
yum downgrade rdma
These packages are replaced with the Oracle-supported OFED packages from the
ol7_UEKR3_OFED20
repository. -
Remove the default
ibutils-libs
package (if present):#
yum remove ibutils-libs
-
Install Oracle-supported OFED packages such as
ibutils
,libibcm
,librdmacm-devel
,librdmacm-utils
,librdmacm
,opensm
,opensm-libs
, andsrptools
from theol7_UEKR3_OFED20
repository as required, for example:#
yum install ibutils