8.4. Subscribing to the Required Entitlements

To be used as a hypervisor host, a Red Hat Enterprise Linux host must 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 Enterprise Virtualization entitlements to the host.

Procedure 8.2. Subscribing to Required Entitlements using Subscription Manager

  1. Register your system with the Content Delivery Network, entering your Customer Portal Username and Password when prompted:
    # subscription-manager register
  2. Find the required subscription pools:
    # subscription-manager list --available | grep -A8 "Red Hat Enterprise Linux" 
    # subscription-manager list --available | grep -A8 "Red Hat Enterprise Virtualization"
  3. Use the pool identifiers located in the previous step to attach the Red Hat Enterprise Linux Server and Red Hat Enterprise Virtualization entitlements to the system:
    # subscription-manager attach --pool=poolid
  4. Disable all existing repositories:
    # subscription-manager repos --disable=*
  5. Enable the required repositories:
    • Red Hat Enterprise Linux 6:
      # subscription-manager repos --enable=rhel-6-server-rpms
      # subscription-manager repos --enable=rhel-6-server-optional-rpms
      # subscription-manager repos --enable=rhel-6-server-rhev-mgmt-agent-rpms
    • Red Hat Enterprise Linux 7:
      # subscription-manager repos --enable=rhel-7-server-rpms
      # subscription-manager repos --enable=rhel-7-server-rhev-mgmt-agent-rpms
  6. Ensure that all packages currently installed are up to date:
    # yum update