Registering Oracle Linux Clients

This section contains information about registering traditional and Salt clients running Oracle Linux operating systems.

Traditional clients are not available on Oracle Linux 8. Oracle Linux 8 clients are only supported as Salt clients.

Channel and Repository Management

For Oracle Linux 8 clients, add both the BaseOS and Appstream channels. You will require packages from both channels. If you do not add both channels, you will not be able to create the bootstrap repository, due to missing packages.

Procedure: Adding Client Tools Channels
  1. At the command prompt on the Uyuni Server, as root, add the Oracle Linux base, updates, and client channels, specifying the Oracle Linux version and architecture:

    • For Oracle Linux 6:

      spacewalk-common-channels -a x86_64 oraclelinux6 \
    • For Oracle Linux 7:

      spacewalk-common-channels -a x86_64 oraclelinux7 \
    • For Oracle Linux 8:

      spacewalk-common-channels -a x86_64 oraclelinux8 \
      oraclelinux8-appstream oraclelinux8-uyuni-client

The client tools channel provided by spacewalk-common-channels is sourced from Uyuni and not from SUSE.

Procedure: Synchronizing Oracle Repositories
  1. In the Uyuni Web UI, navigate to Software Manage, and check every Oracle channel.

  2. In the Repositories tab, navigate to the Sync subtab, and click Sync Now. You can also create a regular synchronization schedule on this page.

To check if a channel has finished synchronizing:

  • Check the synchronization log file at the command prompt with tail -f /var/log/rhn/reposync/channel-label.log file.

    Each child channel will generate its own log during the synchronization progress. You will need to check all the base and child channel log files to be sure that the synchronization is complete.

Create an Activation Key

You will need to create an activation key that is associated with your Oracle Linux channels.

For more information on activation keys, see client-configuration:clients-and-activation-keys.adoc.

Trust GPG Keys on Clients

By default, Oracle Linux does not trust the GPG key for Uyuni Oracle Linux client tools.

The clients can be successfully bootstrapped without the GPG key being trusted.

However, they will not be able to install new client tool packages or update them.

To fix this, add this key to the ORG_GPG_KEY= parameter in all Oracle Linux bootstrap scripts:

You do not need to delete any previously stored keys.

If you are bootstrapping clients from the Uyuni Web UI, you will need to use a Salt state to trust the key. Create the Salt state and assign it to the organization. You can then use an activation key and configuration channels to deploy the key to the clients.

Register Clients

Oracle Linux clients are registered in the same way as all other clients. For more information, see client-configuration:registration-overview.adoc.

To register and use Oracle Linux 6 clients, you need to configure the Uyuni Server to support older types of SSL encryption. For more information about how to resolve this error, see Registering Older Clients at client-configuration:tshoot-clients.adoc.