How to install Red Hat provided Hyper V daemons
Environment
- Red Hat Enterprise Linux 6, or 7
- Hyper V host
- Red Hat does not provide HyperV daemons for Red Hat Enterprise Linux 5 or below
Issue
- Microsoft Linux Integration Services (LIS) is not supported by Red Hat
- Red Hat provides Hyper-V daemons that can serve as a replacement for LIS
- Some services provided by Red Hat, for example kdump, are only guaranteed to run when using the Red Hat provided Hyper V daemons
Resolution
Please verify if you have Microsoft Hyper V daemons currently installed:
# rpm -qa | grep microsoft
kmod-microsoft-hyper-v-4.1.2.2-20161013.x86_64
microsoft-hyper-v-4.1.2.2-20161013.x86_64
microsoft-hyper-v-debuginfo-4.1.2.2-20161013.x86_64
If these are installed, remove them at this time:
# rpm -e kmod-microsoft-hyper-v-<version> microsoft-hyper-v-<version> microsoft-hyper-v-debuginfo-<version>
Be warned that this may take some time
Note: You may wait to reboot the system until the Red Hat provided daemons are installed
Red Hat maintained Hyper-V daemons are provided via the package hyperv-daemons in the rhel-X-server-rpms repository
In RHEL 6:
[root@localhost ~]# yum provides hyperv-daemons
Loaded plugins: product-id, search-disabled-repos, subscription-manager
hyperv-daemons-0-0.15.20130826git.el6.x86_64 : HyperV daemons suite
Repo : rhel-6-server-rpms
In RHEL 7:
# yum provides hyperv-daemons
Loaded plugins: product-id, search-disabled-repos, subscription-manager
hyperv-daemons-0-0.24.20130826git.el7.x86_64 : HyperV daemons suite
Repo : rhel-7-server-rpms
Please ensure these are installed:
# yum install hyperv-daemons
# rpm -qa | grep hyperv
hyperv-daemons-license-0-0.29.20160216git.el7.noarch
hypervvssd-0-0.29.20160216git.el7.x86_64
hyperv-daemons-0-0.29.20160216git.el7.x86_64
hypervfcopyd-0-0.29.20160216git.el7.x86_64
hypervkvpd-0-0.29.20160216git.el7.x86_64
Note: A reboot may be necessary for these changes to take effect
To ensure that the modules are loaded into the kernel:
# lsmod | grep -e hyperv -e hv
hv_utils 24418 1
hv_balloon 21753 0
hv_netvsc 40045 0
hv_storvsc 18032 2
hid_hyperv 13108 0
hyperv_keyboard 12777 0
hyperv_fb 17769 1
hv_vmbus 397185 7 hv_balloon,hyperv_keyboard,hv_netvsc,hid_hyperv,hv_utils,hyperv_fb,hv_storvsc
Note: These steps only address the hyper-v daemons. Certain drivers are included as part of the kernel itself, and can only be updated with a relevant kernel update.
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.