VirtualizationCS-502 Fall 20061 Virtualization CS-502 Operating Systems Fall 2006 (Slides include materials from Operating System Concepts, 7 th ed., by.

Slides:



Advertisements
Similar presentations
Operating Systems Components of OS
Advertisements

Virtualization Dr. Michael L. Collard
Virtualisation From the Bottom Up From storage to application.
Introduction to Operating Systems CS-2301 B-term Introduction to Operating Systems CS-2301, System Programming for Non-majors (Slides include materials.
Introduction to Virtualization
CS-3013 & CS-502, Summer 2006 Virtual Machine Systems1 CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 2.
1/28/2004CSCI 315 Operating Systems Design1 Operating System Structures & Processes Notice: The slides for this lecture have been largely based on those.
Virtualization and the Cloud
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.
The Origin of the VM/370 Time-sharing system Presented by Niranjan Soundararajan.
Virtualization 101.
Virtualization Performance H. Reza Taheri Senior Staff Eng. VMware.
Virtualization Technology Prof D M Dhamdhere CSE Department IIT Bombay Moving towards Virtualization… Department of Computer Science and Engineering, IIT.
Tanenbaum 8.3 See references
Operating System Virtualization
Paper on Best implemented scientific concept for E-Governance projects Virtual Machine By Nitin V. Choudhari, DIO,NIC,Akola.
Zen and the Art of Virtualization Paul Barham, et al. University of Cambridge, Microsoft Research Cambridge Published by ACM SOSP’03 Presented by Tina.
Making the Virtualization Decision. Agenda The Virtualization Umbrella Server Virtualization Architectures The Players Getting Started.
May l Washington, DC l Omni Shoreham Nick Dobrovolskiy VP Parallels Open Platform May 19 th, 2008 Introducing Parallels Server.
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.
CS533 Concepts of Operating Systems Jonathan Walpole.
Virtualization. Virtualization  In computing, virtualization is a broad term that refers to the abstraction of computer resources  It is "a technique.
Virtualization Paul Krzyzanowski Distributed Systems Except as otherwise noted, the content of this presentation is licensed.
Virtual Machine and its Role in Distributed Systems.
INTRODUCTION TO VIRTUALIZATION KRISTEN WILLIAMS MOSES IKE.
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
VMware vSphere Configuration and Management v6
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Full and Para Virtualization
Operating-System Structures
Cloud Computing Lecture 5-6 Muhammad Ahmad Jan.
Virtual Machines. A virtual machine takes the layered approach to its logical conclusion. It treats hardware and the operating system kernel as though.
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
Virtualization Assessment. Strategy for web hosting Reduce costs by consolidating services onto the fewest number of physical machines
Unit 2 VIRTUALISATION. Unit 2 - Syllabus Basics of Virtualization Types of Virtualization Implementation Levels of Virtualization Virtualization Structures.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
VIRTUAL MACHINE – VMWARE. VIRTUAL MACHINE (VM) What is a VM? – A virtual machine (VM) is a software implementation of a computing environment in which.
Virtualization for Cloud Computing
Guide to Operating Systems, 5th Edition
A move towards Greener Planet
Virtualization.
Virtual Machine Monitors
Chapter 6: Securing the Cloud
Module 3: Operating-System Structures
Agenda Hardware Virtualization Concepts
Virtualization Dr. Michael L. Collard
Prepared by: Assistant prof. Aslamzai
Operating System Structure
Virtualization overview
Virtual Servers.
1. 2 VIRTUAL MACHINES By: Satya Prasanna Mallick Reg.No
Virtual Machines.
Group 8 Virtualization of the Cloud
OS Virtualization.
Virtualization 101.
Virtualization Techniques
Guide to Operating Systems, 5th Edition
Chapter 3: Operating-System Structures
Virtual machines benefits
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
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:

VirtualizationCS-502 Fall Virtualization CS-502 Operating Systems Fall 2006 (Slides include materials from Operating System Concepts, 7 th ed., by Silbershatz, Galvin, & Gagne and from Modern Operating Systems, 2 nd ed., by Tanenbaum)

VirtualizationCS-502 Fall Problem Enterprise IT centers support many service applications Microsoft Exchange Oracle SAP Web servers Citrix … Each service application demands its own environment Specific version of operating system Multiple processors and disks Specialized configurations …

VirtualizationCS-502 Fall Problem (continued) Combining services on same server host is difficult (at best) Conflicting demands Incompatible loads … Upgrading or commissioning a service is very difficult Shadow server machines for debugging & testing Complicated changeover tactics …

VirtualizationCS-502 Fall Problem (continued) Adding or upgrading hardware or OS is difficult Testing and refitting active service Complicated changeover tactics … Load balancing is impossible Services tied to own systems Some underused, some overused

VirtualizationCS-502 Fall Modest Example — WPI’s CCC Approx 20 difference services Approx 20 server systems Approx. 80 processors > 100 gigabytes of RAM ~ 20 terabytes of disk storage Multiple operating systems

VirtualizationCS-502 Fall Solution — Virtualization Decouple [OS, service] pair from hardware Multiplex lightly-used services on common host hardware Migrate services from host to host as needed Introduce new [OS, service] pairs as needed Commissioning new services Testing upgrades of existing services Experimental usage …

VirtualizationCS-502 Fall Virtual Machine A virtual machine provides interface identical to underlying bare hardware –I.e., all devices, interrupts, memory, page tables, etc. Virtual Machine Operating System creates illusion of multiple processors –Each capable of executing independently –No sharing, except via network protocols –Clusters and SMP can be simulated

VirtualizationCS-502 Fall Virtual Machines (a) Nonvirtual machine (b) virtual machine Non-virtual Machine Virtual Machine

VirtualizationCS-502 Fall History – CP67 / CMS IBM Cambridge Scientific Center Ran on IBM 360/67 Alternative to TSS/360, which never sold very well Replicated hardware in each “process” Virtual 360/67 processor Virtual disk(s), virtual console, printer, card reader, etc. CMS: Cambridge Monitor System A single user, interactive operating system Commercialized as VM370 in mid-1970s

VirtualizationCS-502 Fall History (continued) “Hypervisor” systems – mid 1970s  mid 1990s –Large mainframes (IBM, HP, etc.) –Internet hosting services –Virtual dedicated services –…

VirtualizationCS-502 Fall Modern Virtualization Systems VMware –Workstation and Player –Multiple versions of VMware Server –Virtual appliances Xen –Public domain hypervisor –Adaptive support in operating systems –Emerging support in processor chips Intel, AMD Macintosh Parallels

VirtualizationCS-502 Fall Virtualization being embraced by major OS vendors Red Hat Enterprise Linux Suse Enterprise Linux Microsoft Longhorn server (est ) …

VirtualizationCS-502 Fall (Red Hat) Marketing “Promises” Freedom from upgrades If new OS version causes problems with a service, keep old OS version for that service Security Reduces potential number of users logging into a service Reduces undesirable sharing Narrows scope of attacks Development and Testing Viable platform for developers in quasi-real environment Reduces number of test machines Automated scripts for intensive testing, crash records, etc. …

VirtualizationCS-502 Fall (Red Hat) Marketing “Promises” (continued) Live Migration – move services from one host to another while still running No interruption in service visible to clients Preparation for taking down hardware for maint. Preparation for heavy batch run, etc. Failure Isolation Crash of one service does not affect other services Particularly on SMP system Hot backups of services can be maintained

VirtualizationCS-502 Fall (SUSE) Marketing “Promises” Increased server hardware utilization Consolidate disparate services on hardware Lower capital, maintenance, and energy costs Rebalancing loads to meet peak demands Adjust for time-of-day differences Application portability across platforms …

VirtualizationCS-502 Fall Definitions Host Operating System: –The operating system actually running on the hardware –Together with virtualization layer, it simulates environment for … Guest Operating System: –The operating system running in the simulated environment –I.e., the one we are trying to isolate

VirtualizationCS-502 Fall Virtual Machines (continued) Virtual-machine concept provides complete protection of system resources –Each virtual machine is isolated from all other virtual machines. –However, limited sharing of resources Virtual-machine system is a good vehicle for operating- systems research and development. –System development is done on the virtual machine does not disrupt normal operation –Multiple concurrent developers can work at same time The virtual machine concept is difficult to implement due to the effort required to provide an exact duplicate to the simulated machine

VirtualizationCS-502 Fall Example – Page tables Suppose guest OS has its own page tables Then virtualization layer must –Copy those tables to its own –Trap every reference or update to tables and simulate it During page fault –Virtualization layer must decide whether fault belongs to guest OS or self –If guest OS, must simulate a page fault Likewise, virtualization layer must trap and simulate every privileged instruction in machine!

VirtualizationCS-502 Fall Virtual Machines (continued) Some hardware architectures or features are impossible to virtualize –Certain registers or state not exposed –Unusual devices and device control –Clocks, time, and real-time behavior Solution – drivers or tools in guest OS –VMware Tools –Xen configuration options in Linux build

VirtualizationCS-502 Fall Snapshots & Migration Snapshot: freeze a copy of virtual machine Identify all pages in disk files, VM memory Use copy-on-write for any subsequent modifications To revert, throw away the copy-on-write pages Migration: move a VM to another host Take snapshot (fast) Copy all pages of snapshot (not so fast) Copy modified pages (fast) Freeze virtual machine and copy VM memory –Very fast, fractions of a second

VirtualizationCS-502 Fall Cloning Simple clone: Freeze virtual machine Copy all files implementing it Use copy-on-write to speed up Linked clone: Take snapshot Original and each clone is a copy-on-write version of snapshot

VirtualizationCS-502 Fall VMware – Modern Virtual Machine System Founded 1998, Mendel Rosenblum et al. Research at Stanford University VMware Workstation Separates Host OS from virtualization layer Host OS may be Windows, Linux, etc. Wide variety of Guest operating systems < $200 VMware Player is a free, stripped-down version of VMware Workstation

VirtualizationCS-502 Fall VMware Architecture

VirtualizationCS-502 Fall VMware Server Free version released in Runs on any x86 server hardware and OS Windows Server and Linux Host OS’s Partition a physical server into multiple virtual server machines Target market – IT centers providing multiple services Allows separate virtual servers to be separately configured for separate IT applications –Provisioning Portability, replication, etc.

VirtualizationCS-502 Fall VMware Server ESX Total decoupling between hardware and applications High-end, high-performance IT applications Oracle, SQL Server, Microsoft Exchange server, SAP, Siebel, Lotus Notes, BEA WebLogic, Apache Dynamically move running application to different hardware Maintenance, hardware replacement Provisioning new versions, etc.

VirtualizationCS-502 Fall Xen — Public Domain Virtualization Project Cambridge University – Philosophy – Adapt Guest OS to virtualization layer –See configuration options of Suse Linux kernel

VirtualizationCS-502 Fall Must virtual machine be replica of host machine? No, virtualization layer can simulate any architecture Typically used for debugging specialized systems Real-time systems, niche products, etc. Guest architecture does not even have to be real hardware!

VirtualizationCS-502 Fall The Java Virtual Machine Own idealized architecture Stylized machine language Byte codes Readily available interpreter

VirtualizationCS-502 Fall Questions? Next Topic