Red Hat/Microsoft Virtualization
Collaboration
Ron Pacheco
Principal Partner Manager, Red Hat
Running Red Hat Enterprise
Linux on Microsoft Hyper-V
John Kelbley
Red Hat/Microsoft Virtualization
Collaboration
Ron Pacheco
Red Hat/Microsoft Virtualization Collaboration
Agenda
•Overview of the Cross Certification Agreement •Foundational Points of the Agreement
•What has been certified to date •Next Steps
Running Red Hat Enterprise Linux on Microsoft Hyper-V •John Kelbley, Microsoft
Red Hat/Microsoft Cross Certification Agreement
Responding to Customers' Business needs
• Customers with heterogeneous environments demand full support • Demand their vendors cooperate, irrespective of their competitive
nature
Joint support from prime OS vendors in the enterprise Agreed to cross-certify & demonstrate the commitment
• RHEL on Hyper-V
Foundational Points of the Agreement
Support from both Red Hat and Microsoft
l Customers with valid support entitlements with both
Red Hat and Microsoft can call either party for support for a certified configuration
Ł Support teams will collaborate to resolve customer
reported issues per customers' SLA agreement
Both parties agree to resolve issues found with their
RHEL on Hyper-V Certifications
l https://hardware.redhat.com/list.cgi?
Windows Server 2008 R2 on RHEL/RHEV Certs
http://www.windowsservercatalog.com/results.aspx?
Next Steps – Red Hat
Red Hat
Performance improvements of Windows guests on
RHEL/RHEV
Update and WHQL certify drivers
l Desired for improved performance of Windows
guests in RHEV
Running Red Hat Enterprise
Linux on Microsoft Hyper-V
John Kelbley
Senior Technical Product Manager,
Microsoft
Agenda
Overview
Integration Services – What are they? Installing Integration Services
Introductions
John Kelbley [email protected]
Senior Technical Product Manager, Windows Server Platform Strategy
Field-based - focused on customer partner
engagement for Windows Server and Open Source 20+ years experience focused on IT infrastructure
Co-author of Windows Server 2008 R2 Hyper-V: Insider’s Guide to Microsoft’s Hypervisor
Blogs
http://blogs.technet.com/enterprise_admin/
Operations
and
Manageme
nt
Presentation Virtualization User State Virtualization Application Virtualization Desktop VirtualizationVirtualization 360:
Datacenter to the Desktop
Server
…and now onto Hyper-V!
Hypervisor based virtualization platform Introduced with (and leverages)
Windows Server 2008 x64 Edition technology
Standard, Enterprise and Datacenter Editions
Hardware Requirements
x64 server with hardware assisted virtualization
AMD-V or Intel VT
Hardware enabled Data Execution Prevention (DEP) required
Windows Server 2008 R2 VS P Windo ws Kernel
Hyper-V Architecture
Applicati ons OS w/o Synthetic Drivers Emulation“Designed for Windows” Server Hardware Windows hypervisor
Parent
Partition Child Partitions
The Anatomy of a Hyper-V VM
.VHD – VM data
.AVHD – VM snapshots
*.BIN – Contents of VM RAM for a saved state
*.VSV – Saved state information (i.e., processor register data)
Demo:
Hyper-V Walk Through
John Kelbley
Hyper-V Server 2008 R2
Totally free (as in beer) download! Command-line only local interface
(Manage using WMI or remote GUI– RSAT) Host clustering
Live Migration (no downtime!)
Get it here:
Agenda
Overview
Integration Services – What are they? Installing Integration Services
What is an IS?
IS = Integration Service
(formerly called IC – Integration Component)
ISs enable a child OS instance to run better through enlightenment
Enlightenments generally include:
ISs for Windows
Enlightenments for Windows include: Synthetic Drivers • IDE driver • SCSI driver • Network Drive • Mouse Integration • Video Integration Services
• Operating System Shutdown • Time Synchronization
• Data Exchange • Heartbeat
What do you get for Linux?
Enlightenments for Linux include (depending on version): • Synthetic Drivers
• IDE driver • SCSI driver • Network Drive
• SMP Support (one to four virtual processors supported) • Integration Services (shutdown, time sync, heartbeat) What’s Missing?
• Console Mouse Integration (can get from Xen)
The Announcement
July 2009: Microsoft
contributes driver code to Linux kernel
Submitted under GPLv2
Since, 200+ patches received from Linux community
December 2009: Linux ISs
included in the staging tree of the 2.6.32 kernel
March 2010: Linux
Linux Integration Services Functionality by
Version
Feature (deprecated)V1 V2 Staging 2.1 Beta V2.1
Date October, 2008 December, 2010 N/A March, 2010 June, 2010 VMBUS X X 2.6.33 (2.6.32+) X X
Reality Check:
ISs NOT Required for Hyper-V
Hyper-V device emulation works for nearly any operating systems (with less performance)
Key hardware components are emulated:
Video = S3 Trio64 SVGA “like” VESA Network = Intel / DEC “Tulip” 21x4x
Agenda
Overview
Integration Services – What are they? Installing Integration Services
Where To Get the ISs?
V2/V2.1 (2008 and Hyper-V R2) available from
http://www.microsoft.com/downloads
Linux kernel 2.6.32 and newer, ISs may already be there (if included by the distro - just enable)
No Integration Services package (yet) for 2.6.28+
ReadMe for Linux ISs
The “Readme” is a fantastic resource! Includes instructions for
Installing ISs
Upgrading V1 ICs to V2 / V2.1 ISs
Guidance about issues and Best Practices
(hda=noprobe hdb=noprobe) Static MAC addresses
Console Mouse Integration
Mouse work just fine, it just will not come “out of scope” automatically • Use Ctrl-Alt-Left Arrow to release mouse
• Problem with “chained RDP” – no mouse if you remote into Hyper-V host and access VM
• Use Hyper-V Console on local system instead • Remote into VM instead!
• Linux servers often loaded without GUI (don’t care about the mouse!) or accessed via remote X-Windows or VNC
• Can add mouse support after ICs via Xen site:
http://www.xen.org/download/satori.html
(code is licensed under GPL)
You also Need Linux!
The following are supported by Microsoft:
• Red Hat Enterprise Linux 5.2, 5.3, 5.4, 5.5 x86 or x64
As well as SUSE Linux Enterprise Server 10 and 11
For the latest support info, check
http://technet.microsoft.com/en-us/library/cc794868(WS.10).aspx
Must be sure to install
• Linux Source Code
ISs Install on LOTS of Linux Distributions
Microsoft DOES NOT SUPPORT other distributions, -
there’s no company on the other end of the phone to call! Other distributions may be community supported
Tip – Proxy Update
Set network proxy as per http://www.fedoraforum.org/forum/showthread.php? s=&threadid=742 Create /etc/profile.d/proxy.sh export http_proxy=http://host.com:port/ export ftp_proxy=http://host.com:port/ export no_proxy=.domain.com export HTTP_PROXY=http://host.com:port/ export FTP_PROXY=http://host.com:port/ Create /etc/profile.d/proxy.csh
setenv http_proxy http://host.com:port/ setenv ftp_proxy http://host.com:port/ setenv no_proxy .domain.com
Installing the ISs is easy,
Adding Required Components via
Command Line
Red Hat updates
yum install kernel-devel
yum groupinstall "development tools" yum update
Adding Required Components via
Command Line
After the ISO is “available”
mount /dev/cdrom /mnt mkdir /opt/linux_is cp –r /mnt/* /opt/linux_is cd /opt/linux_is make make install
Verifying Integration Services and
Detecting Version
Version 2.1 and newer support modinfo
Agenda
Overview
Integration Services – What are they? Installing Integration Services
Performance
The Microsoft JIL is an interoperability lab (in Cambridge Mass….right across the river!)
• Interop should not come at the cost of performance
• We have ongoing performance characterization efforts around interop initiatives like virtualization
• Performance characterization is not benchmarking! • Focused on Linux w/ Integration Services
Tested Linux VM Configs
Emulated Enlightened Non-Hypervisor Aware OS Emulation Linux VSC VMBu s Linux Kernel• IO and network
experience
degradation compared
to metal
• Red Hat Certification
for emulated
http://www.redhat.com/partners/hardwarepartnes/
•IO can be ~40% faster than emulated
Migration (P2V)
Fresh install is always best, but sometimes a Physical to Virtual (P2V) migration is required
Lots of tools available - simplest way (I’ve found)
•DD
•VHDTool
http://blogs.technet.com/enterprise_admin/archive/2
Benefits of RHEL on Hyper-V
Consolidation
(why most folks look at virtualization!) Management
Management
Hyper-V uses a rich set of WMI-based APIs
§Great Open Source Hyper-V Management library available
on CodePlex http://pshyperv.codeplex.com/
System Center suite (including System Center Virtual Machine Manager - SCVMM)
Virtualization Management With System Center
Virtual machine management Server consolidation and resource utilization
optimization
Conversions: P2V and V2V
Patch management and deployment
OS and application
configuration management Software upgrades
Live host level virtual machine backup
In guest consistency Rapid recovery
End to end service management
Monitoring Linux with System Center
System Center Operations Manage (SCOM) has the capability to monitor RHEL:
Monitoring Linux Using SCOM 2007
R2http://blogs.technet.com/b/birojitn/archive/2010/01/20/monitoring-linux-using-scom-2007-r2.aspx
Backup and Recovery
Linux backup a challenge for Windows admins (new agents / processes)
Hyper-V can facilitate backup & recovery
DPM (or WSB, or a batch file with Xcopy) easier and almost always costs less than other enterprise backup solutions
VM can be restored to exact point in time of backup
Linux VMs backed up using parent VSS – VMs “saved” during backup
VM paused and memory saved to disk Snapshot taken on parent
Virtualization Backup
Virtualization Backup
non-VSS Aware Guest OS
For any OS or application that is not internally
VSS-aware (like Linux):
• Hibernate OS to save
memory to disk
• Snap with VSS • Resume OS
Virtual Machine1 Virtual Machine 2
HyperVBackup.txt
(unsupported)
set context persistent
set metadata C:\backup.cab set verbose on
begin backup
add volume C: alias ConfigVolume #The GUID of the Hyper-V Writer writer verify {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
create
EXPOSE %ConfigVolume% Y: EXEC HyperVBackup.cmd
UNEXPOSE Y:
end backup
Can use
Technolo
Xcopy
HyperVBackup.bat (unsupported)
Xcopy y:\VMs\*.*
g:\HyperVBackup\VMs\*.* /e /s /y /F /O /X /R /H
Next Steps - Microsoft
•Continue to drive the acceptance of synthetic drivers and related Integration Services
Try Hyper-V with RHEL!
Download free Hyper-V Server
http://www.microsoft.com/hyper-v-server/en/us/how-to-get.aspx
Get the Linux Integration Services from
http://www.microsoft.com/downloads
Check out my blog
Agenda
Overview
Integration Services – What are they? Installing Integration Services
Red Hat on Hyper-V Q and A
For additional Q&A