Show Table of Contents
7.3. Setting up a RHEV (KVM) or Xen Hypervisor
- Configure the Subscription Manager application to use the Subscription Asset Manager service and CA certificate.
[root@rhel-server ~]# rpm -ivh http://sam.example.com/pub/candlepin-cert-consumer-latest.noarch.rpm
- Then register the system as a hypervisor and attach any required subscriptions.
[root@rhel-server ~]# subscription-manager register
--type=hypervisor--username=admin --password=secret --org=1234 --auto-attachThe organization ID should be available in the Subscription Asset Manager UI or in the Portal entry for the organization. If another system is already registered to that organization, then the ID is available using thesubscription-manager orgscommand. - Install the
virt-whopackages on the hypervisor.[root@server ~]# yum install virt-who
- Open the
virt-whoconfiguration file (/etc/sysconfig/virt-who) and set it to use thelibvirtdservice with the hypervisor.VIRTWHO_LIBVIRT=1
- Start the
virt-whoservice.[root@server ~]# service virt-who start
- Configure every host in the RHEV/Xen environment.
- Create and register virtual machines as normal.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.