zagandesign - Fotolia
Linux Integration Services version 4.1, which was introduced last year, provides a robust end-user experience and can improve communication for networking applications installed in the VM OS.
This version also supports online VM backups in Hyper-V. Before moving to the latest version, however, enterprise IT must understand installation requirements to activate Integration Services for Linux VMs running on Hyper-V hosts.
Linux Integration Services version 4.1 expands support for new flavors of Linux distributions, such as Red Hat Enterprise, CentOS, Red Hat Compatible Kernels and Oracle Linux. It also supports new features, such as Hyper-V Sockets, hot-add memory, SCSI WNN and lsvmbus. Linux Integration Services 4.1 provides the scripts needed to easily uninstall Integration Services components from Linux VMs.
Some Linux distributions ship with Integration Services installed and ready to activate. However, determine which version is installed on Linux OSes before you activate the service, as you might need to upgrade the preinstalled version to the current version to access new features.
Integration Services 4.1 supports the following Linux OSes: Red Hat Enterprise Linux 5.2-5.11 32-bit, 32-bit PAE and 64-bit, Red Hat Enterprise Linux 6.0-6.7 32-bit and 64-bit, Red Hat Enterprise Linux 7.0-7.2 64-bit, CentOS 5.2-5.11 32-bit, 32-bit PAE and 64-bit, CentOS 6.0-6.7 32-bit and 64-bit, CentOS 7.0-7.2 64-bit, Oracle Linux 6.4-6.7 with Red Hat Compatible Kernel 32-bit and 64-bit and Oracle Linux 7.0-7.2 with Red Hat Compatible Kernel 64-bit distributions.
Installing Linux Integration Services 4.1 on Linux VMs
To install Linux Integration Services 4.1, download it from the Microsoft website. The Linux Integration Services 4.1 package ships with two files: lis-rpms-4.1.3-2.tar.gz and Linux IC-4.1.3-2.ISO. Once you've downloaded the appropriate package, transfer it to Linux VMs. If you want to install Linux Integration Services 4.1 using .TAR.GZ file, first extract files from TAR.GZ by using the tar xvzf lis-rpms-4.1.3-2.tar.gz command under the Linux console.
Next, issue the cd LISISO command to change the directory to Linux Integration Services International Organization for Standardization (ISO) and then run the installation script available in the Linux Integration Services ISO directory. To do this, use the ./install.sh script. Once Linux Integration Services 4.1 is installed, reboot the VM with the reboot command.
Most Hyper-V admins prefer to use the ISO method. To install the service using this method, attach LinuxIC-4.1.3-2.ISO file to Linux VMs as a virtual DVD drive from the Hyper-V Manager. From the Linux console, issue the mount /dev/cdrom /media command to mount the virtual DVD as a root.
Next, issue the cd /media command to change the directory to cdrom. Because both packages ship with installation scripts, you can simply run ./install.sh to install Linux Integration Services 4.1 on Linux VMs. Once installed, reboot Linux VMs via the reboot command.
Keep in mind: IT teams can only install Linux Integration Services version 4.1 on a supported version of Linux VMs. In addition, Hyper-V hosts must run Windows Server 2008 R2, Hyper-V Server 2008 R2, Windows 8 Pro and Windows 8.1 Pro, as well as Windows Server 2012, Windows Server 2012 R2, Hyper-V Server 2012, Hyper-V Server 2012 R2 or Windows Server 2016.
Verify the installation
To verify a Linux Integration Services 4.1 installation, check the drivers and subcomponents included in the installation package. To do this, use the modinfo and lsmod commands.
The modinfo command shows you the current version of Linux Integration Services. For example, to see the current version of the Microsoft Virtual Machine Bus driver on Linux VMs, run the modinfo hv_vmbus command. The command must list 188.8.131.52 as the version of Linux Integration Services under the "Versions" section in the output.
To ensure that all subcomponents were properly installed, including hv_balloon, hv_utils, hyperv_keyboard, hid_hyperv, hv_storvsc, hyperv_fb and hv_vmbus, execute the /sbin/lsmod | egrep –I "^hv|hyperv command in the Linux console. The output should list all of the subcomponents mentioned above.
How well do you know your Linux commands?
Navigate these five Linux data center tools
IoT devices and Linux: Stronger together