3.3.4. Attaching Red Hat subscriptions
To register and attach your Red Hat subscription to a RHEL instance, you can use the subscription-manager command.
Prerequisites
- You have an active Red Hat account.
Procedure
Register your system:
# subscription-manager registerAttach your subscriptions:
- You can use an activation key to attach subscriptions. For details, see creating Red Hat Customer Portal Activation Keys.
- Otherwise, you can manually attach a subscription by using the subscription Pool ID attaching a host-based subscription by using Pool ID to hypervisors.
Optional: To collect various system metrics about the instance in the Red Hat Hybrid Cloud Console, you can register the instance with Red Hat Lightspeed.
# insights-client register --display-name <display_name_value>
Verification
Verify that the system is registered and attached to the correct subscriptions:
# subscription-manager list --consumed