Basics of Virtualisation



Similar documents
Computing in High- Energy-Physics: How Virtualization meets the Grid

Full and Para Virtualization

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

Virtualization. Pradipta De

COS 318: Operating Systems. Virtual Machine Monitors

Virtualizare sub Linux: avantaje si pericole. Dragos Manac

Virtualization. Dr. Yingwu Zhu

Virtual Machine Monitors. Dr. Marc E. Fiuczynski Research Scholar Princeton University

Hypervisors. Introduction. Introduction. Introduction. Introduction. Introduction. Credits:

Virtualization with Windows

Virtualization. Types of Interfaces

Virtualization for Cloud Computing

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

Jukka Ylitalo Tik TKK, April 24, 2006

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

MODULE 3 VIRTUALIZED DATA CENTER COMPUTE

Cloud Computing CS

Microkernels, virtualization, exokernels. Tutorial 1 CSC469

Best Practices for Virtualised SharePoint

Virtualization. ! Physical Hardware. ! Software. ! Isolation. ! Software Abstraction. ! Encapsulation. ! Virtualization Layer. !

Virtualization. Jukka K. Nurminen

Virtualization Technology. Zhiming Shen

Distributed Systems. Virtualization. Paul Krzyzanowski

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

Understanding Full Virtualization, Paravirtualization, and Hardware Assist. Introduction...1 Overview of x86 Virtualization...2 CPU Virtualization...

IOS110. Virtualization 5/27/2014 1

International Journal of Advancements in Research & Technology, Volume 1, Issue6, November ISSN

Developing a dynamic, real-time IT infrastructure with Red Hat integrated virtualization

Virtualization. Jia Rao Assistant Professor in CS

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

Enabling Technologies for Distributed Computing

VMware Server 2.0 Essentials. Virtualization Deployment and Management

nanohub.org An Overview of Virtualization Techniques

Intro to Virtualization

Uses for Virtual Machines. Virtual Machines. There are several uses for virtual machines:

Virtualization. Explain how today s virtualization movement is actually a reinvention

Virtualization and the U2 Databases

Hypervisor Software and Virtual Machines. Professor Howard Burpee SMCC Computer Technology Dept.

StACC: St Andrews Cloud Computing Co laboratory. A Performance Comparison of Clouds. Amazon EC2 and Ubuntu Enterprise Cloud

Chapter 14 Virtual Machines

Virtual machines and operating systems

Lecture 2 Cloud Computing & Virtualization. Cloud Application Development (SE808, School of Software, Sun Yat-Sen University) Yabo (Arber) Xu

Virtualization. Michael Tsai 2015/06/08

COS 318: Operating Systems. Virtual Machine Monitors

Enabling Technologies for Distributed and Cloud Computing

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

Hardware Based Virtualization Technologies. Elsie Wahlig Platform Software Architect

Virtualization VMware Inc. All rights reserved

Virtualization Technologies

The Art of Virtualization with Free Software

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

A quantitative comparison between xen and kvm

Hyper-V R2: What's New?

Virtual Machines.

How do Users and Processes interact with the Operating System? Services for Processes. OS Structure with Services. Services for the OS Itself

VIRTUALIZATION 101. Brainstorm Conference 2013 PRESENTER INTRODUCTIONS

Parallels Virtuozzo Containers

KVM KERNEL BASED VIRTUAL MACHINE

KVM: A Hypervisor for All Seasons. Avi Kivity avi@qumranet.com

Performance tuning Xen

The Xen of Virtualization

Introduction to Virtual Machines

Hyper-V vs ESX at the datacenter

SUSE Linux Enterprise 10 SP2: Virtualization Technology Support

Virtual Machines. COMP 3361: Operating Systems I Winter

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

Knut Omang Ifi/Oracle 19 Oct, 2015

Virtualization: What does it mean for SAS? Karl Fisher and Clarke Thacher, SAS Institute Inc., Cary, NC

How To Create A Cloud Based System For Aaas (Networking)

A Project Summary: VMware ESX Server to Facilitate: Infrastructure Management Services Server Consolidation Storage & Testing with Production Servers

Practical Applications of Virtualization. Mike Phillips IAP 2008 SIPB IAP Series

Chapter 2 Addendum (More on Virtualization)

Models For Modeling and Measuring the Performance of a Xen Virtual Server

Distributed and Cloud Computing

Data Centers and Cloud Computing

Virtual Computing and VMWare. Module 4

Introduction to Virtualization & KVM

CS 695 Topics in Virtualization and Cloud Computing. More Introduction + Processor Virtualization

GUEST OPERATING SYSTEM BASED PERFORMANCE COMPARISON OF VMWARE AND XEN HYPERVISOR

CS 695 Topics in Virtualization and Cloud Computing and Storage Systems. Introduction

IaaS Cloud Architectures: Virtualized Data Centers to Federated Cloud Infrastructures

Solution Brief Availability and Recovery Options: Microsoft Exchange Solutions on VMware

Virtualization Technologies (ENCS 691K Chapter 3)

Intel s Virtualization Extensions (VT-x) So you want to build a hypervisor?

Virtualization Technology. Zhonghong Ou Data Communications Software Lab, Aalto University

WHITE PAPER Mainstreaming Server Virtualization: The Intel Approach

The QEMU/KVM Hypervisor

Virtual Machine Security

Virtualization of Wireless LAN Infrastructures

I/O Virtualization Using Mellanox InfiniBand And Channel I/O Virtualization (CIOV) Technology

Virtual Machine in Automation Projects

Enterprise-Class Virtualization with Open Source Technologies

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

COM 444 Cloud Computing

Transcription:

Basics of Virtualisation Volker Büge Institut für Experimentelle Kernphysik Universität Karlsruhe Die Kooperation von

The x86 Architecture Why do we need virtualisation? x86 based operating systems are designed to run exclusively and directly on the hardware Four different levels of privileges Privileged Ring 0: Privileged access to the hardware resources for the operating system Unprivileged Ring 3: for different user level applications Only one operating system has special privileges for hardware access Need an additional software layer or an extension of the x86 architecture to enable a parallel execution of multiple OS 2 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

Concepts of Operating System Virtualisation I Hardware Emulation Emulation of the entire hardware environment for the guest OS Offers large variety of possible system configurations Emulation of the processor, memory and disk space Decreased performance of the guest OS Operating System Container Only one OS kernel is running Guest OS are sub-groups of the host OS Isolation of guest OS by replication of the internal data structure of the kernel Context is defined for each container to offer full runtime environment Only one kernel for all instances possible small performance overhead through tight integration 3 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

Concepts of Operating System Virtualisation II Hardware Virtualisation Small number of different virtual hardware components offered Increased performance compared to emulation Guest OS executed in unprivileged program space Hypervisor translates calls of the guest requiring privileges Organises usage of CPU and memory access for the guest No modifications of host and guest OS required Paravirtualisation Hypervisor is running in most privileged and lowest Ring 0 Organises the direct access to the hardware for guest OS No hardware is emulated or virtualised Modifications of the host and guest OS needed Required patches only for Open Source OS available 4 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

Virtualisation Products There are plenty of existing products for virtualisation: and many more 5 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

Full Virtualisation VMware Workstation Special container for the VM Virtual CPUs, memory, hard disk, network interfaces, USB ports and other common hardware components. Hypervisor is executed as an application of the host OS Limited performance of the VMs VM becomes independent from host configuration Can be used on different host systems VM is stored and runs in files VMs contain native OS and are completely isolated but such hardware emulations cost performance Concept best suited for workstation environments not for server consolidation 6 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

Full Virtualisation VMware Workstation WindowsXP host OS with a ScientificLinux VM on this laptop 7 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

Full Virtualisation VMware ESX Server Hypervisor kernel directly running on the server hardware Hypervisor does not require large resources Requires supported hardware components Special optimised pass-through drivers for dedicated hardware components Best possible performance Advanced management tools available Near-native performance of the guest OS Optimised for server consolidation 8 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

Paravirtualisation (XEN) Different hardware components not fully emulated. It only organises the usages near-native performance Layout of a Xen based system: Privileged host system (Dom0) and unprivileged guest systems (DomUs) DomUs are working cooperatively Guest and host OS has to be adapted to XEN (Kernel-Patch), but not the applications 9 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

CPU Support for Virtualisation New processor generations Intel Virtualisation Technology (VT-x, Intel Vanderpool) AMD-V (AMD Pacifica) Offer a new CPU execution mode for a virtual machine monitor (VMM) Privileged calls of the operating system are automatically directed to the VMM Paravirtualisation: Execution of unmodified guest operating systems Hardware Virtualisation: Avoid the step of binary translation VMware products only use this extension to support 64-bit guest systems 10 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

Applications - Hardware Consolidation I Typical situation at a grid cluster: for reasons of stability different services like LDAP, the grid portals, should run on different machines varying load on the different machines Resources not fully exploited recycling of older machines leads to a heterogeneous hardware structure high administrative effort for installation and maintenance of the system CE SE MON CE SE MON Single server machine LDAP CUPS Samba LDAP CUPS Samba Virtualisation of these machines leads to few machines to be maintained and to homogenous OS installations 11 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

Applications - Hardware Consolidation II but what happens if the host machine dies? Failure of: disks, motherboard, memory, power supply, All services which are hosted on this machine will be down until machine is restored or access to VM images possible Need concepts of high availability and quality of service for such scenarios where several services are hosted on one physical host Which techniques can be used to become independent from hardware failures of the host machines? 12 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

High Availability I One approach: Storage of the VM file system in a high available and redundant SAN Use host systems with redundant LAN, SAN and power connections Migration on the fly in case of hardware problems or maintenance of one server If insufficient resources are available on the other server, the service level of less critical services can be reduced for short times. Automated tools for load balancing and migration in case of failures exist, e.g for the VMware ESX server. All services can be offered without or with only short interruption, perhaps at lower service level Server 1 VM Server 2 Server 3 SAN 13 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008

High Availability II Other possibility, e.g for smaller infrastructures: Combination of spare machine and SAN overkill if only few critical services are hosted Need realisation without too much hardware overhead Possibility: Use two performant host machines with same processor architecture and a Distributed Replicated Block Device (DRBD) to mirror disk space between both machines Server 1 Server 2 Local storage containing VM file systems are mirrored on both servers. Local storage DRBD Local storage In case of hardware problems on one server, the VM can easily be migrated or restarted on the other Restricted to a 2 server architecture 14 Volker.Buege@cern.ch Institut für Experimentelle Kernphysik 09.09.2008