4.6. Attaching Subscriptions to Content Hosts

Using activation keys is the main method to attach subscriptions to content hosts during the provisioning process. However, an activation key cannot update an existing host. If you need to attach new or additional subscriptions, such as future-dated subscriptions, to one host, use the following procedure.

For more information about updating multiple hosts, see 「Bulk Updating Content Hosts' Subscriptions」.

For more information about activation keys, see 10章Managing Activation Keys.

Smart Management Subscriptions

In Satellite 6, you must maintain a Red Hat Enterprise Linux Smart Management subscription for every Red Hat Enterprise Linux host that you want to manage.

However, you are not required to attach Smart Management subscriptions to each content host. Smart Management subscriptions cannot attach automatically to content hosts in Satellite because they are not associated with any product certificates. Adding a Smart Management subscription to a content host does not provide any content or repository access. If you want, you can add a Smart Management subscription to a manifest for your own recording or tracking purposes.

Prerequisite

You must have a Subscription Manifest file imported to Satellite Server.

Procedure

To attach subscriptions to content hosts, complete the following steps:

  1. In the Satellite web UI, ensure the context is set to the organization you want to use.
  2. Navigate to Hosts > Content Hosts.
  3. On the row of each content host whose subscription you want to change, select the corresponding check box.
  4. From the Select Action list, select Manage Subscriptions.
  5. Optionally, enter a key and value in the Search field to filter the subscriptions displayed.
  6. Select the check box to the left of the subscriptions that you want to add or remove and click Add Selected or Remove Selected as required.
  7. Click Done to save the changes.

For CLI Users

  1. Connect to Satellite Server as the root user, and then list the available subscriptions:

    # hammer subscription list \
    --organization-id 1
  2. Attach a subscription to the host:

    # hammer host subscription attach \
    --host host_name \
    --subscription-id subscription_id