Chapter 2. Red Hat Virtualization Manager

2.1. Enabling the Red Hat Virtualization Manager Repositories

To install the Red Hat Virtualization packages, you must register the system with Red Hat Subscription Manager, attach the Red Hat Enterprise Linux Server and Red Hat Virtualization subscriptions, and enable the Manager repositories.

Prerequisites

Procedure

  1. Register your system with the Content Delivery Network, entering your Customer Portal user name and password when prompted:

    # subscription-manager register
  2. Find the Red Hat Enterprise Linux Server and Red Hat Virtualization subscription pools and note down the pool IDs:

    # subscription-manager list --available
  3. Use the pool IDs to attach the subscriptions to the system:

    # subscription-manager attach --pool=pool_id
    Note

    To find out which subscriptions are currently attached, run:

    # subscription-manager list --consumed

    To list all enabled repositories, run:

    # yum repolist
  4. Disable all existing repositories:

    # subscription-manager repos --disable=*
  5. Enable the required repositories:

    # subscription-manager repos --enable=rhel-7-server-rpms
    # subscription-manager repos --enable=rhel-7-server-supplementary-rpms
    # subscription-manager repos --enable=rhel-7-server-rhv-4.2-manager-rpms
    # subscription-manager repos --enable=rhel-7-server-rhv-4-manager-tools-rpms
    # subscription-manager repos --enable=rhel-7-server-ansible-2-rpms
    # subscription-manager repos --enable=jb-eap-7-for-rhel-7-server-rpms