Virtualization in the Cloud Lars Kurth Xen Community Manager

Similar documents
Virtualization in the Cloud: Featuring Xen Lars Kurth Xen Community Manager

Virtualization Introduction

Transforming XenServer into a proper open-source project

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

Xen Community Update. Ian Pratt, Citrix Systems and Chairman of Xen.org

Xen. past, present and future. Stefano Stabellini

The only open-source type-1 hypervisor

Xen Project Overview and Update. Ian Pratt, Chairman of Xen.org, and Chief Scientist, Citrix Systems Inc.

Xen and CloudStack. Ewan Mellor. Director, Engineering, Open-source Cloud Platforms Citrix Systems

Experiences with OracleVM 3.3

Citrix XenServer 7.1 Virtual Machine User's Guide. Published November Edition

Chapter 5 C. Virtual machines

Xen Project Status Ian Pratt 12/3/07 1

Linux Virtualization Update

Originally prepared by Lehigh graduate Greg Bosch; last modified April 2016 by B. Davison

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

Citrix XenServer 7.2 Virtual Machine User's Guide. Published October Edition

Citrix XenServer 7.3 Virtual Machine User's Guide. Published December Edition

ElasterStack 3.2 User Administration Guide - Advanced Zone

Intro to ovirt. Itamar Heim Virtualization Management the ovirt way

SUSE An introduction...

Virtualization. ...or how adding another layer of abstraction is changing the world. CIS 399: Unix Skills University of Pennsylvania.

Virtual Machines. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Citrix XenServer 6.5 Virtual Machine User's Guide. Published Thursday, 15 January Edition

Distributed Systems. 31. The Cloud: Infrastructure as a Service Paul Krzyzanowski. Rutgers University. Fall 2013

Virtualization Food Fight. Rik van Riel

CHAPTER 16 - VIRTUAL MACHINES

Xen on ARM. Stefano Stabellini

What is Cloud Computing? Cloud computing is the dynamic delivery of IT resources and capabilities as a Service over the Internet.

Acronis Backup & Recovery 11.5

Virtualisation: The KVM Way. Amit Shah

Implementation and. Oracle VM. Administration Guide. Oracle Press ORACLG. Mc Grauv Hill. Edward Whalen

Red Hat enterprise virtualization 3.0

Measuring Disk Performance with Bonnie++ Application Benchmarks httperf: A Load Generator for HTTP Servers Another Application Benchmark: POV-Ray

CS370 Operating Systems

XenServer Master Class Networking

What is KVM? KVM patch. Modern hypervisors must do many things that are already done by OSs Scheduler, Memory management, I/O stacks

Acronis Backup Advanced Version 11.5 Update 6

Paperspace. Architecture Overview. 20 Jay St. Suite 312 Brooklyn, NY Technical Whitepaper

ENTERPRISE HYPERVISOR COMPARISON

Lecture 5: February 3

1 Virtualization Recap

Open Hybrid Cloud & Red Hat Products Announcements

Cloud environment with CentOS, OpenNebula and KVM

OSDC.de 2013 Introduction to OpenStack. Justin Clift Open Source & Standards RH 17 April 2013

QuickSpecs. HP Integrated Citrix XenServer. Overview. Retired

RHEV in the weeds - special sauce! Marc Skinner

Getting to Know Apache CloudStack

Virtualization. Dr. Yingwu Zhu

CloudStack Administration Guide

Virtualization Management the ovirt way

Red Hat Enterprise Virtualization Hypervisor Roadmap. Bhavna Sarathy Senior Technology Product Manager, Red Hat

Cloud and Datacenter Networking

CXS Citrix XenServer 6.0 Administration

Distributed Systems COMP 212. Lecture 18 Othon Michail

Xen on ARM ARMv7 with virtualization extensions

Red Hat enterprise virtualization 3.1 feature comparison

The OnApp Cloud Platform

INTRODUCING CONTAINER-NATIVE VIRTUALIZATION

My VM is Lighter (and Safer) than your Container

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Oracle Solaris Virtualization: From DevOps to Enterprise

Baremetal with Apache CloudStack

Hostless Xen Deployment

FAQ FOR VMWARE SERVER 2 - AUGUST, 2008

Linux and Xen. Andrea Sarro. andrea.sarro(at)quadrics.it. Linux Kernel Hacking Free Course IV Edition

SCALE 14X. The Bare-Metal Hypervisor as a Platform for Innovation. By Russell Pavlicek Xen Project Evangelist

In-Guest Mechanisms to Strengthen Guest Separation. XenSummit 2013 Philip Tricca

Virtualization. Virtualization

Azure Compute. Azure Virtual Machines

Andrew Pullin, Senior Software Designer, School of Computer Science / x4338 / HP5165 Last Updated: October 05, 2015

Citrix XenDesktop 2.0. Michael Schmidt Country Manager Switzerland Citrix Systems International GmbH

CSE543 - Computer and Network Security Module: Virtualization

VMware Overview VMware Infrastructure 3: Install and Configure Rev C Copyright 2007 VMware, Inc. All rights reserved.

KVM Forum Vancouver, Daniel P. Berrangé

z86vm a technology overview A New Evolution in Smart Computing for an Enterprise Jim Porell 05/09/2014

CSE543 - Computer and Network Security Module: Virtualization

fuel-plugin-xenserver Documentation

Data Center Virtualization: Xen and Xen-blanket

Virtual Pc Manual Windows 7 64 Bit Guest On 32-bit Host

CSE543 - Computer and Network Security Module: Virtualization

Docker Networking In OpenStack What you need to know now. Fawad Khaliq

Citrix XenServer 7.1 Feature Matrix

openqrm Enterprise Administrator Guide Enterprise System Adminstration and IaaS Datacenter Automation with openqrm 5.2

GRID SOFTWARE. DU _v4.6 January User Guide

How CloudEndure Works

OpenNebula on VMware: Cloud Reference Architecture

InstallAnywhere: Requirements

Securing your Virtualized Datacenter. Charu Chaubal Senior Architect, Technical Marketing 6 November, 2008

Red Hat Virtualization 4.1 Technical Presentation May Adapted for MSP RHUG Greg Scott

Introduction to Docker. Antonis Kalipetis Docker Athens Meetup

Red Hat Atomic Details Dockah, Dockah, Dockah! Containerization as a shift of paradigm for the GNU/Linux OS

Red Hat Enterprise Linux 8.0 Beta

AHV + NVIDIA VGPU INTEGRATION Malcolm Crossley AHV GPU Architect

How CloudEndure Disaster Recovery Works

How CloudEndure Disaster Recovery Works

Oracle VM Workshop Applica>on Driven Virtualiza>on

Fujitsu VDI / vgpu Virtualization

Table of Contents 1.1. Introduction. Overview of vsphere Integrated Containers 1.2

Ensure that the server where you install the Primary Server software meets the following requirements: Item Requirements Additional Details

Transcription:

Virtualization in the Cloud Lars Kurth Xen Community Manager lars.kurth@xen.org @lars_kurth @xen_com_mgr

A Brief History of Xen in the Cloud Late 90s XenoServer Project (Cambridge Univ.) The XenoServer project is building public infrastructure for wide-area distributed computing. We envisage a world in which XenoServer executon platorms will be scatered across the globe and available for any member of the public to submit code for executon. Global Public Computing This dissertation proposes a new distributed computing paradigm, termed global public computing, which allows any user to run any code anywhere. Such platforms price computing resources, and ultimately charge users for resources consumed. Evangelos Kotsovinos, PhD dissertaton, 2004

A Brief History of Xen in the Cloud Late 90s Oct 03 06 08 09 11 12 XenoServer Project (Cambridge Univ.) Xen Presented at SOSP Amazon EC2 and Slicehost launched Rackspace Cloud XCP 1.x Cloud Mgmt XCP packages in Linux XCP Announced

The Xen Hypervisor was designed for the Cloud straight from the outset!

Xen.org Guardian of Xen Hypervisor and related OSS Projects Xen project Governance similar to Linux Kernel Projects Xen Hypervisor (led by Citrix) Xen Cloud Platorm aka XCP (led by Citrix) Xen ARM : Xen for mobile devices (led by Samsung) PVOPS : Xen components and support in Linux Kernel (led by Oracle) 10+ vendors contributng more than 1% to the project (AMD, Citrix, Fujitsu, Huawei, Intel, Novell, Oracle, Samsung, Suse, )

Xen Overview

Basic Xen Concepts Control domain (dom0) I/O Toolstack Dom0 Kernel Scheduler, MMU Console Memory One or more driver, stub or service domains CPUs VM0 VM1 VMn Guest OS and Apps Xen Hypervisor Host HW Control Domain aka Dom0 Dom0 kernel with drivers Xen Management Toolstack Trusted Computng Base Guest Domains Your apps E.g. your cloud management stack Driver/Stub/Service Domain(s) A driver, device model or control service in a box De-privileged and isolated Lifetme: start, stop, kill 7

Xen Variants for Server & Cloud Xen Hypervisor XCP Toolstack / Console Default / XL (XM) Libvirt / VIRSH XAPI / XE Increased level of functonality and integraton with other components Get Binaries from Linux Distros Linux Distros Debian & Ubuntu XCP from Xen.org Products Oracle VM Huawei UVP Citrix XenServer Used by Many Others 8

Xen : Types of Virtualization

PV Domains & Driver Domains Control domain (dom0) I/O PV Back Ends HW Drivers Memory Guest VMn Apps PV Front Ends Guest OS CPUs Driver Domain e.g. Disk Network PV Back End HW Driver Dom0 Kernel* Xen Hypervisor Host HW Linux PV guests have limitatons: limited set of virtual hardware Advantages Fast Works on any system (even without virt extensions) Driver Domains Security Isolaton Reliability and Robustness *) Can be MiniOS 10

HVM & Stub Domains Dom0 Guest VMn Stubdomn Guest VMn Disadvantages Slower than PV due to Emulaton (mainly I/O devices) Device Model IO Emulation Device Model IO Event IO Emulation Advantages Install the same way as natve Linux IO Event VMEXIT Mini OS VMEXIT Xen Hypervisor Host HW Stub Domains Security Isolaton Reliability and Robustness 11

PV on HVM A mixture of PV and HVM Linux enables as many PV interfaces as possible This has advantages install the same way as natve PC-like hardware access to fast PV devices exploit nested paging Good performance trade-offs Drivers in Linux 3.x HVM PV on HVM PV Boot Sequence Emulated Emulated PV Memory HW HW PV Interrupts, Timers & Spinlocks Emulated PV* PV Disk & Network Emulated PV PV Privileged Operations *) Emulated for Windows HW HW PV

Xen and Linux

Xen and the Linux Kernel Xen was initally a University research project Invasive changes to the kernel to run Linux as a PV guest and Dom0

Current State PVOPS Project Xen support in Linux 3.0+ (it is functonal but not yet fully optmized) On-going optmizaton work in Linux 3.4 +

What does this mean? Xen Hypervisor is not in the Linux kernel BUT: everything Xen needs to run is! Xen packages are (or will be) in Linux distros Install Dom0 Linux distro Install Xen package(s) or meta package Reboot Config stuff: set up disks, peripherals, etc.

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

Security and the Next Wave of Virtualization Security is a key requirement for Cloud Security is the primary goal of virtualizaton on the Client Desktop, Laptops, Tablets & Smart Phones Maintaining isolaton between VMs is critcal

Xen Security & Robustness Advantages Even without Advanced Security Features Well-defined trusted computng base (much smaller than on type-2 HV) No extra services in hypervisor layer More Robustness: Mature, Tried & Tested, Architecture Xen Security Modules (or XSM) Developed and contributed to Xen by NSA Generalized Security Framework for Xen Can also run with SELinux 19

Advanced Security: Disaggregation Split Control Domain into Driver, Stub and Service Domains Each contains a specific set of control logic See: Breaking up is hard to do @ Xen Papers Unique benefit of the Xen architecture Security: Minimum privilege; Narrow interfaces Robustness: ability to safely restart parts of the system Performance: lightweight, e.g. Mini OS directly on hypervisor Scalability: more distributed system (less reliable on Dom0) Used by Qubes OS and Citrix XenClient XT

Advanced XenClient Architecture Per host/device Service VMs Per guest Service VMs Control Domain (dom0) Management Domain Network Isolaton VPN VPN Isolaton Isolation Device Device Emulaton Emulate User VM Policy Granularity User VM Policy Granularity Xen Hypervisor Xen Security Modules I/O Memory CPUs Host HW

Example: Network Driver Domain for HA Detect failure e.g. Illegal access Timeout Kill domain, restart E.g. Just 275ms outage from failed Ethernet driver Auto-restarts to enhance security 350 300 250 200 150 100 50 0 0 5 10 15 20 25 30 35 40 time (s)

BUT Today, XCP and commercial Xen based Server products Do not yet make use of XSM Do not yet make use of Advanced Security Features (Disaggregaton) In XCP, work has started to add these features Various artcles of how this may be done on the xen wiki More informaton soon (likely at XenSummit) Commitment on improving docs for Security, Reliability & Tuning

XCP Project

XCP Complete vertcal stack for server virtualizaton Distributed as a closed appliance (ISO) with CentOS 5.5 Dom0, misc DomU s, network & storage support and Xen API Open source distributon of Citrix XenServer

XCP Overview Open source version of Citrix XenServer wiki.xen.org/wiki/xcp/xenserver_feature_matrix Enterprise-ready server virtualizaton and cloud platorm Extends Xen beyond one physical machine and other functonality Lots of other additonal functonality compared to Xen Datacenter and cloud-ready management API XenAPI (XAPI) is fully open source CloudStack and OpenStack integraton

Major XCP Features VM lifecycle: live snapshots, checkpoint, migraton Resource pools: flexible storage and networking Event tracking: progress, notficaton Upgrade and patching capabilites Real-tme performance monitoring and alertng Built-in support and templates for Windows and Linux guests Open vswitch support built-in

XCP 1.5 (in beta) Architectural Improvements: Xen 4.1, GPT, smaller Dom0 GPU pass through: for VMs serving high end graphics Performance and Scalability: 1 TB mem/host 16 VCPUs/VM, 128 GB/VM Networking: Open vswitch (default), Actve-Backup NIC Bonding Virtual Appliance: mult-vm and boot sequenced, OVF support More guest OS templates

XAPI: What is it? XAPI is the backbone of XCP Provides the glue between all components Is the backend for all management applicatons Also called XenAPI It's a XML-RPC style API, served via HTTPS Provided by a service on every XCP dom0 host Designed to by highly programmable API bindings for many languages:.net, Java, C, Powershell, Python XAPI is Extensible via plugins E.g. used by OpenStack

XCP-XAPI Packages in Linux Make the XAPI toolstack independent of CentOS 5.5 Extend the delivery model Deliver Xen, XAPI and everything in between (storage manager, network support, OCaml libs, etc.) via your favorite Linux distro apt-get install xcp-xapi or yum install xcp-xapi Debian 7.0 Wheezy" Ubuntu 12.04 LTS Next: Fedora & CentOS

XAPI Management Options XAPI frontend command line tool: XE (tab-completable) Desktop GUIs o Citrix XenCenter (Windows-only) o OpenXenManager (open source cross-platorm XenCenter clone) Web interfaces o Xen VNC Proxy (XVP) o XenWebManager (web-basedclone of OpenXenManager) XCP Ecosystem: o xen.org/community/vendors/xcpprojectspage.html o xen.org/community/vendors/xcpproductspage.html

XCP and Cloud Orchestration Stacks

Summary: Why Xen?

Designed for the Cloud : many advantages for cloud use! Resilience, Robustness & Scalability Security: Small surface of atack, Isolaton & Advanced Security Features Widely used by Cloud Providers and Vendors XCP & XAPI Ready for use with cloud orchestraton stacks XCP-XAPI packages in Linux distros: flexibility and choice Lots of additonal improvements for cloud coming in 2012 Open Source with a large community and eco-system

IRC: ##xen @ FREENODE Mailing List: xen-users & xen-api Wiki: wiki.xen.org Beginners & User Categories XCP Category Excellent XCP Tutorials A day worth of material @ xen.org/community/xenday11 Ecosystem pages Questions Slides available under CC-BY-SA 3.0 From www.slideshare.net/xen_com_mgr