Show Table of Contents
6.5. Using virt-who with Hyper-V
- To make the
virt-whoconnection to Hyper-V work, enable Windows Remote Management and either HTTP or HTTPS listener must be running. On the Hyper-V server:# winrm quickconfig
- The firewall must allow remote administration. On the Hyper-V server:
# netsh advfirewall firewall set rule group="Remote Administration" new enable=yes
- If you are using HTTP, enable the unencrypted connection. On the Hyper-V server:
# winrm set winrm/config/service @{AllowUnencrypted="true"} - Only Basic and NTLM authentication methods are supported. To verify that either Basic or Negotiate is enabled (True):
# winrm get winrm/config/service/auth
- On the Red Hat server, log in as root. Install the virt-who package:
# yum install virt-who
- Edit the
/etc/sysconfig/virt-whofile and set the parameters as follows:VIRTWHO_BACKGROUND=1 VIRTWHO_DEBUG=1 VIRTWHO_ONE_SHOT=0 VIRTWHO_INTERVAL=0 VIRTWHO_SATELLITE6=1 VIRTWHO_HYPERV=1 VIRTWHO_HYPERV_OWNER=Satellite_Organization VIRTWHO_HYPERV_ENV=Library VIRTWHO_HYPERV_SERVER=IP or FQDN VIRTWHO_HYPERV_USERNAME=Your_User_Name (you must use your Hyper-V administrator account) VIRTWHO_HYPERV_PASSWORD=Your_Password
With the VIRTWHO_SATELLITE6 parameter enabled, virt-who sends reports to Red Hat Satellite. - Start and enable the
virt-whoservice:- On Red Hat Enterprise Linux 6:
# service virt-who start # chkconfig virt-who on
- On Red Hat Enterprise Linux 7:
# systemctl start virt-who # systemctl enable virt-who
- Optional: To configure the
virt-whoservice to use a Windows domain account, edit your username with a double backslash in thevirt-whoconfiguration file.For example:VIRTWHO_HYPERV_USERNAME="MYDOMAIN\\user"

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.