Install Hyper-V Integration Services for Linux

Microsoft supporting Linux

A few days ago Microsoft released the latest version of Hyper-V Integration Services for Linux (version 4).

The reason to install Hyper-V Integration Services for Linux lies in the additional features that are enabled when you do so, among the various reason to install Linux Integration Services:

  • Dynamic Memory Hot Add
  • Networking and Storage performance improvements

It has to be noted that Microsoft works with Linux Kernel developers to make integration services part of the standard kernel deployed with the Linux installation.

You can download Hyper-V Integration Services for Linux v4.0 from here both as tar file or as ISO file that can be attached to the guest VM, in this article I’ll describe the second method.

Once you have attached the Integration Services ISO file mount it in the guest OS:

Install Hyper-V Integration Services Linux

As you can see in the image the ISO file contains necessary files for all supported distributions and two scripts which can be used to install or update Integration Services for Linux.

If your Linux machine is running default Integration Services coming with Hyper-V you can use the install.sh script to perform an update to the latest Integration Services version simply launching the install.sh script like this:

./install.sh

Install Hyper-V Integration Services Linux Script

Once the script has finished installing necessary modules reboot the system, to check Hyper-V Integration Services for Linux have been correctly installed/updated to version 4 issue the command:

modinfo hv_vmbus

Which will display version of installed Integration Services which should be 4.0.7 as in the picture below:

Install Hyper-V Integration Services Linux Version

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s