Chapter 15. Enabling the Red Hat Virtualization Manager Repositories

Register the system with Red Hat Subscription Manager, attach the Red Hat Virtualization Manager subscription, and enable Manager repositories.


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

    # subscription-manager register

    If you are using an IPv6 network, use an IPv6 transition mechanism to access the Content Delivery Network and subscription manager.

  2. Find the Red Hat Virtualization Manager subscription pool and record the pool ID:

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

    # subscription-manager attach --pool=pool_id

    To view currently attached subscriptions:

    # subscription-manager list --consumed

    To list all enabled repositories:

    # yum repolist
  4. Configure the repositories:

    # subscription-manager repos \
        --disable='*' \
        --enable=rhel-8-for-x86_64-baseos-rpms \
        --enable=rhel-8-for-x86_64-appstream-rpms \
        --enable=rhv-4.4-manager-for-rhel-8-x86_64-rpms \
        --enable=fast-datapath-for-rhel-8-x86_64-rpms \
        --enable=ansible-2.9-for-rhel-8-x86_64-rpms \
  5. Enable the pki-deps module.

    # yum module -y enable pki-deps
  6. Enable version 12 of the postgresql module.

    # yum module -y enable postgresql:12
  7. Reset the virt module:

    # yum module reset virt

    If this module is already enabled in the Advanced Virtualization stream, this step is not necessary, but it has no negative impact.

    You can see the value of the stream by entering:

    # yum module list virt
  8. Enable the virt module in the Advanced Virtualization stream with the yum module enable virt:8.y command, where y is the version of the stream. For example, if the value for the stream is 8.2, enter the following command:

    # yum module enable virt:8.2
  9. Synchronize installed packages to update them to the latest available versions.

    # yum distro-sync

Additional resources

For information on modules and module streams, see the following sections in Installing, managing, and removing user-space components