How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager - Red Hat Customer Portal
0 ISSUE
How to register a new Red Hat Enterprise Linuxsystem to the Customer Portal using
Red Hat Subscription-Manager
https://access.redhat.com/solutions/253273
1/9
2/20/2015
How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager - Red Hat Customer Portal
ENVIRONMENT
Red Hat Enterprise Linux(RHEL) 5.7 and newer
Red Hat Enterprise Linux(RHEL) 6.1 and newer
Red Hat Enterprise Linux(RHEL) 7.0 and newer
Red Hat Subscription Management
Red Hat Subscription-Manager
Red Hat Customer Portal
, RESOLUTION
Red Hat Subscription Management allows users to track their subscription quantity and consumption.
NOTE: With Red Hat Subscription-Manager, registration and utilization of a subscription
is actually a two-part process.
First register a system, then apply a subscription.
If the command is unable to attach a subscription, it will indicate that in the output. Then, you can
attach the subscription from the Customer Portal, instead (see the next section).
2/9
2/20/2015
How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager - Red Hat Customer Portal
# subscription-manager refresh
Note: With subscription-manager-1.1.9-1 or later, attach option has been replacing the subscribe
option. For more information, please refer to following article: RHBA-2013-0350
(https://rhn.redhat.com/errata/RHBA-2013-0350.html)
If you are not sure of the pool ID needed, these and details such as expiration dates can be viewed
using the following command:
# subscription-manager list --available --all
Systems can also be registered with Customer Portal Subscription Management during the
rstboot process or as part of the kickstart setup (both described in the Installation Guide
(http://docs.redhat.com/docs/enUS/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/sn-rstboot-updates.html))
Unregistering a system
# subscription-manager remove --all
# subscription-manager unregister
# subscription-manager clean
https://access.redhat.com/solutions/253273
3/9
2/20/2015
How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager - Red Hat Customer Portal
For additional instructions on registering, unregistering, and reregistering a system using Red
Hat Subscription Management, for more information please refer to Red Hat Enterprise Linux
Deployment Guide (http://docs.redhat.com/docs/enUS/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/registering-machine-ui.html) and
Red Hat Subscription Management documentation
(https://access.redhat.com/site/documentation/enUS/Red_Hat_Subscription_Management/).
Product(s)
Red Hat Enterprise Linux (https://access.redhat.com/search/browse/solutions#?
&portal_product=Red+Hat+Enterprise+Linux)
Red Hat Customer Portal (https://access.redhat.com/search/browse/solutions#?
&portal_product=Red+Hat+Customer+Portal)
Component
rhn_register (https://access.redhat.com/search/browse/solutions#?&portal_component=rhn_register)
subscription-manager (https://access.redhat.com/search/browse/solutions#?&portal_component=subscription-manager)
Category
Tags
Congure (https://access.redhat.com/search/browse/solutions#?&portal_category=Congure)
customer_portal (https://access.redhat.com/search/browse/solutions#?&portal_tag=customer_portal)
entitlements (https://access.redhat.com/search/browse/solutions#?&portal_tag=entitlements)
rhel (https://access.redhat.com/search/browse/solutions#?&portal_tag=rhel)
rhel_7 (https://access.redhat.com/search/browse/solutions#?&portal_tag=rhel_7)
rhn (https://access.redhat.com/search/browse/solutions#?&portal_tag=rhn)
https://access.redhat.com/solutions/253273
4/9
2/20/2015
How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager - Red Hat Customer Portal
rhsm (https://access.redhat.com/search/browse/solutions#?&portal_tag=rhsm)
subscription (https://access.redhat.com/search/browse/solutions#?&portal_tag=subscription)
subscription_management (https://access.redhat.com/search/browse/solutions#?
&portal_tag=subscription_management)
COMMENTS
John Call
Active Contributor
107 points
Andy Feather
Hi,
I tried the subscription-manager but it is coming up with command not
found.
Newbie
15 points
Steve Morris
/usr/sbin/subscription-manager
Newbie
5 points
April 30 2014 at 6:17 AM
(https://access.redhat.com/solutions/253273#comment-748083)
Newbie
5 points
I've registered the system but it can't be subscribed and I got this
message
"This system is registered to Red Hat Subscription Management, but is
not receiving updates. You can use subscription-manager to assign
subscriptions."
Could you please help me with this issue?
May 28 2014 at 9:15 AM (https://access.redhat.com/solutions/253273#comment-762813)
https://access.redhat.com/solutions/253273
5/9
2/20/2015
How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager - Red Hat Customer Portal
Nuru Yakub
Othman
Newbie
5 points
July 31 2014 at 9:09 AM
(https://access.redhat.com/solutions/253273#comment-797453)
Lawrence (Gus)
Landis
Newbie
5 points
Fernando De Oro
Newbie
10 points
https://access.redhat.com/solutions/253273
6/9
2/20/2015
How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager - Red Hat Customer Portal
QINGFENG HOU
I have registered my system, but after system update, I can not start the
system. So I restored the system. However, I can not register my system
Newbie
10 points
masanari
fujikawa
Newbie
10 points
Jan Pospisil
Red Hat
Newbie
10 points
February 6 2015 at 1:59 PM (https://access.redhat.com/solutions/253273#comment881693)
https://access.redhat.com/solutions/253273
7/9
2/20/2015
How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager - Red Hat Customer Portal
Fate Bennett
Community Member
30 points
Fate Bennett
Community Member
30 points
Under Unsubscribing a system the remove option does not exist in RHEL
6.3. Correct command is:
subscription-manager unsubscribe --all
February 10 2015 at 8:52 PM (https://access.redhat.com/solutions/253273#comment883213)
Sivakumar
Subbarayan
Newbie
Sir,
i have registered with RHEL 6.3 version. But the systemhas gone bad. i
5 points
Fate Bennett
Community Member
30 points
Hello Sivakumar,
Can you still access the RHEL 6.3 system that went bad, or is it
completely inaccessible?
If you can't access the system, then try deleting the system from the Red
Hat Portal -> Subscriptions -> Under Red Hat Subscription Management
-> Under Subscriber Inventory -> Click on "Systems" to access the
inventory -> Click the check box next to the system, and select "Delete
Selected".
If you can access the broken system, then do the following:
$> subscription-manager unsubscribe --all
$> subscription-manager unregister
$> subscription-manager clean
Verify it is no longer consuming subscriptions:
https://access.redhat.com/solutions/253273
8/9
2/20/2015
How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager - Red Hat Customer Portal
https://access.redhat.com/solutions/253273
9/9