Recent Changes - Search:


Code:


Social:


My journals will take the place of a blog. If you go to the Journal page there is an RSS feed to subscribe with.

« September 2017 
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930

Sites I take responsibility for

West Volusia, Florida

Documents

Technical

General

Me

Living

Places I frequent

Hobbies

Humor

Items for sale:


Clipboard

edit SideBar

Redhat Running on Microsoft Hyper-V

Include our styles below Infobox - invoke as >>infobox<< ... >><<

Codebox: - invoke as >>codebox<< ... >><<

warnbox: - invoke as >>codebox<< ... >><<

editingbox: - invoke as >>codebox<< ... >><<

noticebox: - invoke as >>codebox<< ... >><<

Page bread crumbs: Welcome to ke3vin.org! - My Public Technical Notes - Software And Operating Systems - Linux - Redhat - Running On Microsoft Hyper? - V

Pages by tags: (:listtags:)
Subscribe to this wiki: RSS Feed RSS or subscribe to this page for changes: RSS Feed RSS
496 articles have been published so far. Recent changes
Share

2016-03-22: This site is being moved to my main site at https://kevininscoe.com/wiki as part of a consolidation to one domain.


Linux Integration Components:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c299d675-bb9f-41cf-b5eb-74d0595ccc5c

Integration Components in Centos 5.4:

http://1morerabbithole.blogspot.com/2009/11/installing-hyper-v-r2-linux-integration.html

Attach:Linux_Integration_Components_Read_Me.pdf

  1. When installed into a virtual machine running a supported Linux operating system, the Linux Integration components provide the following functionality:
  2. Driver support for synthetic devices: The Linux integration components include support for both the synthetic network controller and synthetic storage controller that have been developed specifically for Hyper-V. These components take advantage of the new high-speed bus, VMBus, which was developed specifically for Hyper-V.
  3. Hypercall adapter: The Hypercall adapter is a thin layer of software that sits underneath the Xen-enabled Linux kernel, and translates the Xen-specific virtualization function calls to Microsoft Hyper-V hypercalls. This results in faster performance for the Linux virtual machine.
  4. *BETA* Mouse Support: Support for the synthetic mouse device has been added in the form of an early “preview” driver. This new mouse support allows the mouse to move in and out of the window without having to use the CTRL-ALT-LEFTARROW key command to break out.
  5. *BETA* Fastpath Boot Support: Support for faster single disk configurations has been added to the RC2 release. Boot devices now take advantage of the storage VSC to provide enhanced performance."

You can download the latest Linux IC ISO at http://www.microsoft.com/downloads Assuming you have already installed CentOS, follow these steps to compile and install the Linux IC and the synthetic HID and Mouse drivers. These same steps should work for you with Red Hat Enterprise Linux, too. Maybe someday I’ll get around to do this with my Ubuntu VMs. Anyway, the following is a series of steps culled from a wide variety of How-To pages, none of which produced exactly the results I was looking for. Those sites are listed as sources at the end of this post.

Getting Started:

1. Using Yum install kernel-devel (since you're just compiling drivers, you no longer need the complete kernel-source packages). You'll also need the CentOS Development Tools installation group.

 yum groupinstall "Development Tools"
 yum install kernel-devel

2. Insert the Linux IC 2.0 ISO into the virtual DVD drive on the CentOS VM.

3. Mount the ISO and copy the contents to /opt/linux_ic_master

 mkdir -p /mnt/cdrom 
 mount /dev/cdrom /mnt/cdrom 
 cp -rp /mnt/cdrom /opt/linux_ic_master 
 umount /mnt/cdrom 

4. Compile the drivers (this step should also modify the system startup parameters to include the VMBus and the synthetic drivers and set them to start automatically). cd /opt/linux_ic_master

 ./setup.pl drivers 

5. Download the input service drivers from Xen

http://www.xen.org/files/Satori/inputvsc.iso

6. Make a directory for the input service files and copy them from the ISO mkdir /opt/inputvsc

 cp -R /media/cdrom/* /opt/inputvsc/ 

7. Install the Inputsvc module (Note that you may need to use yum to install the xorg-x11-server-sdk package if this step fails the first time.) cd /opt/inputvsc

 ./setup.pl inputdriver 

8. Reboot

 shutdown -r now

9. If the reboot has no problems, shut the VM down and add network adapters and SCSI controllers as needed in the VM Settings.

10. Restart the VM. You should now be able to control your internal mouse without having to press the host release keys. You should also see seth0 bound and started.

11. Verify the required synthectic drivers are loaded.

 lsmod | grp vsc
 netvsc 73704 0 
 storvsc 66824 0 
 blkvsc 70440 3 
 vmbus 86120 3 netvsc,storvsc,blkvsc 
 scsi_mod 196569 6 scsi_dh,sg,storvsc,blkvsc,libata,sd_mod 
 hid 
 inputsvc

These synthetic devices will allow you to use network adapters that run at the full capacity of your host's network adapters and SCSI controllers.

Sources:

http://www.howtoforge.com/installing-hyper-v-linux-integration-components-on-centos-5

http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/0d2c5fa8-682c-4f5d-9fe7-388dd80a7e06

http://blog.allanglesit.com/Blog/tabid/66/EntryId/26/Hyper-V-Guests-Mouse-Integration-on-Linux-VMs.aspx

http://www.xen.org/download/satori.html

http://wiki.centos.org/HowTos/I_need_the_Kernel_Source

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c299d675-bb9f-41cf-b5eb-74d0595ccc5c

http://blogs.technet.com/virtualization/archive/2009/07/20/linux-ics-for-hyper-v-and-gplv2.aspx


I've added this CentOS 5.4 demo to WDCPRWV25 Hyper-V and assigned it a hostname and DNS assignment as centos54demo.hmco.com. I have not added an ADM address, backups, inteQ. Nor have I removed the default SCSI adapter so that the synthetic SCSI adapter can be enumerated by the OS. Still need to do that.

SSH has been enabled for root logins. Root pass is consistent with Unix Prod. Let me know if you change that. Oh! The X Server is not started by default but it is available if you want to set up to export that via SSH.


http://blogs.technet.com/virtualization/archive/2010/02/23/red-hat-enterprise-linux-and-hyper-v.aspx

Feed: Windows Virtualization Team Blog
Posted on: Tuesday, February 23, 2010 12:08 PM
Author: mikester
Subject: Red Hat Enterprise Linux and Hyper-V

Hyper-V customers are running both SUSE Linux Enterprise Server and Red Hat Enterprise Linux as guests. We have provided Linux integration components for SUSE Linux Enterprise Server, but customers did not have the same level of performance with Red Hat Enterprise Linux as a guest since the IC’s were not supported for RHEL.

We are excited to announce the availability of Linux integration components for Red Hat Enterprise Linux (RHEL 5.2, 5.3, and 5.4) which provides synthetic network and storage drivers enabling RHEL to work with the optimized devices provided by Hyper-V. We’ve already submitted these drivers to the upstream Linux kernel in July 2009 (read here for more information) and are looking forward to these being integrated with a future version of RHEL. In the meantime, Microsoft will provide full support for these drivers. Red Hat provides best effort support for these components. Customers interested in understanding how these are supported by Red Hat prior to their inclusion natively into to their distribution can read the details at the Red Hat Knowledge Base article.

To download this new version of the Linux Integration Components, visit this link on the Microsoft Download Center.

Mike Sterling Hyper-V Program Manager, Microsoft


http://blogs.msdn.com/virtual_pc_guy/archive/2010/03/31/beta-linux-integration-services-available-smp-support-is-coming.aspx

Feed: Virtual PC Guy's WebLog
Posted on: Wednesday, March 31, 2010 1:43 PM
Author: Virtual PC Guy
Subject: Beta Linux Integration Services Available – SMP support is coming!

We have just released the beta of the next version of the Linux integration services. This release brings some much wanted and requested new functionality to our Linux support on Hyper-V. Specifically it brings:

• Support for running Linux with up to 4 vCPUs per virtual machine.

• A time synchronization component to provide the same time synchronization functionality that we have for Windows virtual machines.

• A shutdown integration components so that Linux virtual machines can be shutdown directly from the Hyper-V user interface / WMI interfaces This release is currently available on Connect (http://connect.microsoft.com) under the “Linux Integration Services for Microsoft Hyper-V” connection (which you can go and sign up for right now). This release is supported on all versions of Hyper-V out there – namely:

• Hyper-V on Windows Server® 2008 Standard, Windows Server® 2008 Enterprise, and Windows Server® 2008 Datacenter (64-bit versions only)

• Microsoft® Hyper-V Server 2008

• Hyper-V on Windows® Server 2008 R2 Standard, Enterprise, and Datacenter

• Microsoft® Hyper-V Server 2008 R2

It is officially supported for the following versions of Linux:

• SUSE Linux Enterprise Server 10 SP3 x86 and x64

o SUSE Linux Enterprise Server 10 SP2 will no longer be supported by Novell as of April 12, 2010. Novell recommends that users migrate to SUSE Linux Enterprise Server 10 SP3.

• SUSE Linux Enterprise Server 11 x86 and x64

• Red Hat Enterprise Linux 5.2, 5.3, and 5.4 x86 and x64

This new functionality will also be submitted shortly to the Linux kernel – so that it should hopefully appear in your favorite Linux distribution soon.

Cheers, Ben


Kevin's Public Wiki maintained and created by Kevin P. Inscoe is licensed under a
Creative Commons Attribution 3.0 United States License.

Back to my web site - http://kevininscoe.com

Edit - History - Print - Recent Changes - Search
Page last modified on July 02, 2010, at 07:58 AM EST