HYPER-V Integration Services are services that allow communication between virtual machine and HYPER-V host. When install a new Virtual Machine then automatic install a package of services which consists the HYPER-V Integration Services and improve the perfomance and manageability of Virtual Machine. If you need to learn more details you can visit Microsoft Technet Page at https://technet.microsoft.com/en-us/library/dn798297.aspx .
Today i will explain in depth how can manage Integration Services from HYPER-V Console PowerShell, Guest(OS) or Linux.
What's New in HYPER-V Integration Services for Windows Server 2012
In the Windows Server 2012 R2 the only thing that change in Integration Services with prior Windows Servers is the Guest Services. With this update System Administrators can copy files between virtual machine and HYPER-V Host from HYPER-V Manager without need network connection between them.
Manage Intergration Services from HYPER-V Manager
If you have GUI Enviroment in your HYPER-V Host you can manage Integration Services from HYPER-V Manager. How can do this?
- Open HYPER-V Managaer
- Select the Virtual Machine that you want.
- From the right sidebar select Settings.
- From the left sidebar in the bottom select Integration Services.
- Find all the Integration Services. These with tick are enable.
Manage Intergarion Service with PowerShell.
If you would like to Manage Integrations Services with Powershell read the article
Manage Integration Services from Guest (OS)
If you would like to take a look where can found the Integration Services or manage the Integration Services from Guest (OS) you can go in Services and find the following Services
Alternative if you would like to manage Integration Services from Powershell read the article
Check Version of Integration Services
If you would like to find the version of Integration Services you have 2 options.
- From the Guest (OS) open the Device Manager , Expand System Devices
- Right click in Microsoft Hyper-V Virtual Machine Bus and select Properties.
- Select Tab Driver and check driver Version.
The second option is from Powershell in HYPER-V Host. See the article to see how can do it
Install or Update Integration Services in Guest(OS)
When you install a new Virtual Machine by default install the Integraton Services. But if you would like to reinstall for any reason or Update the Integration Services it's not very difficult.
As you can see in my example one of my Virtual Machines need to update the Integraton Services.
Let's see how can do it.
- Open the Virtual Machine that you want to update or Install the Integration Services
- Click Action - - > Inster Integration Services Setup Disk.
- From the Guest(OS) Open the My Computer and you will see a new DVD Drive with Integration Services Setup.
- Open the DVD Drive - - >amd64 and double in click in setup.exe
- If the version need update it will prompt to update the version.
- Click Yes. After finish must be restart the virtual machine . So be carefull if it's in your Production enviroment.
Manage Integration Services in Linux
If you have install one of the supported version of Linux in HYPER-V. For more details for the supported Linux OS in HYPER-V open https://technet.microsoft.com/en-us/library/mt126277.aspx then you can manage Integration Services from Linux OS.
- Find the Version of Integration Services run the command
- If you want to verify that the integration services are running type the following command
/sbin/lsmod | grev hv
The output should be like
hv_utils is the driver for integration services in linux
Install or Update Integration Services in Linux.
If you have Linux in your HYPER-V host which supported the procedure is different. Let's take a look. In my enviroment i have a Centos 7 (x64) that Integration Services aren't install.
- Download Integration Services for Linux from https://www.microsoft.com/en-us/download/details.aspx?id=46842.
- I choose ISO to download but you can download a tar.gz
- Go in the right sidebar of HYPER-V Manager and select Settings.
- Select IDE Controller 1 - - >DVD Drive
- Check the Image file click browse and find the iso file of the integration services which download.
- Click OK.
- Start the virtual machine and type the following command to mount the dvd drive
mount -r /dev/cd0 /media
- Type cd media
- You can install or update integration services.
- So type ./install.sh OR type ./update.sh
- After finish restart the Linux.
Integration Services ISO Files
Every time which create new virtual machine integration services are installed. If you need to download integration files for ISO you can find it in https://www.microsoft.com/en-us/download/details.aspx?id=46842. But in any case if you would like to know you can find an iso file with filename vmguest.iso in HYPER-V Host in C:\windows\system32.
I try to cover most of the Integration Services to help you and learn how can manage. If you have any question you can do your comments through our commented system. Share your question or any other info that you have related with Integration Services.