Sei sulla pagina 1di 53

Red Hat/Microsoft Virtualization

Collaboration
Ron Pacheco
Principal Partner Manager, Red Hat

Running Red Hat Enterprise


Linux on Microsoft Hyper-V
John Kelbley
Senior Technical Product Manager,
Microsoft
Red Hat/Microsoft Virtualization
Collaboration

Ron Pacheco
Principal Partner Manager, Red Hat
June 25th, 2010
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
Q&A
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
• Windows Server 2008 R2 on RHEV-H
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


respective products in a certified configuration
RHEL on Hyper-V Certifications
l https://hardware.redhat.com/list.cgi?
product=Red+Hat+Hardware+Certification&quicksearch=microsoft
Windows Server 2008 R2 on RHEL/RHEV Certs
 http://www.windowsservercatalog.com/results.aspx?
&chtext=&cstext=&csttext=&chbtext=&bCatID=1521&cpID=15089&
avc=0&ava=0&avq=0&OR=1&PGS=25&ready=0
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

 Submit updated SVVP certs


Running Red Hat Enterprise
Linux on Microsoft Hyper-V

John Kelbley
Senior Technical Product Manager,
Microsoft
June 25th, 2010
Agenda
Overview
Integration Services – What are they?
Installing Integration Services
Red Hat on Hyper-V
Q and A
Introductions
John Kelbley johnkel@Microsoft.com
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/
http://blogs.technet.com/windowsserverexperts
Virtualization 360:
Datacenter to the Desktop

Server
Virtualization

Presentation Application
Virtualization
Operations Virtualization

and
Desktop
Manageme
Virtualization nt Virtualization
User State
…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
AMD (NX no execute bit)
Intel (XD execute disable)
Hyper-V Architecture
Parent
Partition Child Partitions
VM Applicati Applicati Applicati
Worker ons ons ons
Processe
Applications
s

WMI User
Provider
VM Service Mode
Windows Windows OS w/o
Server 2008 Server 2003, Synthetic
R2 2008, Drivers
Windo VS 2008 R2
ws
P
Windo
ws
VS Linux Linux
Kernel Kernel VSC
IHV Kernel C
Driver
s Kern
VMBu VMB Emulation
VMB el
s
us us Mode
Windows hypervisor Ring
“Designed for Windows” Server Hardware
-1
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)

*.XML – VM configuration information


in a text-based XML file
The Anatomy of a Hyper-V VM
Demo:
Hyper-V Walk Through
John Kelbley
Senior Technical Product Manager,
Microsoft
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: http://www.microsoft.com/hyper-v-
server/en/us/how-to-get.aspx
Agenda
Overview
Integration Services – What are they?
Installing Integration Services
Red Hat on Hyper-V
Q and A
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:


Synthetic Drivers
Integration Services
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
• Backup (VSS co-ordination)
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)
• Integration Services (data exchange and “live” backup)
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
Integration Services v2.1
Beta Available
Linux Integration Services Functionality by
Version
V1
Feature (deprecated) V2 Staging 2.1 Beta V2.1
October, December, March, June,
Date 2008 2010 N/A 2010 2010
VMBUS X X 2.6.33 (2.6.32+) X X
IDE X X 2.6.33 (2.6.32+) X X
Network X X 2.6.33 (2.6.32+) X X
SCSI X X 2.6.33 (2.6.32+) X X

SMP 2.6.33 (2.6.32+) X X

"Modinfo DRIVER" support 2.6.33 (2.6.32+) X

Shutdown X X

TimeSync X X

Heartbeat 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
IDE = Similar to that on Intel 440BX
Agenda
Overview
Integration Services – What are they?
Installing Integration Services
Red Hat on Hyper-V
Q and A
Where To Get the ISs?
V2/V2.1 (2008 and Hyper-V R2) available from
http://www.microsoft.com/downloads

I Linux kernel 2.6.32 and newer, ISs may already be there


n (if included by the distro - just enable)
s
t
r No Integration Services package (yet) for 2.6.28+
u
I
S
I
S
O
F
i
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
(use if VMs are live on HA Hyper-V!)
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)
• Doesn’t work on all distros / versions
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
• C compiler (building drivers!)
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

Integration Services work with versions of Linux based on


kernel release 2.6.16 and newer
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

setenv HTTP_PROXY http://host.com:port/

setenv FTP_PROXY http://host.com:port/


Installing the ISs is easy,
if you have the right pieces!
Adding Required Components via
Command Line
Red Hat updates
yum install kernel-devel
yum groupinstall "development tools"
yum update

May need a restart


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

(old process was to call perl setup.pl drivers instead of


make)
Verifying Integration Services and
Detecting Version
Version 2.1 and newer support modinfo
Let’s you know the version of the Integration
Services installed!
Agenda
Overview
Integration Services – What are they?
Installing Integration Services
Red Hat on Hyper-V
Q and A
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
• Emulated reference + functional
Tested Linux VM Configs
Emulated Enlightened
Non-
Hypervisor
Aware OS
Linux Linux
Kernel VSC
Emulation
VMBu
s
• IO and network •IO can be ~40% faster than
experience emulated
degradation compared •Network ~30% better than
to metal emulated
• Red Hat Certification
for emulated
http://www.redhat.com/partners/hardwarepartnes/
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
010/05/13/linux-p2v-with-dd-and-vhdtool-easy-
and-cheap.aspx
Benefits of RHEL on Hyper-V
Consolidation
(why most folks look at virtualization!)

Management

Backup and Recovery


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)
• Does LOTS more!
Virtualization Management With System Center

Live host level virtual Virtual machine management


machine backup Server consolidation and
In guest consistency resource utilization
Rapid recovery optimization
Conversions: P2V and V2V

End to end service Patch management and


management deployment
Server and application health OS and application
monitoring & management configuration management
Performance reporting and Software upgrades
analysis
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

Introduction to the Red Hat Enterprise Linux Management Pack


http://technet.microsoft.com/en-us/library/ee514518.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
VM resumed
Virtualization Backup
Virtual Machine1 Virtual Machine 2 Virtual Machine 3 Virtual Machine 4
Virtualization Backup
non-VSS Aware Guest OS
Virtual Machine1 Virtual Machine 2 For any OS or application
that is not internally VSS-
aware (like Linux):
Windows
2000 • Hibernate OS to save
memory to disk
• Snap with VSS
• Resume OS
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 Can
UNEXPOSE Y: use
end backup Tech Xcopy
nolo
gy
HyperVBackup.bat (unsupported)

Xcopy y:\VMs\*.*
g:\HyperVBackup\VMs\*.* /e /s /y /F
/O /X /R /H

copy c:\Backup.cab g:\Hypervbackup


Next Steps - Microsoft
•Continue to drive the acceptance of synthetic drivers
and related Integration Services

•Desired for improved performance of RHEL guests in


Hyper-V
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


http://blogs.technet.com/enterprise_admin
Agenda
Overview
Integration Services – What are they?
Installing Integration Services
Red Hat on Hyper-V
Q and A
For additional Q&A
l Campground #3 11:00 AM – 12:00 PM

Potrebbero piacerti anche