SLES 12 Virtualization
Total Page:16
File Type:pdf, Size:1020Kb
SUSE® Virtualization Technologies Roadmap Michal Svec Jason Douglas Senior Product Manager Senior Engineering Manager [email protected] [email protected] Agenda Virtualization @SUSE Enhancements in XEN/KVM Enhancements in Linux Containers and Docker Virtualization with VMware Virtualization with Microsoft Virtualization in the Clouds 2 Virtualization @SUSE SUSE Virtualization • Virtualization is a key component in SUSE strategy! • Xen ‒ SUSE first to deliver Xen to the Enterprise in SLES 10 GA ‒ SUSE continues to support Xen in SLE 12 • KVM ‒ SUSE first to deliver KVM to the Enterprise in SLES 11 GA ‒ SUSE first to deliver KVM on IBM System z in SLES 11 SP3 4 5 Virtualization use cases use Virtualization Host Guest Dual Hypervisor Support Hypervisor Dual In Your Data Center Data Your In Perfect Guest Available in Public Clouds Clouds Public in Available In the Clouds the In Cloud Hosts Cloud Virtualization Host • Full Support for leading open source hypervisors included in the platform – KVM and Xen • Support for x86, x86_64, IBM System z and POWER8 (Tech Prev) • Support for major virtualization features, incl. memory, network or block device hotplugging, VM save/restore, CPU or memory overcommitment, live migration, snapshots • Support for OS-level or application virtualization with Linux Containers (LXC) and Docker 6 Perfect Guest • Perfect Guest strategy, operating system tuned to run great as a guest on all major hypervisors, including ‒ VMware ESX ‒ Microsoft Hyper-V ‒ Citrix XenServer ‒ Oracle VM ‒ LPAR and z/VM for IBM System z ‒ SUSE Linux Enterprise Server with KVM, Xen, LXC and Docker ‒ SUSE Cloud ‒ Public Clouds 7 Virtualization in the Cloud • Public Cloud: ‒ Broadly deploy SUSE Linux Enterprise Server through SUSE Cloud Service Provider Program • Private Cloud: ‒ Deliver cloud infrastructure solution powered by OpenStack • Hybrid Cloud: ‒ Tightly integrate SUSE Studio and SUSE Manager with SUSE Cloud to deliver a platform and tools that enable enterprise hybrid clouds 8 Virtualization in the Cloud Ecosystem SUSE Studio SUSE Cloud SUSE Manager Building workloads Highly flexible and - Provisioning for physical and adaptable cloud - Management cloud environments infrastructure - Monitoring SUSE Linux Enterprise The foundation for your datacenter workloads and virtualization 9 Virtualization Enhancements in SLES 12 SLES 12 Virtualization • Continued Xen Support, but with changes • Updated Virtualization Packages ‒ xen 4.4.1 ‒ qemu 2.0 ‒ kernel 3.12.x (including kvm updates and “xenified” kernel flavor) ‒ libvirt 1.2.5 ‒ virt-manager 1.0.1 ‒ virt-install 1.0.1 ‒ vm-install 0.8.32 ‒ virt-viewer 1.0 ‒ guestfs 1.26.3 11 SLES 12 Virtualization • Virtualization Tools ‒ v2v tool (Xen to KVM) ‒ Extensive v2v documentation ‒ Switch to virt-install as default installer ‒ SPICE support in tools – remote server UI ‒ Guest Agent for Linux and Windows 12 SLES 12 Virtualization • RIP xm/xend ‒ Officially deprecated upstream in Xen 4.3 ‒ Removed from sources in upcoming Xen 4.5 ‒ Managed (or persistent) domains are gone ‒ /etc/xen/xend-config.sxp is gone ‒ domUloader is gone ‒ Support for s-expression config format is gone • Welcome xl/libxl (aka libxenlight)! 13 xl/libxl • Fast, light-weight, improved concurrency • Technology preview in SLES 11 SP3 ‒ Recommend disabling xend when using xl/libxl • Default toolstack in openSUSE 13.1 • Only toolstack in SLE 12, openSUSE 13.2, & Factory 14 xend vs libxl xend libxl xm libvirt vm-install xl libvirt state state xend libxl state 15 xl vs xm Config Format • xm config is a subset of xl ‒ Existing xm config should just work with xl ‒ Exception: embedded python • xl supports a new disk config syntax • New features only supported in xl format ‒ SPICE, paging options (hap, shadow_memory), device model, ... • libvirt supports both formats (plus s-expression) 16 SLE 11 SP3 Xen → SLE 12 Xen Upgrade • Export domain config virsh dumpxml > dom.xml • Upgrade to SLE 12 • Import domain config virsh define dom.xml • Or use xen2libvirt utility ‒ xen2libvirt –recursive /var/lib/xend/domains • No live migration of domains from SLE 11 SP3 to SLE 12 host 17 SLES 12 QEMU / KVM Highlights • General Status of QEMU/KVM: ‒ QEMU v2.0 and KVM in v3.12 kernel ‒ Available on Intel 64 / AMD 64, IBM System z and POWER 8! • Libvirt preferred management layer ... ‒ QEMU command line supported for access to more features • New Features ‒ vfio support ‒ Linux and Windows Guest-Agent ‒ Hotplug vcpus ‒ Improved NUMA Support (coming in qemu 2.1 update) ‒ Hotplug memory (tech preview with qemu 2.1 update) 18 KVM at SUSE – Where We Rely on KVM • SUSE is exclusively using KVM for its mission-critical servers ‒ NIS, NFS, webservers, etc. • SUSE Studio uses KVM exclusively ‒ Build and Test Drive workers ‒ 600,000 users; 7,500 image builds each weak • Open Build Service uses KVM guests ‒ Build workers ‒ 75,000 package builds per day • R&D, QA 19 Optimized vSphere Guest Performance • VMware tools and drivers integrated with SLES 12 for best out-of-the-box experience – open-vm-tools – vmware_balloon APP APP SLES 12 SLES 12 – vmw_vmci Tools Tools Drivers Drivers – vmw_vsock vSphere – vmxnet3 – vmw_pvscsi – vmwgfx • Fully supported by VMware via L3 support agreement 20 Hyper-V • Hyper-V - new features supported in SLES 12 - Dynamic memory support - Hot Add and Ballooning - Live VM backup support - Synthetic 2D driver - Dynamic resize of fixed sized VHD - Synthetic fiber channel support 21 SLES 12 Supported Guests (1/2) SLES 12 SLES 11 SP3 SLES 10 SP4 SLED 12 (technology preview) OES 2 SP3 OES 11 SP1 NetWare PV 6.5 SP8 (32-bit) RHEL 5 (*) RHEL 6 (*) RHEL 7 (*) 22 SLES 12 Supported Guests (2/2) MS Windows 2003 SP2+ MS Windows 2008 SP2+ MS Windows 2008 R2 SP1+ MS Windows 2012+ MS Windows 2012 R2+ MS Windows Vista SP2+ (best effort) MS Windows 7 SP1+ (best effort) MS Windows 8+ (best effort) 23 SUSE Linux Enterprise Virtual Machine Driver Pack • VMDP for best guest support ‒ Support for SUSE Linux Enterprise Server 12 ‒ Support for Microsoft Windows Server 2012 R2 and Windows 8.1 ‒ Easier migration from one hypervisor to another (Xen → KVM) ‒ Simple host to guest access (Windows Guest Agent) ‒ Numerous bug fixes and enhancements 24 Outlook – SLES 11 SP4 • Hardware enablement (VMCS shadowing, Haswell) • Support latest Hyper-V features (Gen2 VMs, host to guest copy) • VMware tools integration • Linux guest agent support • Amazon EC2-related improvements • Update to Xen 4.4 25 Outlook – SLES 12 SP1 • Memory hot plug • Hardware enablement (SMAP; System z, POWER) • Various improvements (IOMMU, SR-IOV, NUMA) • Evaluate management tooling • P2V tooling 26 SLES 12 Virtualization at SUSECon For more information: ‒ TUT7500 “A New Xen in SUSE Linux Enterprise Server 12” ‒ Wednesday 3:15-4:15 ‒ Thursday 8:30-9:30 ‒ TUT8224 “SLES 12 KVM - Taking Advantage of the Latest Features of KVM Virtualization” ‒ Tuesday 3:15-4:15 (immediately after our first session) ‒ Wednesday 9:40-10:40 (immediately after our second session) ‒ TUT8220 “Virtualization Best Practices and Troubleshooting“ ‒ Wednesday 4:30-5:30 ‒ Thursday 9:40-10:40 27 Virtualization Enhancements Container Technologies 29 Application container Linux Containers Guest Guest OS Bins/Libs App A Guest OS Bins/Libs App A' Hypervisor (Type 2) (Type Hypervisor Host Host OS Server System container Guest OS Guest Bins/Libs Kernel App B Guest OS Guest Bins/Libs Kernel App B' Why Use Linux Containers? • Lightweight virtualization solution ‒ Isolated from the other processes ‒ 1 kernel to rule them all ‒ Normal I/O ‒ Dynamic changes possible without reboot ‒ Nested virtualization is not a problem ‒ No boot time or very short one • Isolate services (e.g. web server, ftp, ...) • Provide root read-only access ‒ Mount host / as read-only ‒ Add only needed resources read-write 30 What's New in SLES 12 • Better integration and management of Linux Containers ‒ Uses libvirt-lxc framework ‒ Same management layer as KVM and XEN ‒ Allows for integration with SUSE Manager and SUSE Cloud ‒ Unified tooling, independent of the “virtualization” mechanism • SELinux and AppArmor support for LXC • Filesystem copy-on-write (btrfs integration) • Docker 31 What is Docker? “Pack, ship and run any application as a container” • 50+ million downloads • 700+ contributors • 40,000+ “Dockerized” apps in Docker’s index • 128+ meetups over 43 countries • 15,000 3rd party projects and partnerships 32 SUSE and Linux Containers • SLES 11 ‒ SP2 introduced Linux Containers (LXC) ‒ SP3 brought further enhancements (easy configuration) • SLES 12 ‒ Introduced Docker ‒ Templates for SLE 12, SLE 11 SP3, SLE 11 SP2 ‒ KIWI (image building tool) supports Docker as backend ‒ Script to create SLE Docker images • SLES 12 coming soon (as an update) ‒ YaST interface for Docker ‒ Easy to get SLES 11 SP3 and SLES 12 Docker images 33 Docker – Integration with YaST 34 Virtualization Story SUSE Studio SUSE Cloud SUSE Manager Building workloads Highly flexible and - Provisioning for physical and adaptable cloud - Management cloud environments infrastructure - Monitoring SUSE Linux Enterprise The foundation for your datacenter workloads and virtualization 35 Questions? Thank you. 36 Corporate Headquarters +49 911 740 53 0 (Worldwide) Join us on: Maxfeldstrasse 5 www.suse.com www.opensuse.org 90409 Nuremberg Germany 37 Unpublished Work of SUSE LLC. All Rights Reserved. This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE LLC. Access to this work is restricted to SUSE employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of SUSE. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability. General Disclaimer This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions.