10 Years of Xen and beyond

Similar documents
Virtualization in the Cloud: Featuring Xen and XCP

Xen: FOSS Hypervisor for the Cloud

Xen Project 4.4: Features and Futures. Russell Pavlicek Xen Project Evangelist Citrix Systems

Xen Cloud Platform Update

LinuxCon/CloudOpen 2015

Securing Your Cloud with Xen Project s Advanced Security Features

SUSE Virtualization Technologies Roadmap

Enabling Technologies for Distributed Computing

Virtualization for Cloud Computing

Enabling Technologies for Distributed and Cloud Computing

Module I-7410 Advanced Linux FS-11 Part1: Virtualization with KVM

Full and Para Virtualization

What is the difference between XenServer and the open-source Xen Project Hypervisor?

Xen Virtualization: Xen (source) and XenServer

9/26/2011. What is Virtualization? What are the different types of virtualization.

Regional SEE-GRID-SCI Training for Site Administrators Institute of Physics Belgrade March 5-6, 2009

The QEMU/KVM Hypervisor

Performance tuning Xen

RPM Brotherhood: KVM VIRTUALIZATION TECHNOLOGY

Servervirualisierung mit Citrix XenServer

Virtualization. Dr. Yingwu Zhu

RED HAT ENTERPRISE VIRTUALIZATION

A Highly Versatile Virtual Data Center Ressource Pool Benefits of XenServer to virtualize services in a virtual pool

The Art of Virtualization with Free Software

Microkernels, virtualization, exokernels. Tutorial 1 CSC469

Basics in Energy Information (& Communication) Systems Virtualization / Virtual Machines

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

Google

Virtualization. Types of Interfaces

The XenServer Product Family:

Citrix XenServer Product Frequently Asked Questions

Citrix XenServer-6.2 Administration Training

FOR SERVERS 2.2: FEATURE matrix

Virtualization: Know your options on Ubuntu. Nick Barcet. Ubuntu Server Product Manager

Citrix XenServer 7 Feature Matrix

2972 Linux Options and Best Practices for Scaleup Virtualization

Operating Systems Virtualization mechanisms

Xen and XenServer Storage Performance

Cloud Computing with Red Hat Solutions. Sivaram Shunmugam Red Hat Asia Pacific Pte Ltd.

COS 318: Operating Systems. Virtual Machine Monitors

Intro to Virtualization

CPET 581 Cloud Computing: Technologies and Enterprise IT Strategies. Virtualization of Clusters and Data Centers

Virtualization Management the ovirt way

<Insert Picture Here> Oracle Database Support for Server Virtualization Updated December 7, 2009

Virtual Computing and VMWare. Module 4

Citrix XenServer 7.0 Virtual Machine User's Guide. Published June Edition

Virtualization Technologies and Blackboard: The Future of Blackboard Software on Multi-Core Technologies

VMware and CPU Virtualization Technology. Jack Lo Sr. Director, R&D

KVM KERNEL BASED VIRTUAL MACHINE

Options in Open Source Virtualization and Cloud Computing. Andrew Hadinyoto Republic Polytechnic

Enterprise-Class Virtualization with Open Source Technologies

Citrix XenServer 6.5 Virtual Machine User's Guide. Published Monday, 20 April Edition

Storage XenMotion: Live Storage Migration with Citrix XenServer

Virtualization. Introduction to Virtualization Virtual Appliances Benefits to Virtualization Example Virtualization Products

Virtualization benefits Introduction to XenSource How Xen is changing virtualization The Xen hypervisor architecture Xen paravirtualization

Date: December 2009 Version: 1.0. How Does Xen Work?

Enhancing Hypervisor and Cloud Solutions Using Embedded Linux Iisko Lappalainen MontaVista

Introduction to Virtualization & KVM

High Performance OpenStack Cloud. Eli Karpilovski Cloud Advisory Council Chairman

ovirt: Open Your Virtual Data Center

XenServer User Security

OnApp Cloud. The complete platform for cloud service providers. 114 Cores. 286 Cores / 400 Cores

Red Hat enterprise virtualization 3.0 feature comparison

SUSE Linux Enterprise 10 SP2: Virtualization Technology Support

Advanced Computer Networks. Network I/O Virtualization

Increasing XenServer s VM density

SUSE Virtualization Technologies Roadmap

ovirt Introduction James Rankin Product Manager Red Hat Virtualization Management the ovirt way

Overview. The OnApp Cloud Platform. Dashboard APPLIANCES. Used Total Used Total. Virtual Servers. Blueprint Servers. Load Balancers.

Networking for Caribbean Development

OPEN SOURCE VIRTUALIZATION TRENDS. SYAMSUL ANUAR ABD NASIR Warix Technologies / Fedora Community Malaysia

Virtualization. Jia Rao Assistant Professor in CS

Virtualization. Nelson L. S. da Fonseca IEEE ComSoc Summer Scool Trento, July 9 th, 2015

Comparing Free Virtualization Products

Cloud^H^H^H^H^H Virtualization Technology. Andrew Jones May 2011

With Red Hat Enterprise Virtualization, you can: Take advantage of existing people skills and investments

Hyper-V vs ESX at the datacenter

Virtualizare sub Linux: avantaje si pericole. Dragos Manac

OVERVIEW. The complete IaaS platform for service providers

Open Source Virtualization with ovirt. DI (FH) René Koch Systems Engineer Siedl Networks GmbH Grazer Linuxtage,

Citrix XenServer 5.6 Feature Pack 1 Quick Start Guide. Published Monday, 17 January Edition

Introduction to ovirt

Installing & Using KVM with Virtual Machine Manager COSC 495

PowerVC 1.2 Q Power Systems Virtualization Center

HRG Assessment: Stratus everrun Enterprise

F I G U R E 1. (% of respondents) Combination of multiple hypervisors Standardize on one hypervisor

Chapter 16: Virtual Machines. Operating System Concepts 9 th Edition

KVM Security Comparison

Cloud Computing CS

VIRTUALIZATION 101. Brainstorm Conference 2013 PRESENTER INTRODUCTIONS

Transcription:

10 Years of Xen and beyond Lars Kurth Xen Project Community Manager lars.kurth@xen.org @lars_kurth FREENODE: lars_kurth

Xen.org becomes XenProject.org Teams aka sub-projects Hypervisor XAPI ARM Hypervisor (for Servers as well as Mobile Devices) Mirage OS Governance : mixture between Linux Kernel and Apache Consensus decision making Sub-project life-cycle (aka incubator) PMC style structure for team leadership Funded by member companies (Advisory Board)

Xen contributor community is diversifying 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 2010 2011 2012 The number of significant active vendors is increasing New feature development driving new participation Citrix SUSE University GridCentric NSA Fujitsu Misc Spectralogic UPC Amazon AMD Individual Intel iweb Oracle University of British Columbia

Hypervisor Architecture

Hypervisor Architectures Type 1: Bare metal Hypervisor A pure Hypervisor that runs directly on the hardware and hosts Guest OS s. VM 0 VM 1 VM n Guest OS and Apps Scheduler Hypervisor Device Drivers/Models MMU I/O Memory CPUs Host HW Provides partition isolation + reliability, higher security

Hypervisor Architectures Type 1: Bare metal Hypervisor A pure Hypervisor that runs directly on the hardware and hosts Guest OS s. Type 2: OS Hosted A Hypervisor that runs within a Host OS and hosts Guest OS s inside of it, using the host OS services to provide the virtual environment. VM n User-level VMM VM n VM 0 VM 1 User Apps Device Models VM 0 VM 1 Device Drivers/Models Scheduler MMU Guest OS and Apps Hypervisor Host OS Device Drivers Ring-0 VM Monitor Kernel Guest OS and Apps I/O Memory CPUs Host HW Host HW I/O Memory CPUs Provides partition isolation + reliability, higher security Low cost, no additional drivers Ease of use & installation

Xen: Type 1 with a Twist Type 1: Bare metal Hypervisor VM 0 VM 1 VM n Guest OS and Apps Device Drivers/Models Scheduler MMU Hypervisor I/O Memory CPUs Host HW

Xen: Type 1 with a Twist Type 1: Bare metal Hypervisor Xen Architecture VM n VM 1 VM n VM 0 VM 1 Scheduler Guest OS and Apps Hypervisor VM 0 Guest OS and Apps Device Drivers/Models MMU Scheduler MMU Hypervisor I/O Memory CPUs Host HW I/O Memory CPUs Host HW

Xen: Type 1 with a Twist Type 1: Bare metal Hypervisor Xen Architecture Control domain (dom0) VM 1 VM n Device Models VM n VM 0 VM 1 Scheduler Guest OS and Apps Hypervisor Drivers Linux & BSD VM 0 Guest OS and Apps Device Drivers/Models MMU Scheduler MMU Hypervisor I/O Memory CPUs Host HW I/O Memory CPUs Host HW

Xen Project and Linux Xen Hypervisor is not in the Linux kernel BUT: everything Xen and Xen Guests need to run is! Xen packages are in all Linux distros (except RHEL6) Install Dom0 Linux distro Install Xen package(s) or meta package Reboot Config stuff: set up disks, peripherals, etc. More info: wiki.xen.org/wiki/category:host_install

Basic Xen Concepts Console Interface to the outside world Control domain (dom0) I/O Dom0 Kernel Scheduler MMU XSM Memory Trusted Computing Base CPUs VM 0 VM 1 VM n Guest OS and Apps Hypervisor Host HW Control Domain aka Dom0 Dom0 kernel with drivers Xen Management Toolstack Guest Domains Your apps Driver/Stub/Service Domain(s) A driver, device model or control service in a box De-privileged and isolated Lifetime: start, stop, kill 11

Basic Xen Concepts Control domain (dom0) I/O Toolstack Dom0 Kernel Console Scheduler MMU XSM Memory Trusted Computing Base CPUs VM 0 VM 1 VM n Guest OS and Apps Hypervisor Host HW Console Interface to the outside world Control Domain aka Dom0 Dom0 kernel with drivers Xen Management Toolstack Guest Domains Your apps Driver/Stub/Service Domain(s) A driver, device model or control service in a box De-privileged and isolated Lifetime: start, stop, kill 12

Basic Xen Concepts Control domain (dom0) I/O Toolstack Dom0 Kernel Console Memory One or more driver, stub or service domains Scheduler MMU XSM Trusted Computing Base CPUs VM 0 VM 1 VM n Guest OS and Apps Hypervisor Host HW Console Interface to the outside world Control Domain aka Dom0 Dom0 kernel with drivers Xen Management Toolstack Guest Domains Your apps Driver/Stub/Service Domain(s) A driver, device model or control service in a box De-privileged and isolated Lifetime: start, stop, kill 13

Xen Variants for Server & Cloud Hypervisor Xen Hypervisor 14

Xen Variants for Server & Cloud Hypervisor Xen Hypervisor Toolstack / Console Default / XL (XM) Libvirt / VIRSH XAPI / XE Increased level of functionality and integration with other components Single Host Basic Functions Single Host Additional Functionality Multiple Hosts Additional Functionality 15

Xen Variants for Server & Cloud Hypervisor Xen Hypervisor Toolstack / Console Default / XL (XM) Libvirt / VIRSH XAPI / XE Increased level of functionality and integration with other components Single Host Basic Functions Single Host Additional Functionality Multiple Hosts Additional Functionality

Xen Variants for Server & Cloud Project Xen Hypervisor Toolstack / Console Default / XL (XM) Libvirt / VIRSH XAPI / XE Increased level of functionality and integration with other components Products Oracle VM Huawei UVP Citrix XenServer 17

Xen Variants for Server & Cloud Project Xen Hypervisor Toolstack / Console Default / XL (XM) Libvirt / VIRSH XAPI / XE Increased level of functionality and integration with other components Products Oracle VM Huawei UVP Citrix XenServer Used by 18

Xen : Types of Virtualization

PV Domains Control domain (dom0) PV Back Ends HW Drivers Dom0 Kernel Guest VM n Apps PV Front Ends Guest OS Technology: Paravirtualization Linux PV guests have limitations: limited to a subset of set of virtual HW Advantages Fast Works on any system (even without virt extensions) Xen Hypervisor I/O Memory CPUs Host HW 20

PV Domains & Driver Domains Control domain (dom0) PV Back Ends HW Drivers Dom0 Kernel Guest VM n Apps PV Front Ends Guest OS Driver Domain e.g. Disk Network PV Back End HW Driver Dom0 Kernel* Technology: Paravirtualization Linux PV guests have limitations: limited to a subset of virtual HW Advantages Fast Works on any system (even without virt extensions) I/O Memory CPUs Xen Hypervisor Host HW Driver Domains Security Isolation Reliability and Robustness *) Can be MiniOS 21

HVM & Stub Domains Dom0 Guest VM n Technology: Shows emulation using QEMU/Device Model (SW Virtualization) Device Model IO Emulation In other situation HW can be used Disadvantages IO Event Emulation slower than PV (mainly I/O devices) Dom0 Kernel VMEXIT Xen Hypervisor Advantages No kernel support needed I/O Memory CPUs Host HW 22

HVM & Stub Domains Dom0 Guest VM n Stubdom n Guest VM n Technology: Shows emulation using QEMU/Device Model (SW Virtualization) Device Model IO Emulation Device Model IO Emulation In other situation HW can be used Disadvantages IO Event IO Event Emulation slower than PV (mainly I/O devices) Dom0 Kernel VMEXIT Mini OS VMEXIT Xen Hypervisor Advantages No kernel support needed I/O Memory CPUs Host HW Stub Domains Security Isolation Reliability and Robustness 23

The Virtualization Spectrum VS VH P Virtualized (SW) Virtualized (HW) Paravirtualized Fully Virtualized (FV) VS VS VS VH FV with PV for disk & network P VS VS VH PVHVM P P VS VH PVH Xen 4.4 P P P VH Fully Paravirtualized (PV) P P P P HVM mode/domain PV mode/domain

The Virtualization Spectrum Optimal performance Scope for improvement Poor performance Fully Virtualized (FV) VS VS VS VH FV with PV for disk & network P VS VS VH PVHVM P P VS VH PVH Xen 4.4 P P P VH Fully Paravirtualized (PV) P P P P HVM mode/domain PV mode/domain

The Virtualization Spectrum Optimal performance Scope for improvement Important: Xen automatically picks the best option based on HW & OS capabilities and available drivers. As a Xen user I chose a HVM or PV domain. Poor performance Fully Virtualized (FV) VS VS VS VH FV with PV for disk & network P VS VS VH PVHVM P P VS VH PVH Xen 4.4 P P P VH Fully Paravirtualized (PV) P P P P HVM mode/domain PV mode/domain

XAPI, XCP and XCP-XAPI : What is it? Hypervisor Xen Hypervisor Toolstack / Console Default / XL (XM) Libvirt / VIRSH XAPI / XE Increased level of functionality and integration with other components Single Host Basic Functions Single Host Additional Functionality Multiple Hosts Additional Functionality

XAPI : What do I get? Xen Hypervisor XAPI / XE Multiple Hosts Additional Functionality VM lifecycle: live snapshots, checkpoint, migration Storage XenMotion: Migrate VMs between hosts or pools without shared storage (while the VM is running) Resource pools: flexible storage and networking Event tracking: progress, notification Upgrade and patching capabilities Real-time performance monitoring and alerting Templates for Windows and Linux guests Open vswitch support built-in (default) More info: wiki.xen.org/wiki/xcp_release_features

XAPI : two variants! Xen Hypervisor XAPI / XE XCP ISO (at v1.6) Xen 4.1.3 + XAPI CentOS 5.3 Kernel (v2.6.32.43) OVS 1.4.2 Multiple Hosts Additional Functionality XCP-XAPI packages Debian Wheezy Ubuntu 12.04 LTS Others in progress

XAPI : Orchestration and UIs Xen Hypervisor XAPI / XE Multiple Hosts Additional Functionality

Other XEN Cloud Orchestration Xen Hypervisor XM or XL Xen Hypervisor Libvirt Single Host Basic Functions Single Host Additional Functionality

Challenges for FOSS hypervisors

Security and QoS/Reliability are amongst the top 3 blockers for cloud adoption www.colt.net/cio-research

System characteristics cloud users care about: Robustness, Performance, Scalability & Security Results XCP User Survey 2013 90% of users quoted these as most important attributes

Disaggregation Split Control Domain into Driver, Stub and Service Domains See: Breaking up is hard to do @ Xen Papers See: Domain 0 Disaggregation for XCP and XenServer Used today by Qubes OS and Citrix XenClient XT Prototypes for XAPI See qubes-os.org Different windows run in different VMs

Benefits of Disaggregation More Security Increased serviceability and flexibility Better Robustness Better Performance Better Scalability Ability to safely restart parts of the system (e.g. just 275ms outage from failed Ethernet driver)

Next: XAPI Architecture Diagram Before and After Disaggregation

User VM User VM NF BF NF BF NB gntdev NB gntdev gntdev Dom0 Domain manager healthd xenopsd libxl Xen Network drivers networkd vswitch Dom0 NFS/ iscsi drivers storaged tapdisk blktap3 Qemu xapi Qemu Network NFS/ Local drivers iscsi storage drivers drivers qemu syslogd xapi eth eth eth eth scsi.... xapi Dom0 Xen qemu networkd vswitch storaged tapdisk blktap3 storaged tapdisk blktap3 NIC (or SR- IOV VF) NIC (or SR- IOV VF) CPU RAM RAM CPU NIC (or SR- IOV VF) NIC (or SR- IOV VF) RAID

User VM User VM NF BF NF BF NB gntdev NB gntdev gntdev Dom0 Domain manager healthd xenopsd libxl Network driver domain networkd vswitch NFS/ iscsi driver domain storaged tapdisk blktap3 Qemu domain qemu xapi domain xapi D o m 0... Logging domain syslogd Network driver domain networkd vswitch NFS/ iscsi driver domain storaged tapdisk blktap3 Local storage driver domain storaged tapdisk blktap3 dbus over v4v dbus over v4v eth eth eth eth scsi Xen Xen NIC (or SR- IOV VF) NIC (or SR- IOV VF) CPU RAM RAM CPU NIC (or SR- IOV VF) NIC (or SR- IOV VF) RAID

Xen Security Advantages Even without Advanced Security Features Well-defined trusted computing base (much smaller than on type-2 HV) Minimal services in hypervisor layer Xen Security Modules (or XSM) and FLASK XSM is Xen equivalent of LSM FLASK is Xen equivalent of SELinux Developed, maintained and contributed to Xen by NSA Compatible with SELinux (tools, architecture) XSM object classes maps onto Xen features More info: http://www.slideshare.net/xen_com_mgr/ a-brief-tutorial-on-xens-advanced-security-features 40

User VM User VM NF BF NF BF NB gntdev NB gntdev gntdev Dom0 Domain manager healthd xenopsd libxl Network driver domain networkd vswitch NFS/ iscsi driver domain storaged tapdisk blktap3 Qemu domain qemu xapi domain xapi D o m 0... Logging domain syslogd Network driver domain networkd vswitch NFS/ iscsi driver domain storaged tapdisk blktap3 Local storage driver domain storaged tapdisk blktap3 dbus over v4v dbus over v4v eth eth eth eth scsi FLASK policy restricting access Xen Xen NIC (or SR- IOV VF) NIC (or SR- IOV VF) CPU RAM RAM CPU NIC (or SR- IOV VF) NIC (or SR- IOV VF) RAID

Xen Advanced Security Recipes Xen has many Security Features (besides the ones I covered) Most are not switched on by default Although most are simple to use, some seen complicated See: http://www.slideshare.net/xen_com_mgr/ a-brief-tutorial-on-xens-advanced-security-features And more are be coming! 42

ARM Hypervisor

In depth presentation tomorrow Xen on ARM by Stefano Stabellini Xen and Xen-ARM Linux maintainer New York III from 10:45 to 11:30 Including a demo One mode to rule them all

Mirage OS

Library Operating Systems Application stacks only running on Xen APIs Works on any Xen based cloud or hosting service Examples ErlangOnXen.org : Erlang HalVM : Haskell Mirage OS : Ocaml Benefits: Small footprint Low startup latency Extremely fast migration of VMs Control domain (dom0) PV Back Ends HW Drivers Dom0 Kernel Guest VM n Apps Library OS embedded in Language run-time Xen Host HW

Mirage OS Recently added to Xen Project incubator In beta stage : first release on its way (July 2013) Clean-slate protocols implementations, e.g. TCP/IP, DNS, SSH, Openflow (switch/controller), HTTP, XMPP,... New applications using next generation XAPI (disaggregated XAPI architecture) More info: http://www.slideshare.net/xen_com_mgr/ mirage-extreme-specialisation-of-virtual-appliances

Hot Topics and Projects

Xen 4.3 Release (June 2013) Release candidates & Xen Test Days (today, June 5 th ) Xen ARM for Servers Extend scope of Xen Security Modules Default to QEMU upstream Updated and improved libvirt drivers for Xen Lots of other stuff: scalability, performance, better NUMA support, More info: http://lists.xen.org/archives/html/xen-devel/2013-05/msg01134.html

Xen 4 + XAPI in CentOS 6 (June 2013) For about a year members of the Xen Project, the CentOS community and large Xen Users have worked on bringing Xen and XAPI to CentOS 6 Driven by demand from the community : Can run Xen on CentOS 6 today, but non-trivial We wanted YUM INSTALL XEN Mostly a packaging problem Teams from CentOS, Citrix, Go Daddy & Rackspace QA and usability sanity checks

The Xen Community is Changing Growth is leading to more structure & more collaboration & more openness! Establishing a shared and open test infrastructure Goal: Increase development velocity Improved usability and better distro-integration Xen + XAPI in CentOS 6.4 More focus on downstreams OpenStack and Xen Orchestra Better libvirt and virt-manager integration Changing the XAPI / XCP release model Xen on ARM and collaboration with Linaro

Getting Started with Xen Projects Online : xenproject.org > User & Help menus Mailing Lists and IRC Q&A System Find me and I can get you hooked up! Events : xenproject.org/about/events.html Test Days (IRC at #xentest) today, June 5th Document Days (IRC at #xendocs) the next one is May 28 th User (Sept 18, New Orleans) and Developer Summits (Oct 24-25, Edinburgh) Hackathons - last week search for [Hackathon Minutes] on xen-devel

News: blog.xenproject.org Web: xenproject.org > Help Help for IRC, Lists, Stackoverflow like Q&A Wiki: wiki.xenproject.org Presentations: slideshare.net/xen_com_mgr Videos: vimeo.com/channels/xen Thank You! @lars_kurth FREENODE: lars_kurth Slides available under CC-BY-SA 3.0 From www.slideshare.net/xen_com_mgr