9.3.2. Subscribing to Required Channels Using Subscription Manager
Previous Step in Preparing a Red Hat Enterprise Linux Host
Summary
To be used as a virtualization host, a Red Hat Enterprise Linux host must be registered and subscribed to a number of entitlements using either Subscription Manager or RHN Classic. You must follow the steps in this procedure to register and subscribe using Subscription Manager. Completion of this procedure will mean that you have:
- Registered the virtualization host to Red Hat Network using Subscription Manager.
- Attached the
Red Hat Enterprise Linux Serverentitlement to the virtualization host. - Attached the
Red Hat Enterprise Virtualizationentitlement to the virtualization host.
Procedure 9.2. Subscribing to Required Channels using Subscription Manager
Register
Run thesubscription-managercommand with theregisterparameter to register the system with Red Hat Network. To complete registration successfully, you will need to supply your Red Hat Network Username and Password when prompted.# subscription-manager register
Identify Available Entitlement Pools
To attach the correct entitlements to the system, you must first locate the identifiers for the required entitlement pools. Use thelistaction of thesubscription-managerto find these.To identify available subscription pools forRed Hat Enterprise Linux Server, use the command:# subscription-manager list --available | grep -A8 "Red Hat Enterprise Linux Server"
To identify available subscription pools forRed Hat Enterprise Virtualization, use the command:# subscription-manager list --available | grep -A8 "Red Hat Enterprise Virtualization"
Attach Entitlements to the System
Using the pool identifiers you located in the previous step, attach theRed Hat Enterprise Linux ServerandRed Hat Enterprise Virtualizationentitlements to the system. Use theattachparameter of thesubscription-managercommand, replacing[POOLID]with each of the pool identifiers:# subscription-manager attach --pool=
[POOLID]Enable the Red Hat Enterprise Virtualization Management Agents Repository
Run the following command to enable the Red Hat Enterprise Virtualization Management Agents (RPMs) repository:# subscription-manager repos --enable=rhel-6-server-rhev-mgmt-agent-rpms
Result
You have registered the virtualization host to Red Hat Network and attached the required entitlements using Subscription Manager.