- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Virtualization Hypervisor
- Red Hat Enterprise Virtualization Manager
- How to configure
virt-whofor RHEV-M environment ?
virt-whoshould be running on a virtual system running on RHEV-H system. On this system confirm that
virt-whopackage is installed using
rpm -q virt-who. If package is not installed then temporary register this virtual system to portal using below commands and install
# subscription-manager register # subscription-manager attach --auto # yum install `virt-who`
After installing package successfully unsubscribe system as its virtual system and without
virt-whoit would be consuming physical subscription,
# subscription-manager unsubscribe --all
subscription-manager identitycommand and note down
# Register guests using RHEV-M VIRTWHO_RHEVM=1 VIRTWHO_DEBUG=1 #Options for RHEV-M mode VIRTWHO_RHEVM_OWNER=<org ID noted in previous step> VIRTWHO_RHEVM_ENV=Library VIRTWHO_RHEVM_SERVER=<your.rhevm.com:port> VIRTWHO_RHEVM_USERNAME=<rhevm-user@rhevm-domain> VIRTWHO_RHEVM_PASSWORD=<rhem-user-password>
- Make changes in
<org ID noted in previous step>,<your.rhevm.com:port>,<rhevm-user@rhevm-domain>,<rhem-user-password>as per environment. In <your.rhevm.com:port>
portnumber is mandatory and by default it is 443. In case of any issues with port 443 then confirm port number from RHEV-M administrator.
- Make changes in
On RHEL 5,6, # service virt-who start On RHEL 7, # systemctl start virt-who.service
Logs for the
virt-whoservice can be seen in
Once this is all done hypervisor profiles should appear at this link alongside registered system(Hypervisor names appears in alphanumeric characters).
Once done, attach
Virtual Datacentersubscription to the host/hypervisor. After this virtual systems should see the unlimited guest pool, confirm it and subscribe virtual system to virtual subscription using below commands,
# subscription-manager list --available # subscription-manager subscribed --auto
- Red Hat Customer Portal
- Learn more
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.