Virtualization Dr. Michael L. Collard

Slides:



Advertisements
Similar presentations
Virtualization Technology
Advertisements

Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Virtualisation From the Bottom Up From storage to application.
Popek & Goldberg’s notation
Virtual Machine Security Design of Secure Operating Systems Summer 2012 Presented By: Musaad Alzahrani.
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)
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 for Cloud Computing
Virtualization 101.
A Brief Introduction To Virtualization Technologies Yin Yunqiao HP.
LINUX Virtualization Running other code under LINUX.
Virtualization 101.
Distributed Systems CS Virtualization- Overview Lecture 22, Dec 4, 2013 Mohammad Hammoud 1.
Methodologies, strategies and experiences Virtualization.
1 Virtualization – Part III VMware Ahmad Ibrahim.
Tanenbaum 8.3 See references
Operating System Virtualization
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
An Introduction to Xen Prof. Chih-Hung Wu
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.
Virtualization. ABCs Special software: hypervisors or virtual machine managers Guest OS (virtual machine) sits on top of host OS (Win 7 in our case) We.
Virtualization Concepts Presented by: Mariano Diaz.
Secure & flexible monitoring of virtual machine University of Mazandran Science & Tecnology By : Esmaill Khanlarpour January.
Virtual Machine and its Role in Distributed Systems.
Presented by John Marian, Andrew Buhr, and Alvin Chen.
Outline Basic VM Concepts Formal Definitions Virtualization Theorems
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Cloud Operating System Unit 09 Cloud OS Core Technology M. C. Chiang Department of Computer Science and Engineering National Sun Yat-sen University Kaohsiung,
Full and Para Virtualization
Lecture 12 Virtualization Overview 1 Dec. 1, 2015 Prof. Kyu Ho Park “Understanding Full Virtualization, Paravirtualization, and Hardware Assist”, White.
Operating-System Structures
Protection of Processes Security and privacy of data is challenging currently. Protecting information – Not limited to hardware. – Depends on innovation.
CSE 451: Operating Systems Winter 2015 Module 25 Virtual Machine Monitors Mark Zbikowski Allen Center 476 © 2013 Gribble, Lazowska,
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
E Virtual Machines Lecture 1 What is Virtualization? Scott Devine VMware, Inc.
VIRTUAL MACHINE – VMWARE. VIRTUAL MACHINE (VM) What is a VM? – A virtual machine (VM) is a software implementation of a computing environment in which.
Open Source Virtualization Andrey Meganov RHCA, RHCX Consultant / VDEL
1 Virtualization "Virtualization software makes it possible to run multiple operating systems and multiple applications on the same server at the same.
CS 695 Topics in Virtualization and Cloud Computing, Autumn 2012 CS 695 Topics in Virtualization and Cloud Computing More Introduction + Processor Virtualization.
XEN – The Art of Virtualisation. So what is Virtualisation? ● Makes use of spare capacity ● Run multiple instances of OSes simultaneously ● Multitasking.
Virtualization for Cloud Computing
A move towards Greener Planet
Introduction to Virtualization
Virtualization.
Virtualization D. J. Foreman 2009.
L2- Virtualization Technology
Virtualization Dr. Michael L. Collard
Prepared by: Assistant prof. Aslamzai
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
Virtualization overview
Virtualisation Assessment & Roadmap
Virtual Servers.
1. 2 VIRTUAL MACHINES By: Satya Prasanna Mallick Reg.No
Virtual Machines.
Running other code under LINUX
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
OS Virtualization.
Virtualization 101.
Virtualization Techniques
A Survey on Virtualization Technologies
Virtual machines benefits
Windows Virtual PC / Hyper-V
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:

Virtualization Dr. Michael L. Collard www.sdml.info/collard www.sdml.info/collard/linux collard@cs.kent.edu

Platform Virtualization Hide the physical characteristics of computer resources from the applications Not a new idea: IBM’s CP-40 1967, CP/CMS, VM Full Virtualization Simulate enough hardware so that an unmodified guest operating system can be run Provides a full “virtual machine” Scenarios: Run Linux in a virtual machine on Windows Run multiple logical servers (each with their own virtual machine) on a single physical server

Virtual Machine Monitors (VMMs) VMn App0 App1 Appn ... Guest OS0 Guest OS1 Guest OSn Virtual Machine Monitor (VMM) Platform HW Memory Processor/CS I/O Devices Source: Understanding Intel Virtualization Technology”, N. Sahgal, D. Rodgers

Challenges of Running a VMM OS and Apps in a VM don't know that the VMM exists or that they share CPU resources with other VMs VM0 VM1 VMM should isolate Guest SW stacks from one another ... ... App App App App App App Guest OS0 ... Guest OS1 VMM should run protected from all Guest software VM Monitor VMM should present a virtual platform interface to Guest SW Platform Hardware Source: Understanding Intel Virtualization Technology”, N. Sahgal, D. Rodgers

Popek & Goldberg Formal Requirements for Virtualizable Third Generation Architectures – 1974 article Virtual Machine capable of virtualizing all hardware resources, processors, memory, storage, and peripherals Virtual Machine Monitor (VMM) provides virtual machine abstraction Also referred to as hypervisor

Popek & Goldberg VMM Properties Equivalence Program running under a VMM should exhibit a behavior identical to that of running on the equivalent machine Resource Control VMM is in full control of virtualized resources Efficiency A statistically dominant fraction of machine instructions may be executed without VMM intervention

Popek & Goldberg: Instructions Privileged instructions those that trap in user mode, and only run in system mode Control-sensitive instructions those that change the resource configuration of the system Behavior-sensitive instructions behavior or results depend on the configuration of resources

Theorem 1: Virtualization Can construct a VMM if set of control-sensitive instructions is a subset of the privileged instructions All control-sensitive instructions always trap and pass control to the VMM Guarantees resource control property non-privileged instructions must be executed natively

Theorem 2: Recursive Virtualization Recursive virtualization – VMM can run on a copy of itself For an architecture, this is possible if: The architecture is virtualizable A VMM without timing dependences can be built

Non-Virtualizable Machines VMMs (under Popek & Goldberg definition) cannot be build on non-virtualizable machines Workarounds: patching – critical instructions removed and replaced with trap to VMM paravirtualization – guest o.s. is modified (e.g., IBM VM)

x86 Virtualization Before 2005: Intel VT (Virtual Technology) (IVT) x86 processor architecture did not meet Popek & Goldberg virtualization requirements Intel VT (Virtual Technology) (IVT) IA-32, IA-64, Directed I/O, DMA & interrupt remapping, Connectivity AMD-V (Pacifica) AMD Athlon 64, Turion, Opteron

Virtualization: Isolation App1 App2 App1 App2 OS OS OS HW VMM HW Source: Understanding Intel Virtualization Technology”, N. Sahgal, D. Rodgers

Virtualization: Consolidation App1 App2 App1 App2 OS1 OS2 OS1 OS2 HW1 HW2 VMM HW Source: Understanding Intel Virtualization Technology”, N. Sahgal, D. Rodgers

Virtualization: Migration App App OS OS VMM VMM VMM VMM HW1 HW2 HW1 HW2 Source: Understanding Intel Virtualization Technology”, N. Sahgal, D. Rodgers

Usages Legacy software support – Consolidation Training/QA – Consolidation Activity Partioning – Isolation Administration – Consolidation, Isolation, Migration Failover Infrastructure - Migration

Questions about a VMM What OS does it run on? Does it need an OS? What OSs does it allows as guests? Can it support a VM even if the instructions are not on the physical CPU, e.g., IA-64 VM on IA-32 machine? How much can the resources be shared between guest Oss? What tools does it provide for managing VMs?

VMWare Desktop – runs in a host OS Server VMWare Workstation (1999) – runs on PC VMWare Fusion – runs on Mac OS X VMWare Player – run, but not create images Server VMWare Server (GSX Server) –hosted on Linux or Windows VMWare ESX (ESX Server) – no host OS VMWare ESXi (ESX 3i) – freeware (July 2008)

VMWare ESX Part of VMWare Infrastructure Runs “bare-metal”, i.e., has its own vmkernel, with near native performance Guest/Host CPU: x86 (ESXi only), x86-64, AMD Guest OS: Windows, Linux Management capabilities: Move VM between servers on the fly Move VM based on host/VM load requirements/demands

Microsoft Hyper-V Viridian, Windows Server Virtualization Host CPU: x64 + IVT or AMD-V VMM runs directly on the hardware, however requires one parent partition of Windows Server 2008. Parent manages child VMs Guest OS: Windows, SUSE, Linux (?) Enlightened I/O: direct access for enabled guests

Other Xen UML (User Mode Linux) free software runs native, but with required “dom0” OS (Linux, NetBSD, Solaris), which starts other VMs UML (User Mode Linux) Run Linux in Linux Support integrated into Linux kernel

Summary Virtualization is an old approach, but new software techniques and hardware support have it becoming more visible New tools/method/processes being developed to fully utilize virtualization In the mainstream of system administration