Adventures in Installing Linux Integrations Service 4.1 for Hyper-V
-
So after testing out the Snipe setup last night I decided to try and up date the Linux Integration Services (LIS) on my test box.
Like many things on CentOS/RHEL the LIS version is quite old and I have been having a problem that I cannot snapshot a running VM. I am assuming because of the LIS not working right.
After poking around enough, I finally got the right download link from MS and made use of the firefox feature to right click on a download and get the download URL.
https://download.microsoft.com/download/7/6/B/76BE7A6E-E39F-436C-9353-F4B44EF966E9/lis-rpms-4.1.3-2.tar.gz
I then used
wget
to download it to the server directly, extracted, and installed.After the reboot, the system never came online.
All I could see in the Hyper-V manager windows was the progress bar on the bottom of the screen.
So I blew it up and just started a new CentOS7 VM.
-
So a new, clean server, not even a yum update yet.
yum -y install wget wget https://download.microsoft.com/download/7/6/B/76BE7A6E-E39F-436C-9353-F4B44EF966E9/lis-rpms-4.1.3-2.tar.gz tar xvzf lis-rpms-4.1.3-2.tar.gz cd LISISO ./install.sh
[root@snipeit LISISO]# ./install.sh Removing Hyper-V daemons Invoking release specific install file in directory CentOS73 Installing the Linux Integration Services for Microsoft Hyper-V... Preparing... ################################# [100%] Updating / installing... 1:kmod-microsoft-hyper-v-4.1.3.2-20################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:microsoft-hyper-v-debuginfo-4.1.3################################# [ 50%] 2:microsoft-hyper-v-4.1.3.2-2017030################################# [100%] Saving old initramfs Installing new initramfs Starting KVP Daemon.... Starting VSS Daemon.... Starting FCOPY Daemon.... Linux Integration Services for Hyper-V has been installed. Please reboot your system. [root@snipeit LISISO]#
Here goes nothing..
-
Well, that went better.
[root@snipeit ~]# /sbin/modinfo hv_vmbus filename: /lib/modules/3.10.0-514.el7.x86_64/extra/microsoft-hyper-v/hv_vmbus.ko version: 4.1.3-2 license: GPL rhelversion: 7.3 srcversion: DA1369C1A64936B3DDD2A5E alias: acpi*:VMBus:* alias: acpi*:VMBUS:* depends: vermagic: 3.10.0-514.el7.x86_64 SMP mod_unload modversions
But Hyper-V Manager still says an update required....
Similar to what I see in Fedora 25, I now do see IP info though.
-
Directions say to run this command to verify everything is loaded.
[root@snipeit ~]# /sbin/lsmod | egrep -i "^hv|hyperv" hv_netvsc 44482 0 hv_balloon 22073 0 hv_storvsc 22535 3 hv_utils 25302 2 hyperv_fb 17769 1 hid_hyperv 13108 0 hyperv_keyboard 12777 0 hv_vmbus 398625 7 hv_balloon,hyperv_keyboard,hv_netvsc,hid_hyperv,hv_utils,hyperv_fb,hv_storvsc
-
All versions look to be 4.1
[root@snipeit ~]# /sbin/modinfo hv_vmbus filename: /lib/modules/3.10.0-514.el7.x86_64/extra/microsoft-hyper-v/hv_vmbus.ko version: 4.1.3-2 license: GPL rhelversion: 7.3 srcversion: DA1369C1A64936B3DDD2A5E alias: acpi*:VMBus:* alias: acpi*:VMBUS:* depends: vermagic: 3.10.0-514.el7.x86_64 SMP mod_unload modversions
[root@snipeit ~]# /sbin/modinfo hv_netvsc filename: /lib/modules/3.10.0-514.el7.x86_64/extra/microsoft-hyper-v/hv_netvsc.ko description: Microsoft Hyper-V network driver version: 4.1.3-2 license: GPL rhelversion: 7.3 srcversion: A938251D5BE7E279CEE634C alias: vmbus:635161f83edfc546913ff2d2f965ed0e depends: hv_vmbus vermagic: 3.10.0-514.el7.x86_64 SMP mod_unload modversions parm: ring_size:Ring buffer size (# of pages) (int) parm: debug:Debug level (0=none,...,16=all) (int)
[root@snipeit ~]# /sbin/modinfo hv_storvsc filename: /lib/modules/3.10.0-514.el7.x86_64/extra/microsoft-hyper-v/hv_storvsc.ko alias: vmbus:4acc9b2f6900f34ab76b6fd0be528cda alias: vmbus:32264132cb86a2449b5c50d1417354f5 alias: vmbus:d96361baa104294db60572e2ffb1dc7f version: 4.1.3-2 description: Microsoft Hyper-V virtual storage driver license: GPL rhelversion: 7.3 srcversion: A91F90D78072C8C1FB28B0F alias: vmbus:4acc9b2f6900f34ab76b6fd0be528cda alias: vmbus:32264132cb86a2449b5c50d1417354f5 alias: vmbus:d96361baa104294db60572e2ffb1dc7f depends: hv_vmbus,scsi_transport_fc vermagic: 3.10.0-514.el7.x86_64 SMP mod_unload modversions parm: logging_level:Logging level, 0 - None, 1 - Error (default), 2 - Warning. (int) parm: storvsc_ringbuffer_size:Ring buffer size (bytes) (int) parm: storvsc_vcpus_per_sub_channel:Ratio of VCPUs to subchannels (int)
[root@snipeit ~]# /sbin/modinfo hv_blkvsc modinfo: ERROR: Module hv_blkvsc not found.
[root@snipeit ~]# /sbin/modinfo hv_utils filename: /lib/modules/3.10.0-514.el7.x86_64/extra/microsoft-hyper-v/hv_utils.ko version: 4.1.3-2 license: GPL description: Hyper-V Utilities rhelversion: 7.3 srcversion: DC97D7325611D0470A24D03 alias: vmbus:e34bd134e4dec8419ae76b174977c192 alias: vmbus:292efa3523ea364296ae3a6ebacba440 alias: vmbus:e7f4a0a9455a964db8278a841e8c03e6 alias: vmbus:394f16571591784eab55382f3bd5422d alias: vmbus:30e62795aed07b49adcee80ab0175caf alias: vmbus:31600b0e13523449818b38d90ced39db depends: hv_vmbus vermagic: 3.10.0-514.el7.x86_64 SMP mod_unload modversions
-
Initial yum update now done and that included a kernel update.
The MS document talks a bit about the running kernel version and cleaning up older ones. Possibly this broke my prior test.
Time to reboot and find out.
All good.
No idea WTF happened last night. Well other than it being 1am
-
@JaredBusch So after the update did it show as updated? Usually I need to do that from time to time with Hyperv or Xenserver.
-
@dbeato said in Adventures in Installing Linux Integrations Service 4.1 for Hyper-V:
@JaredBusch So after the update did it show as updated? Usually I need to do that from time to time with Hyperv or Xenserver.
Hyper-V still shows it as above. Update required and Degraded. BUt it is in and running current.
-
@JaredBusch said in Adventures in Installing Linux Integrations Service 4.1 for Hyper-V:
@dbeato said in Adventures in Installing Linux Integrations Service 4.1 for Hyper-V:
@JaredBusch So after the update did it show as updated? Usually I need to do that from time to time with Hyperv or Xenserver.
Hyper-V still shows it as above. Update required and Degraded. BUt it is in and running current.
Understdood
-
@JaredBusch dumb question: did you check all services are up and running?
systemctl status | grep hv │ │ └─10000 grep --color=auto hv ├─hv-kvp-daemon.service │ └─563 /usr/lib/linux-tools/4.8.0-49-generic/hv_kvp_daemon -n ├─hv-vss-daemon.service │ └─577 /usr/lib/linux-tools/4.8.0-49-generic/hv_vss_daemon -n
on my ubuntu machines the fcopy is always down. don't know why... but I do not need it.
May be somthing is not running and hyperv badly detects the event