Chapter 2. Registering the system and managing subscriptions Subscriptions cover products installed on Red Hat Enterprise Linux, including the operating system itself. If you have not registered the system, you have no access to the RHEL repositories. You cannot install software updates such as security, bug fixes. Even if you have a self-support subscription, it grants access to the knowledge base while more resources remain unavailable in the lack of subscriptions. By purchasing subscriptions and using Red Hat Content Delivery Network (CDN), you can track: Registered systems Products installed on registered systems Subscriptions attached to the installed products 2.1. Registering a system by using the command line Subscriptions cover products installed on Red Hat Enterprise Linux, including the operating system itself. If you have not registered the system, you have no access to the RHEL repositories. You cannot install software updates such as security, bug fixes. Even if you have a self-support subscription, it grants access to the knowledge base while more resources remain unavailable in the lack of subscriptions. You need register the system to activate and manage Red Hat Enterprise Linux subscription for your Red Hat account. Note To register the system with Red Hat Insights, you can use the rhc connect utility. For details, see Setting up remote host configuration . Prerequisites You have an active subscription of the Red Hat Enterprise Linux system. Procedure Register and subscribe the system: The command prompts you to enter username and password of Red Hat Customer Portal account. If the registration process fails, you can register the system with a specific pool. For details, proceed with the following steps: Determine the pool ID of a subscription: This command displays all available subscriptions for your Red Hat account. For every subscription, various characteristics are displayed, including the pool ID. Attach the appropriate subscription to your system by replacing <example_pool_id> with the pool ID determined in the step: Verification Verify the system under Inventory Systems in the Hybrid Cloud Console. Additional resources Understanding Red Hat Subscription Management Understanding your workflow for subscribing with Red Hat products Viewing your subscription inventory in the Hybrid Cloud Console 2.2. Registering a system by using the web console Subscriptions cover products installed on Red Hat Enterprise Linux, including the operating system itself. If you have not registered the system, you have no access to the RHEL repositories. You cannot install software updates such as security, bug fixes. Even if you have a self-support subscription, it grants access to the knowledge base while more resources remain unavailable in the lack of subscriptions. You can register a newly installed Red Hat Enterprise Linux with account credentials in the Red Hat web console. Prerequisites You have an active subscription of the RHEL system. You have installed the RHEL 8 web console. You have enabled the cockpit service. Your user account is allowed to log in to the web console. For instructions, see Installing and enabling the web console . Procedure Open https://<ip_address_or_hostname>:9090 in a browser, and log in to the web console. In the Health field on the Overview page, click the Not registered warning, or click Subscriptions in the main menu to move to page with your subscription information. In the Overview field, click Register . In the Register system dialog, select the registration method. Optional: Enter your organization's name or ID. If your account belongs to more than one organization on the Red Hat Customer Portal, you must add the organization name or ID. To get the organization ID, check with your Technical Account Manager at Red Hat. If you do not want to connect your system to Red Hat Insights, clear the Insights checkbox. Click Register . Verification Check details of your subscription in the Hybrid Cloud Console . 2.3. Registering a system in the GNOME desktop environment Subscriptions cover products installed on Red Hat Enterprise Linux, including the operating system itself. If you have not registered the system, you have no access to the RHEL repositories. You can not install software updates such as security, bug fixes. Even if you have a self-support subscription, it grants access to the knowledge base while more resources remain unavailable in the lack of subscriptions. Follow the steps in this procedure to enroll the system with your Red Hat account. Prerequisites You have created a Red Hat account . You are a root user and logged in to the GNOME desktop environment. For details, see Register and subscribe RHEL system to Red Hat Subscription Manager . Procedure Open the system menu , which is accessible from the upper-right screen corner, and click the Settings icon. In the Details About section, click Register . Select Registration Server . If you are not using the Red Hat server, enter the server address in the URL field. In the Registration Type menu, select Red Hat Account . 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. Click Register . 2.4. Registering RHEL 8 using the installer GUI You can register a Red Hat Enterprise Linux 8 by 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 From the Installation Summary screen, under Software , click Connect to Red Hat . Authenticate your Red Hat account using the Account or Activation Key option. 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.

Commands:
subscription-manager register Registering to: subscription.rhsm.redhat.com:443/subscription Username: <example_username> Password: <example_password> The system has been registered with ID: 37to907c-ece6-49ea-9174-20b87ajk9ee7 The registered system name is: client1.example.com
subscription-manager list --available --all
subscription-manager attach --pool= <example_pool_id>