Upload
dotu
View
217
Download
2
Embed Size (px)
Citation preview
OPEN SOURCE VIRTUALIZATION TRENDS
SYAMSUL ANUAR ABD NASIRWarix Technologies / Fedora Community Malaysia
WHAT I WILL BE TALKING ON?
Introduction to VirtualizationFull Virtualization, Para Virtualization and Containers FOSS Virtualization Technologies
KVMXENOPENVZ, JAILS, ZONESVIRTUALBOX
Live MigrationManagement ToolsEnding Note
WHAT I WILL NOT BE TALKING ABOUT?
VMWareHyper-VProprietary Solutions of VirtualizationBechmarksMarketshare
ABOUT ME
Fedora Ambassador MalaysiaFormerly Head of IT for an Oil & Gas company for 3 years +Business Development Manager / Infrastructure Manager for Warix TechnologiesWarix 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 MachineHypervisor / VMM : Virtual Machine Monitor or simple term, OS for the VM GuestsGuest OS: The OS that is run within a virtual machineHost OS: The OS that runs on the computer systemParavirtualized 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 VIRTUALIZATIONConsolidationIncreased utilizationRapid provisioningDynamic fault tolerance against software failures (bootstrapping or rebooting)Hardware fault tolerance - Live MigrateSecurely 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 KVMTYPE 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 hypervisorTightly 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 issueCool features - memory and storage overcommit (among others)
THE XEN VIRTUALIZATION
Based from XenSource, originally a research at Cambridge UniversityUses para-virtualization technique, e.g. kernel being modified to be "virtualization- aware"Uses a Xen-specific kernel in order to run on LinuxVery 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 & IOUses 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 systemBenefit - Ease of administration and less overhead (less than 1% performance hit) Requires less resources than full virtualization or paravirtualizationJails - 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 etcSupports wide range of Operating System including Linux, BSDs, OS/2, Windows, Solaris, OpenSolaris, Haiku, ReactOS and Windows 7Optimize guest performance using "vbox guest addition"Doesnt need Hardware Virtualization to run unmodified OS though supportedCommand 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 applicationRequirement - 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)
ENDING NOTE
Virtualization is the future and most of the best stuff will be open sourceVirtualization is a way to achieve lower carbon footprint and Green ITDifferent Virtualization technologies suitable for different task, do test them and see which is more suitable for your environmentAll 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