Managing Oracle Linux Systems Guide

Software packages for Oracle Linux are distributed by Oracle via the Unbreakable Linux Network. In order to manage hosts running Oracle Linux and serve content, you need to fetch the software packages from Oracle first.

In order to deploy an Oracle Linux 8 host in orcharhino which receives content supplied by the Oracle ULN repositories, the following steps have to be applied:

  1. Create a product called Oracle Linux 8 ULN

  2. Create the necessary repositories

    Create generic yum repositories inside the product created in step 1. Each repository will require your Oracle credentials:

    • Add-ons ULN (uln://ol8_x86_64_addons)

    • Appstream latest ULN (uln://ol8_x86_64_appstream)

    • BaseOS Latest ULN (uln://ol8_x86_64_baseos_latest)

    • ksplice (uln://ol8_x86_64_ksplice)

    • Unbreakable Enterprise Kernel Release 6 (uln://ol8_x86_64_UEKR6)

  3. Synchronize the repositories

    Synchronize all repositories via the Select Action > Sync Now button on the products page.

  4. Create a content view

    Create a single content view called Oracle 8 ULN comprising the ULN repositories created in the Oracle 8 ULN product and publish a new version.

  5. Create a composite content view

    Create a new composite content view called Composite Oracle 8 ULN comprising the previously published single Oracle 8 ULN content view and further content views of your choice (e.g. Oracle Linux client, EPEL, or Puppet etc.). Publish a new version and promote this version to the lifecycle environment of your choice.

  6. Create an activation key

    Create a new activation key called oracle8-uln and configure it as follows:

    • On the Details tab, assign the correct lifecycle environment and assign the correct composite content view.

    • On the Subscriptions tab, assign the necessary subscriptions (e.g. Oracle 8 ULN, EPEL, and Puppet etc).

  7. Create a host group

    Create a new host group called Oracle 8 ULN and assign the previously created activation key to it.

You can now deploy hosts supplied by the Oracle 8 ULN repositories.

The following additional steps are required to deploy hosts which are configured to have ksplice installed and are capable to run uptrack-updates right after deployment:

  1. Create a provisioning template snippet

    Create a provisioning template snippet called install_ksplice containing the following commands:

    yum install uptrack-offline -y
    yum install uptrack-updates-$(uname -r) -y
    yum install ksplice -y
  2. Add the snippet to the provisioning template

    Add the snippet created in step 8 to the provisioning template:

    <% if host_param_true?('install_ksplice') -%>
    <%= snippet 'install_ksplice' -%>
    <% end -%>

    This should be added before the following line:

    touch /tmp/foreman_built

    We recommend to not edit a locked template, but rather clone it and edit the cloned template. Remember to add the cloned template to any desired operating system.

    Enable the snippet by setting the default value to true:

    - install_ksplice: boolean (default=true)

    This should be added before enabling the Puppet repository:

    - enable-puppetlabs-puppet6-repo: boolean (default=false)

    Create the parameter install_ksplice as a boolean in your Oracle Linux 8 ULN hostgroup and set it to true.

In case an older version of the Linux kernel has been active during deployment, run the following command after rebooting the host:

yum install uptrack-updates-$(uname -r) -y