Subscription Management for RHEL OS

To register your system to RedHat Customer Portal Subscription 
management. Use below commands and use your RedHat login
credential:
# subscription-manager  register                                #it will ask Username/Password.
To get List of available subscriptions:
# subscription-manager list --available –all
To active a subscription, you need to subscribe it through Pool 
ID (which can be get from above command):
# subscription-manager attach --pool=Pool ID
You can also set auto attach for it:
# subscription-manager attach --auto
After subscribing it, you can check enabled subscription on 
server:
# subscription-manager list
You can check consumed subscription: 
# subscription-manager list --consumed
Listing of available service levels and you can set desired 
service level also:
# subscription-manager service-level --list
To show current service level assigned:
# subscription-manager service-level --show
To set a service level:
# subscription-manager service-level --set=Dev-Professional
To check installed product:
# subscription-manager list --installed
List of provided yum repositories:
# subscription-manager repos --list
To enable a repository:
# subscription-manager repos --enable=repo-name
You can also remove the all subscription or specific: 
# subscription-manager remove --all
 
# subscription-manager unsubscribe --serial=Serial number
Note: If you attached wrong poll (happens, if, for example, 
you use HPC licenses and assigned such a license to regular
server) you can  remove it using the command:
# subscription-manager remove --pool=8a85........0f

One thought on “Subscription Management for RHEL OS

  • Leave a Reply

    Your email address will not be published. Required fields are marked *