Ce contenu n'est pas disponible dans la langue sélectionnée.
7.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 Section 2.2, “Hypervisor Requirements”. 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 7.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
# subscription-manager register
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Find the
Red Hat Enterprise Linux Server
andRed Hat Virtualization
subscription pools and note down the pool IDs.subscription-manager list --available
# subscription-manager list --available
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Use the pool IDs located in the previous step to attach the entitlements to the system:
subscription-manager attach --pool=poolid
# subscription-manager attach --pool=poolid
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note
To find out what subscriptions are currently attached, run:subscription-manager list --consumed
# subscription-manager list --consumed
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To list all enabled repositories, run:yum repolist
# yum repolist
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Disable all existing repositories:
subscription-manager repos --disable=*
# subscription-manager repos --disable=*
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 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-rpms # subscription-manager repos --enable=rhel-7-server-rhv-4-mgmt-agent-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
# 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
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Ensure that all packages currently installed are up to date:
yum update
# yum update
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note
Reboot the machine if any kernel related packages have been updated.
Once you have subscribed the host to the required entitlements, proceed to the next section to attach your host to your Red Hat Virtualization environment.
Warning
Configuring networking through NetworkManager (including
nmcli
and nmtui
) is currently not supported. If additional network configuration is required before adding a host to the Manager, you must manually write ifcfg
files. See the Red Hat Enterprise Linux Networking Guide for more information.