Virtualizing Linux and Free BSD Workloads on Windows
Virtualizing Linux and Free. BSD Workloads on Windows Server Hyper-V Michael Kelley INF 335 A
Agenda Product goals Overview of Linux and Free. BSD Integration Services Supported Linux and Free. BSD distributions Linux and Free. BSD features LIS demo LIS hints and tips Free. BSD goals and status This session focuses on what’s available today!
Product Goals The reality: Your datacenter is heterogeneous You operate Windows workloads You operate workloads on Linux, Free. BSD, and other operating systems You just want it all to work Our goal: You can run Linux or Free. BSD in a Microsoft cloud as easily as you run Windows You get great functionality You get great performance It just works The foundation: Linux/Free. BSD runs great on Hyper-V On premises In the Microsoft Azure public cloud
Universe of Hyper-V Functionality Outside the Guest Super-fast live migration w/RDMA Software Defined Networking Software Defined Storage Qo. S ……… Functionality Requiring Guest Cooperation Enhanced management Dynamic memory Live backup Generation 2 VMs ………
Yes No No • • AIX, HP-UX Solaris SPARC Windows RT Emulated Devices No Hyper-V integration Limited manageability Limited functionality OK CPU, weak disk/net Solaris x 86 Linux with no IS BSD with no IS Linux with IS Free. BSD with IS Windows with IS
Microsoft developers LIS for Hyper-V LIS fo r. H yp er -V Customer installs LIS Customer servers with Hyper-V Linux community MS download center Linux distro w/LIS Distro vendors . . Linux kernel main
Red Hat Enterprise Linux (RHEL) LIS Built-in? Cent. OS LIS download? Version 32/64? LIS 4. 0 5. 5 thru 5. 8 32 & 64 LIS 4. 0 5. 9 thru 5. 11 32 & 64 LIS 4. 0 6. 0 thru 6. 3 32 & 64 LIS Built-in? LIS download? Version 32/64? 5. 5 thru 5. 8 32 & 64 5. 9 thru 5. 11 32 & 64 6. 0 thru 6. 3 32 & 64 6. 4 thru 6. 7 32 & 64 Yes LIS 4. 0 7. 0 thru 7. 1 64 only Yes LIS 4. 0 LIS 4. 0 RHEL versions with LIS built-in are certified by Red Hat for running on Hyper-V, so you get the full benefits of your RHEL subscription
Ubuntu Server SUSE Linux Enterprise Server (SLES) Version 32/64? LIS 12. 04 32 & 64 Built-in 11 SP 2 32 & 64 Built-in 12. 10 32 & 64 Built-in 11 SP 3 32 & 64 Built-in 13. 04 32 & 64 Built-in 11 SP 4 32 & 64 Built-in 13. 10 32 & 64 Built-in 12 64 only Built-in 14. 04 32 & 64 Built-in 14. 10 32 & 64 Built-in 15. 04 32 & 64 Built-in 15. 10 32 & 64 Built-in
Debian Server Oracle Linux Version 32/64? LIS Red Hat Compatible Kernel 6. 4 -6. 7 32 & 64 Built-in 7. 0 thru 7. 8 32 & 64 Built-in 7. 0 -7. 1 64 only Built-in 8. 0 thru 8. 2 32 & 64 Built-in Unbreakable Enterprise Kernel 6. 5 -6. 7 32 & 64 Built-in 7. 0 -7. 1 64 only Built-in
Free. BSD Version BIS Availability 8. 4 Ports 9. 1 - 9. 3 Ports 10. 0 Built-in (Download KVP package from Ports) 10. 1 – 10. 2 Built-in
Hyper-V Manager Powershell SC VMM & Azure Pack (Linux only) Azure public cloud
Startup Memory ❶ Hot-Add: Linux memory size increases Maximum Memory 0 ❷ Ballooning: Removes memory. Linux memory size is unchanged. Sum of dark blue doesn’t go below “Minimum Memory” ❸ Ballooning: Adds memory back. Linux memory size is unchanged
Available/Addressable memory in MB Output of “watch free –m” command in Linux bash shell. Actual Allocated Memory tab in Hyper-V Manager
User Space Linux Guest VSS Daemon File sys buffers Kernel ❸ LIS VSS components freeze the file systems and flush in memory buffers VSS Driver ❷ Hyper-V signals LIS inside the Linux guest to do backup steps ❶ Utility tells Hyper-V to start VM backup Hyper-V Host ❹ Hyper-V creates a VM checkpoint & tells LIS to unfreeze the FSs Hyper-V Storage Guest VHD ❺ VSS in Hyper-V creates a snapshot of volume hosting the VHD Backup Utility ❻ Utility copies filesystem consistent VHD from the snapshot Backup Storage
iperf 3 (16 threads) 9. 4 Gbps throughput 10 G Ethernet (16 threads) …
KB 2956569
# rpm –qa | grep hyper-v microsoft-hyper-v-4. 0. 7 -20150417. x 86_64 LIS version
http: //git. kernel. org/cgit/linux/kernel/git/next/linux-next. git/tree/? id=HEAD https: //github. com/LIS/lis-next
♥ ADC VA Growth in 2014 88% Hyper-V and Azure support Microsoft recently made a committer to the Free. BSD kernel Seamless transition from private to public cloud 16% Network Appliances Storage Security. Virtual Appliances Hardware-based appliances % 1 Q 13 -1 Q 14 Growth by Infonetics research
BIS for Hyper-V Free. BSD Foundation n tio a r teg n I BIS ® n tio a r teg n I BIS Free. BSD IS Ports from Free. BSD. org Free. BSD OS For support with issues running Free. BSD on Hyper-V: Contact freebsd-virtualization@freebsd. org
Integration Services 1. 0 built into Free. BSD 10 today Functional, but lacking core support to enable high performance I/O Supported on a “best effort” basis by Microsoft Customer Support Integration Services 2. 0 for Free. BSD 10. x Includes feature investments in core areas to enable production workloads Core: KVP driver and daemon – Available in 10. 1 Core: VMBus multi-channel & Signal optimization – 10. 2 and 11 Storage: Storage sub-channel & Scatter/Gather List – 10. 2 and 11 Integration Services 3. 0 Free. BSD 10. x & Head (11) Includes feature investments in storage and improved networking performance Networking: TCP Segment Offload (TSO) & Common Address Redundancy Protocol (CARP) – 10. 2 & 11 Storage: Hot Add/remove SCSI disk – 10. 2 and 11 Networking: Virtual Receive-Side Scaling (v. RSS), Multi-Queue & Live Virtual Machine Backup – 11
Azure Marketplace Azure certified virtual appliances “Bring your own” Free. BSD to Azure Prepare your own Free. BSD image and upload to your Azure storage account VMDepot Community Images Community created images available Free. BSD. org published images as well ® ® ®
My Ignite
Continue your Ignite learning path Visit Microsoft Virtual Academy for free online training visit https: //www. microsoftvirtualacademy. com Visit Channel 9 to access a wide range of Microsoft training and event recordings https: //channel 9. msdn. com/ Head to the Tech. Net Eval Centre to download trials of the latest Microsoft products http: //Microsoft. com/en-us/evalcenter/
© 2015 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. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
- Slides: 41