• No results found

Red Hat/Microsoft Virtualization Collaboration. Running Red Hat Enterprise Linux on Microsoft Hyper-V

N/A
N/A
Protected

Academic year: 2021

Share "Red Hat/Microsoft Virtualization Collaboration. Running Red Hat Enterprise Linux on Microsoft Hyper-V"

Copied!
53
0
0

Loading.... (view fulltext now)

Full text

(1)

Red Hat/Microsoft Virtualization

Collaboration

Ron Pacheco

Principal Partner Manager, Red Hat

Running Red Hat Enterprise

Linux on Microsoft Hyper-V

John Kelbley

(2)

Red Hat/Microsoft Virtualization

Collaboration

Ron Pacheco

(3)

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

(4)

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

(5)

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

(6)

RHEL on Hyper-V Certifications

l https://hardware.redhat.com/list.cgi?

(7)

Windows Server 2008 R2 on RHEL/RHEV Certs

 http://www.windowsservercatalog.com/results.aspx?

(8)

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

(9)

Running Red Hat Enterprise

Linux on Microsoft Hyper-V

John Kelbley

Senior Technical Product Manager,

Microsoft

(10)

Agenda

Overview

Integration Services – What are they? Installing Integration Services

(11)

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/

(12)

Operations

and

Manageme

nt

Presentation Virtualization User State Virtualization Application Virtualization Desktop Virtualization

Virtualization 360:

Datacenter to the Desktop

Server

(13)

…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

(14)

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

(15)

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)

(16)
(17)

Demo:

Hyper-V Walk Through

John Kelbley

(18)

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:

(19)

Agenda

Overview

Integration Services – What are they? Installing Integration Services

(20)

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:

(21)

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

(22)

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)

(23)

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

(24)

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

(25)

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

(26)

Agenda

Overview

Integration Services – What are they? Installing Integration Services

(27)

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+

(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

(29)

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)

(30)

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

(31)

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

(32)

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

(33)

Installing the ISs is easy,

(34)

Adding Required Components via

Command Line

Red Hat updates

yum install kernel-devel

yum groupinstall "development tools" yum update

(35)

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

(36)

Verifying Integration Services and

Detecting Version

Version 2.1 and newer support modinfo

(37)

Agenda

Overview

Integration Services – What are they? Installing Integration Services

(38)

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

(39)

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

(40)

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

(41)

Benefits of RHEL on Hyper-V

Consolidation

(why most folks look at virtualization!) Management

(42)

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)

(43)

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

(44)

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

(45)

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

(46)

Virtualization Backup

(47)

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

(48)

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

(49)

HyperVBackup.bat (unsupported)

Xcopy y:\VMs\*.*

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

(50)

Next Steps - Microsoft

•Continue to drive the acceptance of synthetic drivers and related Integration Services

(51)

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

(52)

Agenda

Overview

Integration Services – What are they? Installing Integration Services

Red Hat on Hyper-V Q and A

For additional Q&A

(53)

References

Related documents

Add new multiple links without compromising usability or your budget Always available connectivity with maximized throughput Ensure that your critical business traffic

Windows Server 2008 R2 64-bit and supported Windows Client platforms for Data Transfer Station and Qvera Interface Engine (QIE).  Hyper-V: Microsoft Hyper-V Server 2012 or

Decision Logic chose Microsoft virtualization and cloud technologies, with Microsoft Windows Server® 2008 R2 Hyper-V and System Center Virtual Machine Manager as the

Their Frontline Partner recommended the HP ProLiant DL380 G6 server running Microsoft Windows Server 2008 R2 Enterprise Edition with Hyper-V and the HP StorageWorks 2000

Microsoft Hyper-V Network Virtualization (NVGRE), Microsoft Hyper-V Server Virtualization, Microsoft System Center 2012R2, Windows Server 2012 R2 and Windows Storage Server 2012

ordering symptoms in predicting self-reported executive function, set-shifting, task switching, global-local processing, and emotion recognition. 6) Hypothesis 6, that is,

Office of the Provost and Academic Vice President Department of Educational and Interdisciplinary Studies Provides direction and leadership for various areas within academic

The undergraduate program started with offering Associate degrees in various disciplines such as Agricultural, Chemical, Civil, Electrical, Mechanical, etc., moved to a BS degree