Open Source Virtualization An overview Kris Buytaert

Slides:



Advertisements
Similar presentations
Virtualization Dr. Michael L. Collard
Advertisements

Status Report Ian Pratt University of Cambridge and Founder of XenSource Inc. Computer Laboratory.
Xen and the Art of Virtualization Ian Pratt University of Cambridge and Founder of XenSource Inc. Computer Laboratory.
Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Virtualization and Cloud Computing
Network Implementation for Xen and KVM Class project for E : Network System Design and Implantation 12 Apr 2010 Kangkook Jee (kj2181)
Virtual Machines Measure Up John Staton Karsten Steinhaeuser University of Notre Dame December 15, 2005 Graduate Operating Systems, Fall 2005 Final Project.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Virtual Machines. Virtualization Virtualization deals with “extending or replacing an existing interface so as to mimic the behavior of another system”
Virtualization B. Ramamurthy. References Practical Virtualization Solutions: Virtualization from the Trenches by K. Hess and A. Newman, Prentice-Hall.
Virtualization for Cloud Computing
A Brief Introduction To Virtualization Technologies Yin Yunqiao HP.
LINUX Virtualization Running other code under LINUX.
Virtualization A way To Begin with Virtual Reality… - Rahul Khanwani.
E Virtual Machines Lecture 4 Device Virtualization
Methodologies, strategies and experiences Virtualization.
Tanenbaum 8.3 See references
Operating System Virtualization
CS 149: Operating Systems April 21 Class Meeting
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2010 Seminar #1 VIRTUALIZATION EVERYWHERE.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2009 Seminar #1 VIRTUALIZATION EVERYWHERE.
Xen Overview for Campus Grids Andrew Warfield University of Cambridge Computer Laboratory.
A study of introduction of the virtualization technology into operator consoles T.Ohata, M.Ishii / SPring-8 ICALEPCS 2005, October 10-14, 2005 Geneva,
Outline for Today Announcements –1 st programming assignment coming soon. Objective of the lecture –OS and Virtual Machines.
Introduction to virtualization
Full and Para Virtualization
Operating-System Structures
VM vs Container Xen, KVM, VMware, etc. Hardware emulation / paravirtualization Can run different OSs on the same box Dozens of instances OS sprawl problem.
CSE 451: Operating Systems Winter 2015 Module 25 Virtual Machine Monitors Mark Zbikowski Allen Center 476 © 2013 Gribble, Lazowska,
Virtualization Assessment. Strategy for web hosting Reduce costs by consolidating services onto the fewest number of physical machines
Intro To Virtualization Mohammed Morsi
INUITS The real voyage of discovery consists in having new eyes. Marcel Proust.
OpenQRM is not Dead by Kris Buytaert. 2 Kris Buytaert ● Senior Linux and Open Source Inuits.be ● „Infrastructure Architect“ ● Linux since.
Using Virtualization in the Real world. 2 Whoami ? Kris Senior Linux and Open Source Consultant „Infrastructure Architect“ Linux since.
Managing Xen VirtualMachines with openQRM by Kris Buytaert.
Xen and the art of.. Open Source Virtualisation & Consolidation Kris Buytaert CTO, X-Tend
Building (Virtual) Appliances
CLUG TALK Virtualbox Tuesday, 29 September 2009 One of the Jonathans.
Open Source Virtualization Andrey Meganov RHCA, RHCX Consultant / VDEL
OpenQRM is not Dead the lightning version Building a cloud in 5 mnutes by Kris Buytaert.
Virtualization Neependra Khare
Automating Xen Virtual Machine Deployment Kris Buytaert
Open Source Virtualisation and Consolidation. Whoami ● Senior Linux and Open Source Consultant/ X-Tend ● „Infrastructure Architect“ ● Linux since.
Virtualization - an introduction Gordon Ross Computing Service.
Open Source Virtualisation and Consolidation. Whoami ● Linux and Open Source Consultant ● „Infrastructure Architect“ ● Linux since 0.98 ● IANAKH ● Senior.
Automating Xen Virtual Machine Deployment Kris Buytaert
XEN – The Art of Virtualisation. So what is Virtualisation? ● Makes use of spare capacity ● Run multiple instances of OSes simultaneously ● Multitasking.
Automating Xen Virtual Machine Deployment Kris Buytaert
VM vs Container Xen, KVM, VMware, etc. ● Hardware emulation / paravirtualization ● Can run different OSs on the same box ● Dozens of instances ● OS sprawl.
VirtualBox Introduction:
Virtualization for Cloud Computing
Introduction to Virtualization
Virtualization.
Virtual Machine Monitors
Virtualization in Grid Rock
Agenda Hardware Virtualization Concepts
Virtualization Dr. Michael L. Collard
Dag Toppe Larsen UiB/CERN CERN,
Dag Toppe Larsen UiB/CERN CERN,
Building a Virtual Infrastructure
Virtualization overview
Virtual Servers.
Running other code under LINUX
OS Virtualization.
Virtual machines benefits
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Virtualization Dr. S. R. Ahmed.
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Hypervisor A hypervisor or virtual machine monitor (VMM) is computer software, firmware or hardware that creates and runs virtual machines. A computer.
Presentation transcript:

Open Source Virtualization An overview Kris Buytaert

2 Kris Buytaert ● Senior Linux and Open Source ● „Infrastructure Architect“ ● Linux since 0.98 ● OpenMosix, openQRM,... ● Early Adopter (Xen, MySQL Cluster) ● Automating Large Scale Deployment, High Availability ● Surviving the 10 th floor test ● Virtualization with Xen ● ●

3 ● Why Virtualization Matters ● Virtualization vs Virtualization ● Where we come from ● Now and Xen ● Managing Virtual Machines ● Where are we heading ? Agenda

4 ● Running different operating systems together on 1 machine ● separate an operating system from the underlying platform resources What is Virtualization ?

● Consolidation ● Saving Idle Cycles ● Security ● Separating Development/Staging/Production platforms ● Hardware Independence ● A Greener Environment ● Having a budget that needs to be emptied. ● All the cool kids are doing it Why Virtualization Matters

● High Availability – Live Migration is not a HA solution ! ● Vendor Lock In ● Heavy IO – Don't virtualize your Databases – Don't virtualize your heavy loaded mailservers ● Hardware Dependencies – Live Migration ? Why Virtualization is Dangerous

● Single OS image: Ensim, Vserver, Solaris Zones, openVZ – Group user processes into resource containers – Hard to get strong isolation – Typically used for Hosting/Virtual Hosting/ISP – Run a lot of almost identical Virtual Machines – 1 single kernel Chroot’s on steroids Virtualization vs Virtualization

● Full virtualization: VMware, VirtualPC, Qemu, VirtualBox – Run multiple unmodified guest OSes – Hard to efficiently virtualize x86 – No Access to the hardware – No Realtime guarantees – Problematic for certain privileged instructions Virtualization vs Virtualization

● Para-virtualization: UML, Xen, – Run multiple guest OSes ported to special arch – Arch Xen/x86 is very close to normal x86 – Some Access to underlying hardware – Better Performance – Needs modification to the OS Virtualization vs Virtualization

Hardware Supported Virtualisation – Xen – KVM – Others adopted slowly ● No more changes to the software, ● Hardware solves the problem Virtualization vs Virtualization

● IBM Mainfraimes ● First Virtualization Aquisition Ever ? Looking back at a decade of Virtualization

● IBM Mainframes ● First Virtualization Aquisition Ever ? – 1994 Kevin Lawton starts Bochs development ● Full x86 emulator – 1999 Work on Plex86 starts (aka FreeMWare) ● Lightweight Linux Virtualization – 1999 Mandrake Software buys Bochs Looking back at a decade of Virtualization

● DOSEmu ● Win4Lin ● Wine Oldskool Emulation

● VNC ● FreeNX – NoMachines, lightweigth, proxies But X11 !!! Is this Virtualization ?

UML vs UMLinux ● Jeff Dike : User Mode Linux – Run Linux on Linux ● As a “process” ● UMLinux – Run Linux on Linux :) – Mainly to run test scenarios – Rebranded later to Faumachine The land of Confusion:

LVS vs Linux Vserver ● Linux Virtual Server – Act as 1 virtual server – Pass TCP/IP Connections to others ● Linux Vserver – Kernel Isolation – Chroot on steroids More Land of Confusion

● Chroots on Steroids – Based on BSD Jails ● Look really really similar ● According to the developers no shared codebase OpenVZ, LinuxVServer

● OpenVZ =~ opensource Virtuozzo – Swsoft 1997 – Virtuozzo 2001 – 2003 Swsoft buys Plesk – SWSoft buys Parallels but “forgets” to tell – Eventually rebrands to Parallels late 2007 – Kernel Inclusion ? OpenVZ, Virtuozzo

CoLinux ● Running Linux on Windows Looking back at a decade of Virtualization

● Paul “Rusty” Russell ● Lhype ● WonkyVisor ● RustyVisor ● Lhype – Linux on Linux, but fast, no vt req, same kernel Lguest,Lhype, RustyVisor

Qemu ● Fabrice Bellard. ● Not just x86 ● qemu-arm qemu-mips qemu-i386 qemu-ppc qemu-sparc qemu-m68k ● “Slow” – Patch, first non free, later free ● Components Used in A LOT of projects ! Do I really need VMWare ?

● Innotek (Stuttgart) ● Open Source ● VMWare alternative ● Great Desktop Support ● Bought by Sun (just before Fosdem) ● Now part of the xVM suite Virtualbox

Let‘s talk about Xen ● Pioneered ParaVirtualisation ● Pioneered VT support ● Went Mainstream real fast ! ● Stable and performant platform ● Scriptable ● Targeted at Server Platforms ● 98% CPU Speed ● Open Source ● Known Developers

Event Channel Virtual MMUVirtual CPU Control IF Hardware (SMP, MMU, physical memory, Ethernet, SCSI/IDE) Native Device Driver GuestOS (XenLinux) Device Manager & Control s/w Native Device Driver GuestOS (XenLinux) Unmodified User Software Front-End Device Drivers GuestOS (XenLinux) Unmodified User Software Front-End Device Drivers Unmodified GuestOS (WinXP)) Unmodified User Software Safe HW IF Xen Virtual Machine Monitor Back-End VT-x AGP ACPI PCI SMP

● Major Distro's – RedHat – Suse ● Who was first ? ● Fighting over “stability” ● Hardware Vendors – IBM, Intel,.... Xen adoption

● Amazon EC2 ● Oracle VM – Own Code ? – Hosting next Xen summit ● Sun xVM – Part of the suite ● Virtual Iron Xen adoption cont.d

● Kernel Based Virtual Machine ● VT Required ● “just a module” ● /usr/local/kvm/bin/qemu-* ● Came out of nowhere ● +/- 6 weeks before kernel inclusion ● Since ● Lean and Mean ● Desktop Oriented KVM

● Main Funding of KVM development ● A Remote Virtual Desktop Solution ● Proprietary Own protocol ● Commercial Solid ICE ● RedHat Qumranet & KVM

● Enomaly ● Libvirt ● Ovirt ● OpenQRM Managing Your Virtualization Platform

● Enomaly ● OpenNebula ● OpenQRM ● Nimbus ●... Building your own cloud

What is openQRM ? ● open-source project at sourceforge.net (GPL) ● data-center management platform ● Not just your virtual platforms ● provides generic virtualization layer ● Deploy on demand ● Support for physical, Xen, VMWare, Vserver, KVM ● OpenQRM 4 is a full rewrite

OpenQRM : build your Virtual data-center ● logical layer for servers/services called virtual environments (VE) ● virtual environments consist of : ● a boot-image (e.g. a linux kernel) ● a root-file system (local, NFS, ISCSI) ● provisioning meta-data ● deployed according provisioning meta-data on idle resources

● Choice is personal – Xen for Servers – VirtualBox for Desktops ● Keeping an eye on KVM – LinuxVServer for chroot on steriods Which Virtual Platform to choose

● Citrix – Oracle to host next Xen Summit ● VMWAre going real open ? ● RedHat ● OpenVZ in the Kernel ? The Future

Kris Buytaert Further Reading ?!