6.2. Subscribing to the Required Entitlements
To be used as a virtualization host, make sure the Red Hat Enterprise Linux host meets the hardware requirements listed in Host Requirements in the Planning and Prerequisites Guide. The host must also be registered and subscribed to a number of entitlements using Subscription Manager. Follow this procedure to register with the Content Delivery Network and attach the
Red Hat Enterprise Linux Server
and Red Hat Virtualization
entitlements to the host.
Procedure 6.1. Subscribing to Required Entitlements using Subscription Manager
- Register your system with the Content Delivery Network, entering your Customer Portal Username and Password when prompted:
# subscription-manager register
- Find the
Red Hat Enterprise Linux Server
andRed Hat Virtualization
subscription pools and note down the pool IDs.# subscription-manager list --available
- Use the pool IDs located in the previous step to attach the entitlements to the system:
# subscription-manager attach --pool=poolid
Note
To find out what subscriptions are currently attached, run:# subscription-manager list --consumed
To list all enabled repositories, run:# yum repolist
- Disable all existing repositories:
# subscription-manager repos --disable=*
- Enable the required repositories:
# subscription-manager repos --enable=rhel-7-server-rpms # subscription-manager repos --enable=rhel-7-server-rhv-4-mgmt-agent-rpms # subscription-manager repos --enable=rhel-7-server-ansible-2-rpms
If you are installing Red Hat Enterprise Linux 7 hosts, little endian on IBM POWER8 hardware, enable the following repositories instead:# subscription-manager repos --enable=rhel-7-server-rhv-4-mgmt-agent-for-power-le-rpms # subscription-manager repos --enable=rhel-7-for-power-le-rpms
- Ensure that all packages currently installed are up to date:
# yum update
Note
Reboot the machine if any kernel related packages have been updated.
Once you have subscribed the host to the required entitlements, proceed to Chapter 7, Adding a Host to the Red Hat Virtualization Manager to attach your host to your Red Hat Virtualization environment.