Chapter 17. Registering your RHEL system
After installing RHEL, register your system to receive updates and to access Red Hat services. You can register your system by using various methods:
- RHC client
- Graphical user interface
- Subscription manager
- Registration assistant
The RHC client provides the following flexible features to register your RHEL system and manage the extent of data collection:
- Access to Red Hat content: Provides access to Red Hat CDN repositories.
- Analytics for Red Hat Insights: Enables data collection for Insights.
- Remote management: Establishes an additional MQTT network connection to Red Hat services for remote execution of certain actions from console.redhat.com.
By default, the RHC client enables all available features. However, you can override this behavior by enabling or disabling specific features based on your connectivity requirements. Review the available options and select the appropriate features based on your internal policies on data and network connectivity.
Use the RHC client only for systems directly connecting to Hybrid Cloud Console, the RHC client currently does not support Satellite. For more information on registering a system to a Red Hat Satellite or Capsule, see Red Hat Satellite Documentation.
17.1. Registering a system by using the RHC client
Register your RHEL system by using the RHC client to connect to Red Hat services with the default feature levels. This enables all available features: access to Red Hat content, analytics for Red Hat Insights, and remote management.
Prerequisites
- You have an activation key and an organization ID to register your system.
Procedure
- Open the terminal window.
Do one of the following:
To register the system with the default feature level and ensure system executes the Remediation and Tasks from Insights:
rhc connect --activation-key=<activation_key> --organization=<organization_ID> dnf install -y rhc-worker-playbook
# rhc connect --activation-key=<activation_key> --organization=<organization_ID> # dnf install -y rhc-worker-playbook
Copy to Clipboard Copied! To disable any of the features while registering your system:
rhc connect --activation-key=<activation_key> --organization=<organization_ID> --disable-feature <feature>
# rhc connect --activation-key=<activation_key> --organization=<organization_ID> --disable-feature <feature>
Copy to Clipboard Copied! Where feature can be replaced with:
- content - Provides access to Red Hat CDN repositories.
- analytics - Enables data collection for Insights.
remote-management - Establishes an additional MQTT network connection to Red Hat services for remote execution of certain actions from console.redhat.com.
For example, if you want to register your system with a remote management feature disabled so that your system cannot be managed remotely but the system has access to RHEL content and collects data for Insights analytics, enter:
rhc connect --activation-key=<activation_key> --organization=<organization_ID> --disable-feature remote-management
# rhc connect --activation-key=<activation_key> --organization=<organization_ID> --disable-feature remote-management
Copy to Clipboard Copied!
Verification
Confirm the active features when registering with default options:
rhc status
# rhc status Connection status: ✓ Connected to Red Hat Subscription Management ✓ Connected to Red Hat Insights ✓ The yggdrasil service is active Manage your connected systems: https://red.ht/connector
Copy to Clipboard Copied! Confirm the active features with remote-management disabled:
rhc status
# rhc status Connection status: ✓ Connected to Red Hat Subscription Management ✓ Connected to Red Hat Insights ● The yggdrasil service is inactive
Copy to Clipboard Copied!
17.2. Registering your system using the subscription manager
You can register your Red Hat Enterprise Linux subscription by using the command line.
For an improved and simplified experience registering your hosts to Red Hat, use the RHC client. The RHC client registers your system to Red Hat making your system ready for Insights data collection and enabling direct issue remediation from Insights for Red Hat Enterprise Linux. For more information, see information, see RHC registration.
Prerequisites
- You have an active, non-evaluation Red Hat Enterprise Linux subscription.
- Your Red Hat subscription status is verified.
- You have successfully installed Red Hat Enterprise Linux and logged into the system as root.
Procedure
- Open a terminal window as a root user.
Register your Red Hat Enterprise Linux system by using the activation key:
subscription-manager register --activationkey=<activation_key_name> --org=<organization_ID>
# subscription-manager register --activationkey=<activation_key_name> --org=<organization_ID>
Copy to Clipboard Copied! When the system is successfully registered, an output similar to the following is displayed:
The system has been registered with ID: 62edc0f8-855b-4184-b1b8-72a9dc793b96
The system has been registered with ID: 62edc0f8-855b-4184-b1b8-72a9dc793b96
Copy to Clipboard Copied!
17.3. Registering RHEL 10 using the installer GUI
You can register a Red Hat Enterprise Linux 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 system has been successfully registered.
17.4. Registration Assistant
Registration Assistant is designed to help you choose the most suitable registration option for your Red Hat Enterprise Linux environment.