Bas Roovers
Bas Roovers Author of onpremisys and working in IT for over 10 years. Loves good discussions and new technologies.

Hyper-V Linux Integration Service for Ubuntu 18.04

Hyper-V Linux Integration Service for Ubuntu 18.04

Linux Integration Services. Linux Integration Services (LIS) is a package of drivers and services that enhance the performance of Linux-based virtual machines on Hyper-V. It enables features like:

  • Graceful Shutdown
  • Heartbeat to Hyper-V Manager
  • Firewall Management IP Address Visibility
  • Hot-add memory

According to the Microsoft documentation on Ubuntu virtual machines, they state that Linux Integration Service is built into the OS. However this is not the case. So in order to make use of the benefits of LIS, you need to perform some manual steps.

# Add hv_modules to /etc/initramfs-tools/modules
echo 'hv_vmbus' >> /etc/initramfs-tools/modules
echo 'hv_storvsc' >> /etc/initramfs-tools/modules
echo 'hv_blkvsc' >> /etc/initramfs-tools/modules
echo 'hv_netvsc' >> /etc/initramfs-tools/modules

# Replace Out of Box Kernal with linux-virtual
apt -y install linux-virtual linux-cloud-tools-virtual linux-tools-virtual

# Update Initramfs
update-initramfs -u

# Reboot Server

Sources: Hyper-V Lab

For more information on virtualizing Linux workloads in Windows Server see this Channel 9 video.

comments powered by Disqus