Adventures in Installing Linux Integrations Service 4.1 for Hyper-V


  • Service Provider

    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.
    0_1494346459861_upload-cf0661e0-c7db-4413-b127-9536986b4df2

    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.


  • Service Provider

    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
    
    [[email protected] 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.
    [[email protected] LISISO]# 
    

    Here goes nothing..


  • Service Provider

    Well, that went better.

    [[email protected] ~]# /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....
    0_1494348526388_upload-185b6f90-f6d8-4eee-b522-718fde110272

    Similar to what I see in Fedora 25, I now do see IP info though.
    0_1494348565567_upload-455bfc19-a817-4d62-8beb-a242f86e9260


  • Service Provider

    Directions say to run this command to verify everything is loaded.

    [[email protected] ~]# /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
    

    0_1494348667138_upload-23c04c94-cc72-4052-a524-82548e4a35a6


  • Service Provider

    All versions look to be 4.1

    [[email protected] ~]# /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 
    
    [[email protected] ~]# /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)
    
    [[email protected]peit ~]# /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)
    
    [[email protected] ~]# /sbin/modinfo hv_blkvsc
    modinfo: ERROR: Module hv_blkvsc not found.
    
    [[email protected] ~]# /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 
    

  • Service Provider

    Initial yum update now done and that included a kernel update.
    0_1494349269152_upload-76a25147-8b11-48b1-a6d4-6415f81663a8

    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.
    0_1494349400520_upload-d755416f-4e07-4db8-b320-04d8b5d34eff

    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.


  • Service Provider

    @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



Looks like your connection to MangoLassi was lost, please wait while we try to reconnect.