Tuesday, September 07, 2010

IT From All Angles

Minimize
Mar 31

Written by: Matthew.Mattoon
Wednesday, March 31, 2010 

On March 31, 2010 Microsoft released the beta of version 2.1 of the Linux Integration Components. The Linux ICs allow Linux VMs running on Hyper-V to be “enlightened” and have access to synthetic device drivers which perform much faster than their emulated counter parts. It can be downloaded by registering for the Linux Integration Services for Hyper-V on http://connect.microsoft.com

What is new in Linux Integration Components v2.1 Beta?

There are three new features, time sync, shutdown, and SMP. Time sync is communication through the vmbus which updates the guest’s time to match the hosts (without this time is only synced on boot up of the VM). Shutdown simply makes that little shutdown button in Hyper-V Manager work, previously you only had the option of using the Stop command or entering the guest via ssh or some other mechanism and initiating the shutdown. SMP is some fixes in the vmbus module which make the module SMP-safe, and in addition Microsoft will now support Linux guests (RHEL 5.3 & 5.4, and SUSE 10 & 11) with up to 4 vCPUs, previously only 1 vCPU was supported.  InputVSC (Citrix’s Project Satori) will continue to work with this release.

Frustrations of this release…

I am in large part very happy by this new release, there are some problems and some things I wish were addressed. Jumbo Frames are still not included, and I will manage, but it would have been very nice. Additionally I had hoped that they would integrate the InputVSC (Project Satori @ Citrix) into this release as well, and I am not sure why this would not have been possible, according to Satori site it is released under v2 of the GPL. Finally I am irritated that they have not made a move to allow the installer to work with newer kernels. So in order to use Ubuntu/Debian with synthetic devices you need to downgrade to the 2.6.19 kernel as with the old versions. I had hope that they would remove those restrictions and allow you to install it without support.

Also keep in mind that while Integrated Shutdown is supported, it does not work with the SCVMM Management Console, you must use Hyper-V Manager or Powershell Cmdlets.

Update 5/17/2010

About 2 weeks ago Microsoft released a release candidate.  The biggest change in this version is the fixing of the limitation of SCVMM shutdowns.  It allows VMM to detect the Integration Components thus not block the attempted shutdown using the SCVMM GUI.

 

Installing on RHEL 5.4 x86_64

Install Prerequisites (from install CD rpms)

# cd /media/CDROM/Server

# rpm -i gcc-4.1.2-46.el5.x86_64.rpm kernel-devel-2.6.18-164.el5.x86_64.rpm libgomp-4.4.0-6.el5.x86_64.rpm glibc-devel-2.5-42.x86_64.rpm glibc-headers-2.5-42.x86_64.rpm kernel-headers-2.6.18-164.el5.x86_64.rpm

Attach the iso file to the VM and stage files for install

# mkdir /opt/linux_ic_2.1beta /media/cdrom

# mount /dev/cdrom /media/cdrom

# cp -R /media/cdrom/* /opt/linux_ic_2.1beta/

# cd /opt/linux_ic_2.1beta/

# ./setup.pl drivers

 

Installing on CentOS 5.4 x86_64

Install Prerequisites (from yum repos)

# yum install gcc kernel-devel

Repair broken symbolic link

# rm /lib/modules/2.6.18-164.el5/build

# ln -s ../../..usr/src/kernels/2.6.18-164.15.1.el5-x86_64

Attach the iso file to the VM and stage files for install

# mkdir /opt/linux_ic_2.1beta /media/cdrom

# mount /dev/cdrom /media/cdrom

# cp -R /media/cdrom/* /opt/linux_ic_2.1beta/

# cd /opt/linux_ic_2.1beta/

# ./setup.pl drivers

 

Installing on Oracle Enterprise Linux 5.4 x86_64

Install Prequesites (from yum repos)

# cd /etc/yum.repos.d

# wget http://public-yum.oracle.com/public-yum-el5.repo

# nano /etc/yum.repos.d/public-yum-el5.repo

Update the section labeled [el5_u4_base] to reflect enabled=1

# yum install gcc kernel-devel

Attach the iso file to the VM and stage files for install

# mkdir /opt/linux_ic_2.1beta /media/cdrom

# mount /dev/cdrom /media/cdrom

# cp -R /media/cdrom/* /opt/linux_ic_2.1beta/

# cd /opt/linux_ic_2.1beta/

# ./setup.pl drivers

Copyright ©2010 Matthew.Mattoon

Tags:

7 comment(s) so far...

Re: Installing Linux Integration Components v2.1 Beta

Are you planning to look into this with deb/ubuntu, and does the release of Lynx make this easier?

By ray on   Sunday, April 11, 2010

Re: Installing Linux Integration Components v2.1 Beta

Hi Ray,

In my tests I have had problems when using a version of Ubuntu with Grub2 (Karmic or Lucid). So if you want to use older than those, then the instructions I have for the older versions of LIC they will work for that purpose. When I get it working on the new versions I will update the article.

-matt

By Matthew Mattoon on   Sunday, April 11, 2010

Re: Installing Linux Integration Components v2.1 Beta

I would also be very, very interested in seeing an updated article for install LIC v2.1 onto Ubuntu 10.04.

Thanks very much in advance and thanks for such a great blog!

By John on   Monday, May 17, 2010

Re: Installing Linux Integration Components v2.1 Beta

I would like to echo the above comment and would also be very interested in an article for Ubuntu 10.04

-Paul

By Paul Hale on   Monday, May 24, 2010

Re: Installing Linux Integration Components v2.1 Beta

Hi John/Paul,

Yes I too would love a way to install 2.1 into 10.04, however I have not found a way as of yet. However the good news is that this code (or similar) has already been included in linux-next so we can expect that if nothing goes wrong the linux kernel 2.6.35 will have these features, so to get them you will be able to compile that kernel (or maybe install via package if Canonical decides to go that way).

-matt

By Matthew.Mattoon on   Monday, May 24, 2010

Re: Installing Linux Integration Components v2.1 Beta

I couldn't install it on CentOS 5.5.
First, there is no setup.pl in LIS 2.1RC ISO. They say that we should use make and make install.
Second, when I use make I get: make: *** No targets specified and no makefile found. Stop.

By Tim on   Wednesday, July 28, 2010

Re: Installing Linux Integration Components v2.1 Beta

Please disregard my today's messages. Solutions are too simple to be published. Thank you.

By Tim on   Wednesday, July 28, 2010

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 

Search IT From All Angles Blog

Minimize