OPEN SOURCE VIRTUALIZATION TRENDS SYAMSUL ANUAR ABD NASIR Warix Technologies / Fedora Community Malaysia
WHAT I WILL BE TALKING ON? Introduction to Virtualization Full Virtualization, Para Virtualization and Containers FOSS Virtualization Technologies KVM XEN OPENVZ, JAILS, ZONES VIRTUALBOX Live Migration Management Tools Ending Note
WHAT I WILL NOT BE TALKING ABOUT? VMWare Hyper-V Proprietary Solutions of Virtualization Bechmarks Marketshare
ABOUT ME Fedora Ambassador Malaysia Formerly Head of IT for an Oil & Gas company for 3 years + Business Development Manager / Infrastructure Manager for Warix Technologies Warix is a Red Hat partner Also offers the newly launched Red Hat Enterprise Virtualization (RHEV)
INTRODUCTION Definition from Wikipedia:"In computing, platform virtualization is a virtualization of computers or operating systems. It hides the physical characteristics of computing platform from the users, [1] instead showing another abstract, emulated computing platform." Other Definition:"Simulation of computer system, in software. The Virtualization software creates an environment for a 'guest', which is a complete OS, to execute within this created world."
VIRTUALIZATION VOCABULARIES VM: Virtual Machine Hypervisor / VMM : Virtual Machine Monitor or simple term, OS for the VM Guests Guest OS: The OS that is run within a virtual machine Host OS: The OS that runs on the computer system Paravirtualized Guest: The guest OS that is modified to have knowledge of a VMM. Mostly Xen Full Virtualization: The guest OS is run unmodified in this environment
BENEFITS OF VIRTUALIZATION Consolidation Increased utilization Rapid provisioning Dynamic fault tolerance against software failures (bootstrapping or rebooting) Hardware fault tolerance - Live Migrate Securely separate virtual operating systems, Support legacy software as well as new OS instances on the same computer
TYPES OF HYPERVISOR TYPE 1 : Native or baremetal hypervisor that runs directly on host hardware. E.g. Xen and KVM TYPE 2 : Hypervisor software running on top OS. E.g. Virtualbox Containers: User Space server Virtualization method where kernel and OS allows multiple solated instances of them running. Eg. FreeBSD Jails, Solaris Zone, OpenVZ, FreeVPS, and Linux Vserver
THE KVM VIRTUALIZATION KVM the Kernel-based Virtual Machine is a Linux kernel module that turns Linux into a hypervisor Tightly integrated into Linux and upstream since kernel 2.6.20 (January 2007) Requires hardware virtualization extensions (Intel VMX and AMD SVM) Offload most work to CPU & chip and NO binary translation (So its faster) Leveraging all the capabilities of the Linux kernel without breaking any compatability issue Cool features - memory and storage overcommit (among others)
THE XEN VIRTUALIZATION Based from XenSource, originally a research at Cambridge University Uses para-virtualization technique, e.g. kernel being modified to be "virtualization- aware" Uses a Xen-specific kernel in order to run on Linux Very minimal performance hit when running on PV (2-4%) as some devices able to directly being accessed. Guest OSes co-operate with hypervisor for resource management & IO Uses Domain 0 or "Dom0" for management and complex policy decisions (e.g. sharing resources) VMs guest running on DomU Also support Full Virtualization to run unmodified OS
JAILS, ZONES and OPENVZ OS Level Virtualization / Software Virtualization Lightweight sandbox within an operating system Benefit - Ease of administration and less overhead (less than 1% performance hit) Requires less resources than full virtualization or paravirtualization Jails - FreeBSD, Zones - Solaris and OpenSolaris and OpenVZ / Vserver / UML - Linux e.g. Proxmox (mostly not upstream) Single kernel shares multiple IP and chroot to folder
VIRTUALBOX Originally created by Innotek, now part of Sun Microsystems.. I mean Oracle :-) Installed on existing host OS e.g. Windows, Linux, OpenSolaris etc Supports wide range of Operating System including Linux, BSDs, OS/2, Windows, Solaris, OpenSolaris, Haiku, ReactOS and Windows 7 Optimize guest performance using "vbox guest addition" Doesnt need Hardware Virtualization to run unmodified OS though supported Command line tools - "vboxmanage" and web management interface - "vboxweb"
LIVE MIGRATION Live Migration allows moving a running virtual machine or application between different physical machines without disconnecting the client or application Requirement - Needs a centralized storage (SAN, NAS, iscsi, FC or NFS) Available on Xen and KVM since 2006 (and just available for MS Windows Server in 2009)
MANAGEMENT TOOLS - VirtManager
ovirt Server (Web-Based)
VirtualBox GUI
VBoxWeb (Alpha Status)
PCBSD Warden
MOST POWERFUL OF ALL - CLI
ENDING NOTE Virtualization is the future and most of the best stuff will be open source Virtualization is a way to achieve lower carbon footprint and Green IT Different Virtualization technologies suitable for different task, do test them and see which is more suitable for your environment All the latest Open Source OS have some Virtualization stuff built-in, so do try them and see how it can transform your IT Environment for the better
QUESTIONS?