Red Hat Subscription Manager
Overview
Concepts
Subscription Name
Subscription "Provides"
Pool
The Pool ID is reported by subscription-manager list command.
Available
Quantity
Commands
list
List subscription and product information for this system.
By default, the list shows all products that are already installed. This is equivalent with using "--installed":
subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 7.3 Arch: x86_64 Status: Subscribed Status Details: Starts: 12/26/2016 Ends: 12/26/2017
--available
subscription-manager list --available [--all]
status
Show status of this system's subscriptions.
# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Current
identity
Display the identity of this system, as registered with the subscription management infrastructure.
# subscription-manager identity system identity: e8cae509-6c99-4c8b-9d7e-0e6578e79409 name: master1.openshift35.local org name: ... org ID: ...
register
Register this system to the Customer Portal or another subscription management service.
refresh
Pull the latest subscription data from the server.
subscription-manager refresh
attach
Attach a specified subscription to the registered system. The attachment can be done automatically, by attaching all compatible subscriptions, or by specifying a pool and the quantity.
subscription-manager attach --auto
subscription-manager attach --pool
Register a Linux System
The first step consists in the registration of the system with the credentials linked to subscription.
# subscription-manager register Username: <your-subscription-user> Password: The system has been registered with ID: 8ccbea2c-8b26-4049-b2f5-ed5487ea9cb1
Determine the subscriptions available to this system with subscription list --available --all, and note the associated Pool ID.
subscription-manager refresh
subscription-manager attach --auto