Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
16.4. Installing virt-who Manually
This section will describe how to manually attach the subscription provided by the hypervisor.
Procedure 16.2. How to attach a subscription manually
List subscription information and find the Pool IDFirst you need to list the available subscriptions which are of the virtual type. Run the following command in a terminal as root:
subscription-manager listSubscription Name: Red Hat Enterprise Linux ES (Basic for Virtualization) Provides: Red Hat Beta Oracle Java (for RHEL Server) Red Hat Enterprise Linux Server SKU: ------- Pool ID: XYZ123 Available: 40 Suggested: 1 Service Level: Basic Service Type: L1-L3 Multi-Entitlement: No Ends: 01/02/2017 System Type: Virtual
--avail --match-installed | grep 'Virtual' -B12Note the Pool ID displayed. Copy this ID as you will need it in the next step.
Attach the subscription with the Pool IDUsing the Pool ID you copied in the previous step run the attach command. Replace the Pool ID XYZ123 with the Pool ID you retrieved. Run the following command in a terminal as root:
subscription-manager attachSuccessfully attached a subscription for: Red Hat Enterprise Linux ES (Basic for Virtualization)