Virtualization Technologies (ENCS 691K Chapter 3)



Similar documents
Chapter 2 Addendum (More on Virtualization)

SOA and Virtualization Technologies (ENCS 691K Chapter 2)

Virtualization for Cloud Computing

Infrastructure as a Service (IaaS)

Cloud Computing #6 - Virtualization

Virtualization. Jukka K. Nurminen

COS 318: Operating Systems. Virtual Machine Monitors

Analysis on Virtualization Technologies in Cloud

Virtualization. Types of Interfaces

Full and Para Virtualization

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

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

Enabling Technologies for Distributed Computing

Enabling Technologies for Distributed and Cloud Computing

COM 444 Cloud Computing

Cloud Computing CS

Distributed and Cloud Computing

How To Compare Performance Of A Router On A Hypervisor On A Linux Virtualbox 2.5 (Xen) To A Virtualbox (Xeen) Xen-Virtualization (X

White Paper on NETWORK VIRTUALIZATION

Virtualization. Pradipta De

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

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

Basics of Virtualisation

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

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

Microkernels, virtualization, exokernels. Tutorial 1 CSC469

Compromise-as-a-Service

How To Understand Cloud Computing

Virtualization. Dr. Yingwu Zhu

Control Tower for Virtualized Data Center Network

Virtualized Networks based on System Virtualization

Virtual Machine Security

Software as a Service (SaaS) and Platform as a Service (PaaS) (ENCS 691K Chapter 1)

PERFORMANCE ANALYSIS OF KERNEL-BASED VIRTUAL MACHINE

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

IOS110. Virtualization 5/27/2014 1

Virtualization and the U2 Databases

COS 318: Operating Systems. Virtual Machine Monitors

Virtualization for Future Internet

Knut Omang Ifi/Oracle 19 Oct, 2015

Data Centers and Cloud Computing

Dynamic Load Balancing of Virtual Machines using QEMU-KVM

Performance Comparison of VMware and Xen Hypervisor on Guest OS

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

Virtualization. P. A. Wilsey. The text highlighted in green in these slides contain external hyperlinks. 1 / 16

What is virtualization

Virtualization. P. A. Wilsey. The text highlighted in green in these slides contain external hyperlinks. 1 / 16

Virtual Machines.

Network Virtualization

Distributed Systems. Virtualization. Paul Krzyzanowski

Virtualization System Security

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

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

Introduction to Virtualization

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

Networking for Caribbean Development

How To Manage A Virtualization Server

Virtualization Technology. Zhiming Shen

Impact of Advanced Virtualization Technologies on Grid Computing Centers

Virtual Machine in Data Center Switches Huawei Virtual System

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

Virtualization: Concepts, Applications, and Performance Modeling

Virtual Computing and VMWare. Module 4

x86 ISA Modifications to support Virtual Machines

nanohub.org An Overview of Virtualization Techniques

Introduction to Virtual Machines

Virtual Machines. Virtualization

Migration of Virtual Machines for Better Performance in Cloud Computing Environment

Network virtualization in AutoI

Virtualization. Jia Rao Assistant Professor in CS

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

Virtual Servers. Virtual machines. Virtualization. Design of IBM s VM. Virtual machine systems can give everyone the OS (and hardware) that they want.

GUEST OPERATING SYSTEM BASED PERFORMANCE COMPARISON OF VMWARE AND XEN HYPERVISOR

The Art of Virtualization with Free Software

Clouds Under the Covers. Elgazzar - CISC Fall

Virtual machines and operating systems

Outline. Outline. Why virtualization? Why not virtualize? Today s data center. Cloud computing. Virtual resource pool

Quantum Hyper- V plugin

VMware Server 2.0 Essentials. Virtualization Deployment and Management

Cloud Computing. Dipl.-Wirt.-Inform. Robert Neumann

ProMoX: A Protocol Stack Monitoring Framework

CS 695 Topics in Virtualization and Cloud Computing. Introduction

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

Network performance in virtual infrastructures

Anh Quach, Matthew Rajman, Bienvenido Rodriguez, Brian Rodriguez, Michael Roefs, Ahmed Shaikh

Installing & Using KVM with Virtual Machine Manager COSC 495

Hypervisors and Virtual Machines

Jukka Ylitalo Tik TKK, April 24, 2006

Virtual Machines. COMP 3361: Operating Systems I Winter

Library as a service in Digital Era Preparing academic campuses in Indian scenario

Virtualization. Clothing the Wolf in Wool. Wednesday, April 17, 13

Best Practices for Virtualised SharePoint

15 th April 2010 FIA Valencia

Virtual Technologies for Learning System. Chao-Wen Chan, Chih-Min Chen. National Taichung University of Science and Technology, Taiwan

OS Virtualization. CSC 456 Final Presentation Brandon D. Shroyer

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

Module I-7410 Advanced Linux FS-11 Part1: Virtualization with KVM

12/8/2010. Koen De Bosschere Ghent University Belgium JVM. Process. .NET Virtualization. Virtualization types. Xen. Paravirtualization.

Arwed Tschoeke, Systems Architect IBM Systems and Technology Group

Network Virtualization

Transcription:

Virtualization Technologies (ENCS 691K Chapter 3) Roch Glitho, PhD Associate Professor and Canada Research Chair My URL - http://users.encs.concordia.ca/~glitho/

The Key Technologies on Which Cloud Computing Relies Web Services Virtualization

References (Virtualization) 1.. M. Pearce et al., Virtualization: Issues, Security, Threats, and Solutions, ACM Computing Survey, February 2013 2.. A. Khan et al., Network Vitrtualization: A Hypervisor for the Internet?, IEEE Communications Magazine, January 2012 3.. N.M Chowdhury and r. Boutaba, Network Virtualization: State of the Art and Research Challenges, IEEE Communications Magazine, July 2009 4. J. Carapinha et al., Network Virtualization A View from the Bottom, VISA '09 Proceedings of the 1st ACM workshop on Virtualized infrastructure systems and architectures, Pages 73-80

Virtualization

Outline 1. Systems virtualization 2. Network virtualization

On Systems Virtualization Key concepts Type I (bare metal) vs. Type 2 (hosted) Full virtualization vs. para-virtualization

References ( Systems Virtualization) 1. M. Pearce et al., Virtualization: Issues, Security, Threats, and Solutions, ACM Computing Survey, February 2013 2. P. Barham et al., XEN and the Art of Virtualization, SOSP '03 Proceedings of the nineteenth ACM symposium on Operating systems principles, Pages 164-177

Basic concepts 1. On operating systems 2. Virtual machine, virtual machine monitor/hypervisor 4. Examples of benefits

Some of the motivations Operating systems Only one single tread of CPU can run at a time on any single core consumer machine Machine language is tedious

Operating systems Operating systems bring a level of abstraction on which multiple processes can run at a time Deal among other things with: Multiplexing Hardware management issues However only one operating system can run on a bare single core consumer machine

virtual machines and hypervisors Systems virtualization dates back to the 60s IBM experimentation with time sharing systems Need for virtual machines to test how applications / users can time share a real machine

virtual machines and hypervisors Virtual machine (VM) (sometimes called virtual hardware) Software that provides same inputs / outputs and behaviour expected from hardware (i.e. real machine) and that supports operations such as: Create Delete Migrate Increase resources Virtual machine monitor (also called hypervisor) Software environment that enables operations on virtual machines (e.g. XEN, VMWare) and ensures isolation

virtual machines, hypervisors From reference [1] Note: There is a small error in the figure

Examples of Benefits All benefits are due to the possibility to manipulate virtual machine (e.g. create, delete, increase resources, migrate), e.g. Co-existence of operating systems Operating systems research Software testing and run-time debugging Optimization of hardware utilization Job migration

Advanced concepts 1. Bare metal vs. hosted hypervisor 2. Full virtualization vs. Paravirtualization

Type I vs Type II Hypervisor Types of hypervisor Type I bare metal Installed on bare hardware Examples Citrix XEN server VMWARE ESX/ESXI

Type I vs Type II Hypervisor Types of hypervisor Type 2 hosted Runs on top of host operating system Examples: VMWare workstation VirtualBox

Type I vs Type II Hypervisor Type I - Bare metal Hypervisor installed on bare hardware Advantages (compared to type II) Performance (No additional software layer to go through) Security (No possible attack through host operating system) Drawbacks (compared to type II) Host operating system needs to be ported on top of hypervisor Complexity depends on the type of virtualization (Full virtualization vs. para-virtualization)

Type I vs Type II Hypervisor Type II - Hosted Hypervisor installed on top of host operating system Drawbacks (compared to type I) Performance (need to go through host operating system) Security (i.e. Possibility to attack through host operating system) Advantages (compared to type I) Host operating system is re-used as it is (No need to port it) No change required to applications running on top of host operating system

Type I vs Type II Hypervisor (Summary) Types of hypervisor/virtual machine monitor (From ref. 2)

Full virtualization vs. Para-virtualization More on operating systems fundamentals Privileged vs. non privileged instruction Privileged If called in user mode, the CPU needs to trap it and switch control to supervisory software (e.g. hypervisor) for its execution

Full virtualization vs. Para-virtualization More on operating systems fundamentals Sensitive vs. non sensitive instruction Sensitive Has the capacity to interfere with supervisor software functioning (e.g. Hypervisor) Write hypervisor memory vs. read hypervisor memory

Full virtualization vs. Para-virtualization Could all CPU architectures be fully virtualized? Could be fully virtualized only if the set of sensitive instructions is a subset of the privileged instructions From reference [1]

Full virtualization vs. Para-virtualization Could all CPU architectures be fully virtualized? The case of Intel x86 CPU architectures Cannot be fully virtualized Certain instructions must be handled by the VMM for correct virtualization, but these with insufficient privilege fail silently rather than causing a convenient trap Reference [2]

Full virtualization vs. Para-virtualization Definitions Full virtualization Hypervisor enables virtual machines identical to real machine Problematic for architectures such as Intel x86

Full virtualization vs. Para-virtualization Definitions Para-virtualization Hypervisor enables virtual machine that are similar but not identical to real machine A solution to the problem of CPU architectures that cannot be virtualized Prevents user programs from executing sensitive instructions Note: Para-virtualization is not the only solution to the problem

Full virtualization vs. Para-virtualization Full virtualization Advantages Possibility to host guest operating systems with no change since virtual machines are identical to real machines Disadvantages Not always feasible (e.g. Intel x86) There are work around (e.g. binary translation) Some guest operating systems might need to see both virtual resources and real resources for real time applications

Full virtualization vs. Para-virtualization Para - virtualization Advantages Feasible for all CPU architectures Performance Compared to: Full virtualization Other approaches to architectures that could not be virtualized (e.g. binary translation) Disadvantages Need to modify guest operating systems

Full virtualization vs. Para-virtualization Para - virtualization Alternatives to para-virtualization Binary translation (e.g. VMWare ESX server) Leads to full virtualization No need to re-write statically guest operating systems i.e. guest OS can be installed without change Interpretation of guest code (OS + application) Rewrites dynamically guest code and insert traps when necessary

Full virtualization vs. Para-virtualization Para - virtualization Alternatives to para-virtualization Binary translation Disadvantages / penalties Performance However, optimization is possible, e.g.» Adaptive translation (i.e. optimize the code being translated)

Full virtualization vs. Para-virtualization Para virtualization A detailed case study on para-virtualization XEN (Reference 2)

On Network Virtualization Motivations and basic components Prior to network virtualization A case stys

References (Network Virtualization) 1. N.M Chowdhury and r. Boutaba, Network Virtualization: State of the Art and Research Challenges, IEEE Communications Magazine, July 2009 2. J. Carapinha et al., Network Virtualization A View from the Bottom, VISA '09 Proceedings of the 1st ACM workshop on Virtualized infrastructure systems and architectures, Pages 73-80 3. G. Schaffrat et al., Network Virtualization Architecture: Proposal and Initial Prototype, Proceeding VISA '09 Proceedings of the 1st ACM workshop on Virtualized infrastructure systems and architectures, Pages 63-72 4. J. Kurose and K. Ross, Computer Networking: A Top Down Approach, Pearson, 6 th Edition, 2013 5. Venkateswanan, Virtual Private Networks, IEEE Potentials, Issue 20, no1

On Network virtualization 1. Motivations 2. Basic components

Motivations Bring the benefits of systems virtualization to the networking world, e.g. Co-existence of virtual networks on top of a same real network Note: Virtual Private Networks (VPNs) do not rely on virtualization and have several limitations Different technologies and protocol stacks cannot be used for instance Networking research Optimization of networking resources utilization Nodes Links

Basic components From reference 9

Basic components From reference 9

On Network virtualization 1. Prior to network virtualization 2. A Case study

Prior to Network Virtualization Virtual Local Area Networks (VLANs) Possibility to define several VLANs over a same physical LAN infrastructure Each VLAN has its broadcast domain and has an id. However Each physical node is part of one and only VLAN No efficient resource usage

Prior to Network Virtualization Virtual Local Area Networks (VLANs) A LAN (Reference 4)

Prior to Network Virtualization Virtual Local Area Networks (VLANs) A VLAN (Reference 4)

Prior to Network Virtualization Virtual Private Networks Possibility to build virtual networks using a shared infrastructure (usually Internet, but might be a dedicated networks) Site interconnection Extranets But: No real insolation between the different networks traffic over the shared infrastructure

Prior to Network Virtualization Virtual Private Networks Reference 5 (LAN Interconnection)

Prior to Network Virtualization Virtual Private Networks Reference 5 (LAN Interconnection)

Prior to Network Virtualization Overlays Logical networks built on top of real networks (e.g. skype) A same physical node might be part of several overlays But: Overlays might interact in a harmful way Used mainly at application layer and does not enable experimentation of lower layer protocols

Overlays Prior to Network Virtualization

Prior to Network Virtualization Overlays P2P overlay Characteristics own topology that may be different from the topology of the real network Own protocols that may be different from the protocols used in the real network May come with an application embedded in it (e.g. Skype) or as an infrastructure that can be used by other applications (e.g. CHORD) APIs, toolkits are provided when the application is not embedded in the overlay

A Case Study on Network Virtualization (Reference 3) Business model of current Internet: Internet Service Providers (ISPs) (e.g. Bell, Rogers) Service Providers (eg. Google, Akamai)

A Case Study on Network Virtualization New business model (4 roles): Reference 3

A Case Study on Network Virtualization Reference 3 New business model (6 interfaces):

A Case Study on Network Virtualization Simplified scenario Reference 3

A Case Study on Network Virtualization (Reference 3) Prototype Node level virtualization XEN VNET description XML

A Case Study on Network Virtualization (Reference 3) Topology used for Vnet instantiation measurements (end to end from Vnet request by service provider till full provisioning of VNET

A The End.