Friday, August 18, 2017

.::: How to Check License subscription-manager RHEL(Red Hat Enterprise Linux) :::.

Red Hat Enterprise Linux Server subscription is available at no cost for development purposes. Developers need to register for the Red Hat Developer Program and agree to licensing terms forbidding production use. This free developer subscription was announced on March 31, 2016.

There are also "Academic" editions of the Desktop and Server variants. They are offered to schools and students, are less expensive, and are provided with Red Hat technical support as an optional extra. Web support based on number of customer contacts can be purchased separately.

1. Sample command
# subscription-manager orgs
# subscription-manager refresh
# subscription-manager status
# subscription-manager list
# subscription-manager list --consume

2. command subscription-manager orgs
[root@TeguhLab ~]# subscription-manager orgs
Username: teguh.triharto@microsoft.com
Password:
+-------------------------------------------+
          teguh.triharto@microsoft.com Organizations
+-------------------------------------------+

Name: 11141234
Key:  11141234

[root@TeguhLab ~]#

3. command subscription-manager refresh
[root@TeguhLab ~]# subscription-manager refresh
Network error, unable to connect to server. Please see /var/log/rhsm/rhsm.log for more information.
[root@TeguhLab ~]#

4. command subscription-manager status
[root@TeguhLab ~]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Current

[root@TeguhLab ~]#

5. command subscription-manager list
[root@TeguhLab ~]# subscription-manager list

+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Developer Toolset (for RHEL Server)
Product ID:     022
Version:        2.1
Arch:           x86_64
Status:         Subscribed
Status Details:
Starts:         03/22/2017
Ends:           03/22/2018

Product Name:   Red Hat Enterprise Linux Server
Product ID:     22
Version:        6.8
Arch:           x86_64
Status:         Subscribed
Status Details:
Starts:         03/22/2017
Ends:           03/22/2018

[root@TeguhLab ~]#

6. command subscription-manager list --consume
[root@TeguhLab ~]# subscription-manager list --consume
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes)
Provides:            Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update
                     Support
                     Oracle Java (for RHEL Server)
                     Red Hat Enterprise Linux Server - Extended Update Support
                     Red Hat Enterprise Linux Server
                     Red Hat Enterprise Linux Atomic Host
                     Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
                     Oracle Java (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
                     Red Hat Software Collections (for RHEL Server)
                     dotNET on RHEL Beta (for RHEL Server)
                     Red Hat Beta
                     dotNET on RHEL (for RHEL Server)
                     Red Hat Enterprise Linux Atomic Host Beta
                     Red Hat Developer Toolset (for RHEL Server)
                     Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
                     Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
                     Red Hat Software Collections Beta (for RHEL Server)
                     Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
                     Red Hat Container Images
                     Red Hat Container Images Beta
                     Red Hat S-JIS Support (for RHEL Server) - Extended Update Support
SKU:                 RH00003
Contract:            11341234
Account:             1221234
Serial:              7633643226412345678
Pool ID:             8a85f9815ad1b729015ad1e012345678
Provides Management: No
Active:              True
Quantity Used:       2
Service Level:       Premium
Service Type:        L1-L3
Status Details:      Subscription is current
Subscription Type:  
Starts:              03/22/2017
Ends:                03/22/2018
System Type:         Physical

[root@TeguhLab ~]#

7. command check rhel version
[root@TeguhLab ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.8 (Santiago)
[root@TeguhLab ~]#

No comments:

Post a Comment

Popular Posts