Download LIS v4.0 from below link.


https://www.microsoft.com/en-in/download/details.aspx?id=46842


To install Linux Integration Services 4.0 from the tar file: 

1.Connect to the target virtual machine. 

2.Transfer the lis4-0-11.tar.gz file to the target virtual machine. 

3.Extract the archived directory of files 

# tar xvzf lis4-0-11.tar.gz 

4.Change to the lis4 directory 

# cd lis4.0.11 

5.Execute the installation script (there will not be any user prompts) as root or with sudo: 

# ./install.sh 

6.Restart the virtual machine. 

# reboot 


 To install Linux Integration Services 4.0 from the ISO file: 

1.Connect to the target virtual machine. 

2.In Hyper-V Manager, attach the ISO to the virtual machine as a virtual DVD drive. 

3.Some kernels may be missing the necessary driver to mount the virtual device. This can be corrected by loading the appropriate module as root or with sudo: 

# insmod /lib/modules/$(uname -r)/kernel/drivers/ata/ata_piix.ko 

4.Mount the virtual DVD as root or with sudo: 

# mount /dev/cdrom /media mount: /dev/sr0 is write-protected, mounting read-only 

5.Change to the CD-ROM root directory 

# cd /media 

6.Execute the installation script (there will not be any user prompts) as root or with sudo: 

# ./install.sh 

7.Restart the virtual machine. 

# reboot 



Upgrading to Linux Integration Services 4.0 

 

1.Connect to the target virtual machine. 

2.Transfer the lis4-0-11.tar.gz file to the target virtual machine. 

3.Extract the archived directory of files 

# tar xvzf lis4-0-11.tar.gz 

4.Change to the lis4 directory 

# cd lis4.0.11 

5.Execute the upgrade script (there will not be any user prompts) as root or with sudo: 

# ./upgrade.sh 

6.Restart the virtual machine. 

# reboot 



To upgrade Linux Integration Services 4.0 from the ISO file: 

1.Connect to the target virtual machine. 

2.In Hyper-V Manager, attach the ISO to the virtual machine as a virtual DVD drive. 

3.Some kernels may be missing the necessary driver to mount the virtual device. This can be corrected by loading the appropriate module as root or with sudo: 

# insmod /lib/modules/$(uname -r)/kernel/drivers/ata/ata_piix.ko 

4.Mount the virtual DVD as root or with sudo: 

# mount /dev/cdrom /media mount: /dev/sr0 is write-protected, mounting read-only 

5.Change to the CD-ROM root directory 

# cd /media 

6.Execute the installation script (there will not be any user prompts) as root or with sudo: 

# ./upgrade.sh 

7.Restart the virtual machine. 

# reboot 



Verifying Linux Integration Services 4.0 Functionality 

 

LIS provides support for the modinfo command. To get module information for each installed kernel module, run the following command and note the returned “version” information: 

# /sbin/modinfo hv_vmbus 

filename:       /lib/modules/2.6.32-71.el6.x86_64/extra/microsoft-hyperv/hv_vmbus.ko version:        4.0.11 license:        GPL 

srcversion:     ACE0AA64B58744D00E54C12 alias:          acpi*:VMBus:* alias:          acpi*:VMBUS:* depends: vermagic:       2.6.32-71.el6.x86_64 SMP mod_unload modversions 

 

Filename, srcversion, and vermagic will vary depending on the Linux distribution release and kernel version. This command can be repeated for all kernel modules (hv_vmbus, hv_netvsc, hv_storvsc, hv_blkvsc, and hv_utils). 

 

To verify that all subcomponents are running in the kernel, execute the following command: 

# /sbin/lsmod | grep hv 

The output should include lines similar to the following: 

hv_netvsc              24309  0 hv_utils                9499  0 hv_storvsc             11641  2 hv_vmbus              146721  7 hyperv_keyboard,hid_hyperv,hv_netvsc,hv_utils,hyperv_fb,hv_storvsc 



For More details:


Kindly check below Microsoft link.


https://www.microsoft.com/en-in/download/details.aspx?id=46842