Red Hat Training

A Red Hat training course is available for RHEL 8

Chapter 2. Registering the system and managing subscriptions

Subscriptions cover products installed on Red Hat Enterprise Linux, including the operating system itself.

You can use a subscription to Red Hat Content Delivery Network to track:

  • Registered systems
  • Products installed on your systems
  • Subscriptions attached to the installed products

2.1. Registering the system after the installation

Use the following procedure to register your system if you have not registered it during the installation process already.

Prerequisites

Procedure

  1. Register and automatically subscribe your system in one step:

    # subscription-manager register --username <username> --password <password> --auto-attach
    Registering to: subscription.rhsm.redhat.com:443/subscription
    The system has been registered with ID: 37to907c-ece6-49ea-9174-20b87ajk9ee7
    The registered system name is: client1.idm.example.com
    Installed Product Current Status:
    Product Name: Red Hat Enterprise Linux for x86_64
    Status:       Subscribed

    The command prompts you to enter your Red Hat Customer Portal user name and password.

    If the registration process fails, you can register your system with a specific pool. For guidance on how to do it, proceed with the following steps:

    1. Determine the pool ID of a subscription that you require:

      # subscription-manager list --available

      This command displays all available subscriptions for your Red Hat account. For every subscription, various characteristics are displayed, including the pool ID.

    2. Attach the appropriate subscription to your system by replacing pool_id with the pool ID determined in the previous step:

      # subscription-manager attach --pool=pool_id
Note

To register the system with Red Hat Insights, you can use the rhc connect utility. See Setting up remote host configuration.

2.2. Registering subscriptions with credentials in the web console

Use the following steps to register a newly installed Red Hat Enterprise Linux with account credentials using the RHEL web console.

Prerequisites

  • A valid user account on the Red Hat Customer Portal.

    See the Create a Red Hat Login page.

  • Active subscription for your RHEL system.

Procedure

  1. Log in to the RHEL web console. For details, see Logging in to the web console.
  2. In the Health filed in the Overview page, click the Not registered warning, or click Subscriptions in the main menu to move to page with your subscription information.

    cockpit subscription Health .

  3. In the Overview filed, click Register.

    cockpit subscription Overview

  4. In the Register system dialog box, select that you want to register using your account credentials.

    cockpit subscriptions account

  5. Enter your username.
  6. Enter your password.
  7. Optionally, enter your organization’s name or ID.

    If your account belongs to more than one organization on the Red Hat Customer Portal, you have to add the organization name or organization ID. To get the org ID, go to your Red Hat contact point.

    • If you do not want to connect your system to Red Hat Insights, clear the Insights check box.
  8. Click the Register button.

At this point, your Red Hat Enterprise Linux Enterprise Linux system has been successfully registered.

2.3. Registering a system using Red Hat account on GNOME

Follow the steps in this procedure to enroll your system with your Red Hat account.

Prerequisites

Procedure

  1. Open the system menu, which is accessible from the upper-right screen corner, and click the Settings icon.

    System menu

  2. In the DetailsAbout section, click Register.
  3. Select Registration Server.
  4. If you are not using the Red Hat server, enter the server address in the URL field.
  5. In the Registration Type menu, select Red Hat Account.
  6. Under Registration Details:

    • Enter your Red Hat account user name in the Login field.
    • Enter your Red Hat account password in the Password field.
    • Enter the name of your organization in the Organization field.
  7. Click Register.

2.4. Registering a system using an activation key on GNOME

Follow the steps in this procedure to register your system with an activation key. You can get the activation key from your organization administrator.

Prerequisites

  • Activation key or keys.

    See the Activation Keys page for creating new activation keys.

Procedure

  1. Open the system menu, which is accessible from the upper-right screen corner, and click the Settings icon.

    System menu

  2. In the DetailsAbout section, click Register.
  3. Select Registration Server.
  4. If you are not using the Red Hat server, enter the server address in the URL field.
  5. In the Registration Type menu, select Activation Keys.
  6. Under Registration Details:

    • Enter your activation keys in the Activation Keys field.

      Separate your keys by a comma (,).

    • Enter the name or ID of your organization in the Organization field.
  7. Click Register.

2.5. Registering RHEL 8 using the installer GUI

Use the following steps to register a Red Hat Enterprise Linux 8 using the RHEL installer GUI.

Prerequisites

  • You have a valid user account on the Red Hat Customer Portal. See the Create a Red Hat Login page.
  • You have a valid Activation Key and Organization id.

Procedure

  1. From the Installation Summary screen, under Software, click Connect to Red Hat.
  2. Authenticate your Red Hat account using the Account or Activation Key option.
  3. Optional: In the Set System Purpose field select the Role, SLA, and Usage attribute that you want to set from the drop-down menu.

    At this point, your Red Hat Enterprise Linux 8 system has been successfully registered.