Registering SUSE Linux Enterprise Server with Expanded Support Clients

This section contains information about registering traditional and Salt clients running SUSE Linux Enterprise Server with Expanded Support (Expanded Support) operating systems. Expanded Support clients are based on Red Hat Enterprise Linux or CentOS. They are sometimes also called SLESES, RES or Red Hat Expanded Support.

The Expanded Support software channels provided by SUSE only provide updates to packages, they do not provide the packages themselves. To register Expanded Support clients, you need to create custom empty base and child channels on your Uyuni Server, then import the Red Hat or CentOS packages into the custom channels. You must obtain the initial packages directly from Red Hat or CentOS before you can apply the updates provided by the Expanded Support software channels.

You are responsible for arranging access to Red Hat or CentOS base media repositories and installation media.

SUSE does not provide support for Expanded Support systems on Uyuni.

Traditional clients are not available on Expanded Support 8. Expanded Support 8 clients are only supported as Salt clients.

Add Software Channels

For Expanded Support clients, some required packages are contained on the Red Hat Enterprise Linux or CentOS installation media. You must have these packages installed before you can register a Expanded Support client.

The Expanded Support product is provided by SUSE Customer Center. This also includes the client tools package.

Before you register Expanded Support clients to your Uyuni Server, you need to add the required software channels, and synchronize them.

You need to select two different sets of channels, one for Expanded Support and the other for the Client Tools.

You need an activation key associated with the correct Expanded Support channels. For more information about activation keys, see client-configuration:activation-keys.adoc.

The channels you need for this procedure are:

Table 1. ES Channels - CLI
OS Version Base Channel Client Channel Tools Channel

Expanded Support 6

rhel-x86_64-server-6

-

res6-suse-manager-tools-x86_64

Expanded Support 7

rhel-x86_64-server-7

-

res7-suse-manager-tools-x86_64

Expanded Support 8

rhel-x86_64-server-8

-

res8-suse-manager-tools-x86_64

Procedure: Adding Software Channels at the Command Prompt
  1. At the command prompt on the Uyuni Server, as root, use the spacewalk-common-channels command to add the appropriate channels:

    spacewalk-common-channels \
    <channel_label_1> \
    <channel_label_2> \
    <channel_label_3> \
    ... <channel_label_n>
  2. Synchronize the channels:

    spacewalk-repo-sync
  3. Ensure the synchronization is complete before continuing.

Add Base Media

The base Expanded Support channel does not contain any packages, because SUSE does not provide Red Hat Enterprise Linux or CentOS base media. You need to obtain base media from Red Hat or CentOS, which you can add as a child channel to the Expanded Support parent channel. To ensure you have all the packages you need, use a full DVD image, not a minimal or JeOS image.

You can use Uyuni custom channels to set up the Red Hat Enterprise Linux or CentOS media. All packages on the base media must be mirrored into a child channel.

You can freely choose the names for the channels.

Procedure: Creating Custom Channels
  1. On the Uyuni Server Web UI, navigate to Software  Manage  Channels.

  2. Click Create Channel and set the appropriate parameters for the channels.

  3. In the Parent Channel field, select the appropriate base channel.

  4. Click Create Channel.

  5. Repeat for all channels you need to create. There should be one custom channel for each custom repository.

You can check that you have created all the appropriate channels and repositories, by navigating to Software  Channel List  All.

For Red Hat 8 clients, add both the Base and AppStream channels. You require packages from both channels. If you do not add both channels, you cannot create the bootstrap repository, due to missing packages.

Procedure: Adding Base Media to Custom Channels
  1. On the Uyuni Server, at the command prompt, as root, copy the base media image to the /tmp/ directory.

  2. Create a directory to contain the media content. Replace <os_name> with either sleses6, sleses7, or sleses8:

    mkdir -p /srv/www/htdocs/pub/<os_name>
  3. Mount the image:

    mount -o loop /tmp/<iso_filename> /srv/www/htdocs/pub/<os_name>
  4. Import the packages into the child channel you created earlier:

    spacewalk-repo-sync -c <channel-label> -u /srv/www/htdocs/pub/<os_name>

OPTIONAL: Add Base Media from a Content URL

Alternatively, if you have access to a content URL provided by Red Hat CDN or CentOS, you can create a custom repository to mirror the packages.

The details you need for this procedure are:

Table 2. ES Custom Repository Settings
Option Parameter

Repository URL

The content URL provided by Red Hat CDN or CentOS

Has Signed Metadata?

Uncheck all Red Hat Enterprise repositories

SSL CA Certificate

redhat-uep (Red Hat only)

SSL Client Certificate

Entitlement-Cert-date (Red Hat only)

SSL Client Key

Entitlement-Key-date (Red Hat only)

Procedure: Creating Custom Repositories
  1. On the Uyuni Server Web UI, navigate to Software  Manage  Repositories.

  2. Click Create Repository and set the appropriate parameters for the main repository.

  3. Click Create Repository.

  4. Repeat for all repositories you need to create.

When you have created all the channels, you can associate them with the repositories you created:

Procedure: Associating Channels with Repositories
  1. On the Uyuni Server Web UI, navigate to Software  Manage  Channels, and click the channel to associate.

  2. Navigate to the Repositories tab, and check the repository to associate with this channel.

  3. Click Update Repositories to associate the channel and the repository.

  4. Repeat for all channels and repositories you need to associate.

  5. OPTIONAL: Navigate to the Sync tab to set a recurring schedule for synchronization of this repository.

  6. Click Sync Now to begin synchronization immediately.

Check Synchronization Status

Procedure: Checking Synchronization Progress
  1. In the Uyuni Web UI, navigate to Software  Manage  Channels, then click the channel associated to the repository.

  2. Navigate to the Repositories tab, then click Sync and check Sync Status.

Procedure: Checking Synchronization Progress from the Command Prompt
  1. At the command prompt on the Uyuni Server, as root, use the tail command to check the synchronization log file:

    tail -f /var/log/rhn/reposync/<channel-label>.log
  2. Each child channel generates its own log during the synchronization progress. You need to check all the base and child channel log files to be sure that the synchronization is complete.

The Expanded Support channels can be very large. The initial channel synchronization can sometimes take up to several hours.

When the initial synchronization is complete, we recommended you clone the channel before you work with it. This gives you a backup of the original synchronization data.

Register Expanded Support Clients

Your Expanded Support clients are now ready to be registered.

For more information on registering your clients, see client-configuration:registration-overview.adoc.

To register and use SUSE Linux Enterprise Server with Expanded Support 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.