38

Virtualizing Linux and FreeBSD Workloads on the Next Release of

  • Upload
    donhu

  • View
    222

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Virtualizing Linux and FreeBSD Workloads on the Next Release of
Page 2: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Virtualizing Linux and FreeBSD on Windows Server v.NextJason M. AndersonTudor DamianCDP-B233

Page 3: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Customers can easily manage and extend their Linux and FreeBSD workloads.

Goals for Linux & FreeBSD Support

Provide the best experience for running Linux and FreeBSD on Hyper-V and in Microsoft Azure.

Customers have great choice and availability in running Linux and FreeBSD distributions.

Page 4: Virtualizing Linux and FreeBSD Workloads on the Next Release of

How Operating Systems Run on Hyper-V

StartOS runs

on x86/x64

?

Dead endNot going to

run onHyper-V.

AIX, HP-UX,Solaris SPARC,Windows RT

HaveIntegrationServices?

Yes Yes

No No

Emulated Devices• No Hyper-V

integration• Limited

manageability• Limited functionality• OK CPU, weak

disk/net

Synthetic Devices• Full Hyper-V

integration• Best manageability• Best functionality• Perf near bare metal

Solaris x86,Linux with no IS,BSD with no IS

Linux with IS,FreeBSD with ISWindows with IS

Page 5: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Integration Services OverviewHyper-V presents synthetic devices to the guest OS

Synthetic devices seen by the guest OS are the same, regardless of the real hardware under Hyper-V

Windows Server Host

Windows Server Hyper-V

Linux FreeBSD Windows

Page 6: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Integration Services Overview

Windows Server Host

Windows Server Hyper-V

Linux FreeBSD Windows

Guest OS needs drivers for these synthetic devices

Just like an OS needs drivers for devices it sees when running on real hardware

Page 7: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Integration Services Overview

Windows Server Host

Windows Server Hyper-V

Linux FreeBSD Windows

Integration Services == the drivers for the Hyper-V synthetic devices

They run in the guest OS so must follow the device driver model for that guest OSAlso include some user-space daemons that interact with the drivers

Integration Services

Integration Services

Integration Services

Page 8: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Linux Integration Services (LIS)

Page 9: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Linux Integration Services Development

Microsoftdevelopers

Customer servers

w/Hyper-V

MSdownloadcenter

Customer installs LIS

LIS for Hyper-V

Support issues flow in

reverse direction

Linux kernel main

Linux community

LIS for Hyper-V

Distro vendors

Linux distro w/LIS . . . .

Page 10: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Kernel Distribution Version LIS Availability

Red Hat Based

Red Hat Enterprise Linux and CentOS

5.5 - 5.8, 6.0 – 6.3 Download LIS 3.5 from Microsoft

5.9, 5.10, 6.4, 6.5 LIS built-in and certified by Red Hat

Oracle Linux 6.4, 6.5 LIS built-in and certified by Oracle

Oracle UEK Oracle Linux UEK R3 QU1, QU2 LIS built-in and certified by Oracle

Linux Main

Ubuntu Server 12.04 – 14.04LIS built-in

Debian 7.0 - 7.4

SUSE Linux Enterprise Server

11 SP2, 11 SP3LIS built-in

openSUSE 12.3

Supported Linux DistributionsKernel Distribution Version LIS Availability

Red Hat Based

Red Hat Enterprise Linux and CentOS

5.5 - 5.8, 6.0 – 6.3 Download LIS 3.5 from Microsoft

5.9, 5.10, 6.4 - 6.6 & 7.0 LIS built-in and certified by Red Hat

Oracle Linux 6.4, 6.5, 7.0 LIS built-in and certified by Oracle

Oracle UEK Oracle Linux UEK R3 QU1, QU2, QU3 LIS built-in and certified by Oracle

Linux Main

Ubuntu Server 12.04 - 14.10LIS built-in

Debian 7.0 - 7.4

SUSE Linux Enterprise Server

11 SP2, 11 SP3, 12LIS built-in

openSUSE 12.3

Page 11: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Targeted Linux distributions for LIS packages

Linux Server distributions (applying on DT versions may work, not supported)Only for distros that do not have LIS built-in (upstreamed)

Can’t install newer LIS packages on top of distros with LIS built-inData driven (customer demand, market needs)

Linux Integration Services PackagePlanning principles

New feature availability that have been upstreamed into newer kernelsMaintain compatibility with targeted kernel versions (can’t introduce features that will not work on older kernelsMeans some LIS packages may not have the same features upstreamed

Data driven (customer demand, market needs)

Page 12: Virtualizing Linux and FreeBSD Workloads on the Next Release of

New LIS Features - UpstreamedHyper-V Version Feature Description Upstream

2008 R2 +TCP Offloading Transfers some of the workload from the CPU to a network adapter

during network data transfers. Spring 2014

2D video driver Provides enhanced graphics performance and superior resolution for Linux desktop users. 2013

2012 +Dynamic Memory – Hot add Dynamically increase the amount of memory that is available to a

live virtual machine. Spring 2013

vRSS Virtual Receive-Side Scaling spreads the load from a virtual network adapter across multiple virtual processors in a virtual machine. Spring 2014

2012 R2 +

Generation 2 VM Support Allows Linux virtual machines to be run in UEFI enabled Generation 2 mode.

Spring 2014File Copy from Host to Guest

Allows copying of files from host to guest without using the network interface.

TRIM supportAllows Linux virtual machines to optimize storage consumption through technologies such as Thin Provisioning. Particularly useful for Linux virtual machines hosted in Azure.

Fall 2013

Online VHDX resize Allows expansion of live mounted fixed sized Linux VHDs.

Spring 2013Virtual fibre channel Allows Linux virtual machines to natively access high speed fibre channel networks.

Online backup Facilitates zero down time backup of live virtual machines to Azure.

Page 13: Virtualizing Linux and FreeBSD Workloads on the Next Release of

LIS Features “In Progress”Hyper-V Version Feature Description Status

2008 R2 +Enhanced Time Synchronization

Avoids clock drift issue by ensuring VM's time is kept synchronized with the maintained time on the host using host time sample.

Upstreaming

Network Performance Improvements

New offloads and network optimizations to improve performance for 10Gbps and above network cards. In Progress

2012 + SR-IOVMaximizes network throughput while minimizing network latency as well as the CPU overhead required for processing network traffic.

Kicking Off

Windows Server v.Next

Secure BootEnables secure boot feature for Linux VMs using UEFI which has the boot loader signed with a Microsoft key as the root of trust. Windows

Server v.NextHot Add/Remove Synthetic NIC

Manually add/remove virtual NICs when the VM is running.

Azure Infiniband Infiniband driver for Linux guests supports high performance computing running on Azure version of Hyper-V.  

Azure v.Next

Page 14: Virtualizing Linux and FreeBSD Workloads on the Next Release of

DEMO

Secure BootHot Add/Remove NIC

Page 15: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Helps prevent unauthorized firmware, operating systems, or UEFI drivers from running at boot time. With Windows Server v.Next, Linux VMs with a signed boot loader will have the option to leverage secure boot.

Canonical and SUSE signed their boot loaders with the Microsoft UEFI CA. Enabled by default for generation 2 virtual machines.Set Certificate through power shell.

Secure Boot

Page 16: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Eliminating workload downtime due to reconfiguration

Hot add a virtual disk introduced in Windows Server 2008 R2Hot add memory introduced in Windows Server 2012 R2Hot add a network adapter introduced in Windows Server v.Next

Hot Add/Remove NIC

Page 17: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Feature AvailabilityFeature Hyper-V

versionRHEL/ Cent OS/ OL 7

RHEL6.6

Ubuntu 14.10

SLES 12

Oracle UEK3 QU3

TBD RHEL 6.0 – 6.3

Availability   Built in Built in Built in Built in Built in LIS 4.0 LIS 3.5 LIS 3.4Core 2008 R2+ √ √ √ √ √ √ √ √Networking  Jumbo frames

2008 R2+

√ √ √ √ √ √ √ √VLAN tagging and trunking √ √ √ √ √ √ √ √

Live Migration √ √ √ √ √ √ √ √Static IP Injection 2012+ √ √ √ √ √ √ √ √vRSS 2012 R2 + √ √ √ √    TCP Offloading 2008 R2 + √ √ √ √    Hot Add/Remove NIC

v.Next

SR-IOV 2012 +

Page 18: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Feature AvailabilityFeature Hyper-v

versionRHEL/ Cent OS/ OL 7

RHEL6.6

Ubuntu 14.10

SLES 12

Oracle UEK3 QU3

TBD RHEL 6.0 – 6.3

Availability   Built in Built in Built in Built in Built in LIS 4.0 LIS 3.5 LIS 3.4Storage  VHDX resize

2012 R2

√ √ √  √ √ √ √  Virtual Fibre Channel √ √ √  √ √ √ √  Live virtual machine backup

√ √ √ √ √ √ √  

TRIM support   √      MemoryConfiguration of MMIO gap 2012 R2 √ √ √ √ √ √ √ √Dynamic Memory – Hot Add 2012 +

√ √ √  √    

Dynamic Memory – Ballooning

√ √ √ √ √ √  

Page 19: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Feature AvailabilityFeature Hyper-v

versionRHEL/ Cent OS/ OL 7

RHEL6.6

Ubuntu 14.10

SLES 12

Oracle UEK3 QU3

TBD RHEL 6.0 – 6.3

Availability   Built in Built in Built in Built in Built in LIS 4.0 LIS 3.5 LIS 3.4VideoHyper-V-specific video device

2008 R2+ √ √ √  √ √ √  

Miscellaneous  Key-Value Pair 2008 R2+ √ √ √ √ √ √ √Non-Maskable Interrupt 2012 R2 + √ √ √ √ √ √ √PAE Kernel Support   √ √ √ √ N/A √ √File copy from host to guest 2012 R2 + √ √  √  √ √  

Generation 2 virtual machinesBoot using UEFI 2012 R2 + √  √  √ TBD √   Secure boot v.Next          

Page 20: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Let’s hear from someone actually doing it!Tudor DamianMicrosoft Hyper-V MVPCEH, IT Solutions Specialisthttp://www.tudy.tel

Page 21: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Read up on all things Linux + Hyper-V Documentation’s been getting much betterSome real gems can be found on community forums

Time sync and time driftIf things break, it might just be a misconfigurationDon’t be afraid to contact Microsoft

Some lessons from the field

Page 22: Virtualizing Linux and FreeBSD Workloads on the Next Release of

FreeBSD Integration Services (BIS)

Page 23: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Virtual appliance offerings in Azure

Why is FreeBSD Important?Many virtual appliance vendors use FreeBSDSingle hypervisor for enterprises using FreeBSD-based virtual appliances

Page 24: Virtualizing Linux and FreeBSD Workloads on the Next Release of

BIS Development, Distribution & Support

Microsoftdevelopers

Customer servers

w/Hyper-V

Support issues can

go to Microsoft or

FreeBSD

FreeBSD OS

FreeBSD community

BIS for Hyper-V

FreeBSD release w/BIS

Support strategyVanilla FreeBSD questions: Contact the FreeBSD.orgIssues running FreeBSD on Hyper-V: Contact FreeBSD.org or MicrosoftIssues running VA Vendor’s customized FreeBSD on Hyper-v: Contact the Vendor

Customer installs BIS Ports

Page 25: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Integration Services 1.0 built into FreeBSD 10 today

Lacking core support to enable I/O performanceSupported on a “best effort” basis by Microsoft Customer Support

Microsoft Support for FreeBSD on Hyper-V

Integration Services 2.0 in for FreeBSD 10.xIncludes feature investments in core areas to enable production workloads

VMBus multi-channel & core storage performance improvementsSignal optimizationKVP driver and daemon

Schedule to upstream into 10.2, however will provide ports for 10.1Will officially be supported by Microsoft Customer Support

Page 26: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Feature AvailabilityFeature Hyper-V version 10.x & Head 10 9.1~9.3 8.4

Availability   Built in Built in Ports Ports

Core 2008 R2+

More Coming Soon!

Networking Jumbo frames

2008 R2+

VLAN tagging and trunking Live Migration Static IP Injection 2012+ vRSS 2012R2 Coming Soon!TCP Offloading 2008 R2+ Coming Soon!Hot Add/Remove NIC v.Next Coming Soon!SR-IOV 2012+

Page 27: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Feature AvailabilityFeature Hyper-V version 10.x & Head 10 9.1~9.3 8.4

Availability   Built in Built in Ports PortsStorage VHDX resize

2012 R2 +

Coming Soon!Virtual Fibre Channel Coming!Live virtual machine backup Coming!TRIM support Coming Soon!MemoryConfiguration of MMIO gap 2012 R2 +

Dynamic Memory – Hot Add

2012 +Dynamic Memory – Ballooning

Page 28: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Feature AvailabilityFeature Hyper-V version 10.x & Head 10 9.1~9.3 8.4

Availability   Built in Built in Ports PortsVideoHyper-V-specific video device 2008 R2+Key-Value Pair (ports) Non-Maskable Interrupt 2012 R2

PAE Kernel Support  File copy from host to guest 2012 R2Generation 2 virtual machinesBoot using UEFI 2012 R2Secure boot v.Next

Page 29: Virtualizing Linux and FreeBSD Workloads on the Next Release of

VMDepot Community Image

Community created images availableFreeBSD.org published images as well

“Bring your own” FreeBSD to Azure

Prepare your own FreeBSD image with BIS and the Azure Linux Agent for running in Azure

FreeBSD in Microsoft Azure

Page 30: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Customers can easily manage and extend their Linux and FreeBSD workloads.

In Summary

Providing the best experience for running Linux and FreeBSD on Hyper-V and in Microsoft Azure.

Customers have great choice and availability in running Linux and FreeBSD distributions.

Page 31: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Microsoft

♥Linux & FreeBSD

Page 32: Virtualizing Linux and FreeBSD Workloads on the Next Release of

CDP-B315 Running Linux and FreeBSD in Azure Hall 8.1, Room H on 10/30 @ 15:15

“Ask the Experts” Linux SessionHall 8.1, Table 13 on 10/30 @ 18:30

Related content

Page 34: Virtualizing Linux and FreeBSD Workloads on the Next Release of

ResourcesLearning

Microsoft Certification & Training Resourceswww.microsoft.com/learning

Developer Network

http://developer.microsoft.com

TechNetResources for IT Professionals

http://microsoft.com/technet

Sessions on Demandhttp://channel9.msdn.com/Events/TechEd

Page 35: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Come visit us in the Microsoft Solutions Experience (MSE)!Look for the Cloud and Datacenter Platform area TechExpo Hall 7

For more informationWindows Server Technical Previewhttp://technet.microsoft.com/library/dn765472.aspx

Windows Server

Microsoft Azure

Microsoft Azurehttp://azure.microsoft.com/en-us/

System Center

System Center Technical Previewhttp://technet.microsoft.com/en-us/library/hh546785.aspx

Azure Pack Azure Packhttp://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack

Page 36: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Please Complete An Evaluation FormYour input is important!TechEd Schedule Builder CommNet station or PC

TechEd Mobile appPhone or Tablet

QR code

Page 37: Virtualizing Linux and FreeBSD Workloads on the Next Release of

Evaluate this session

Page 38: Virtualizing Linux and FreeBSD Workloads on the Next Release of

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.