Virtualization Chapter 30.

Slides:



Advertisements
Similar presentations
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Fall 2006.
Advertisements

MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 11 Windows Server 2008 Virtualization.
Virtualization Chapter 17.
© 2013 The McGraw-Hill Companies, Inc. All rights reserved Mike Meyers’ CompTIA A+ ® Guide to 802: Managing and Troubleshooting PCs Fourth Edition (Exam.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Virtualization for Cloud Computing
Virtualization 101.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Virtualization 101.
Machine Emulation & Developer Workstation Environment – Microsoft’s VirtualPC Dan Dyer Metrolist, Inc.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
Paper on Best implemented scientific concept for E-Governance Virtual Machine By Nitin V. Choudhari, DIO,NIC,Akola By Nitin V. Choudhari, DIO,NIC,Akola.
Red Hat Installation. Installing Red Hat Linux is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
SOFTWARE.
Tanenbaum 8.3 See references
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
Lesson 4 Computer Software
Operating System Virtualization
Paper on Best implemented scientific concept for E-Governance projects Virtual Machine By Nitin V. Choudhari, DIO,NIC,Akola.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
DIY: Your First VMware Server. Introduction to ESXi, VMWare's free virtualization Operating System.
Virtualization Lab 3 – Virtualization Fall 2012 CSCI 6303 Principles of I.T.
Hands-On Virtual Computing
ICT Day Term 4,  Virtualisation is growing in usage.  Current CPU’s are designed to support Virtualisation.  Businesses are looking at virtualisation.
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.
University of Management & Technology 1 Operating Systems & Utility Programs.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Explain the purpose of an operating system
Operating Systems TexPREP Summer Camp Computer Science.
INTRODUCTION TO VIRTUALIZATION KRISTEN WILLIAMS MOSES IKE.
Desktop Virtualization
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
CSC190 Introduction to Computing Operating Systems and Utility Programs.
Virtualization One computer can do the job of multiple computers, by sharing the resources of a single computer across multiple environments. Turning hardware.
Alessandro Cardoso, Microsoft MVP Creating your own “Private Cloud” with Windows 10 Hyper- V WIN443.
Hands-On Virtual Computing
Cloud Computing Lecture 5-6 Muhammad Ahmad Jan.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 6A Operating System Basics PART I.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
© ExplorNet’s Centers for Quality Teaching and Learning 1 Explain the purpose of Microsoft virtualization. Objective Course Weight 2%
VIRTUAL MACHINE – VMWARE. VIRTUAL MACHINE (VM) What is a VM? – A virtual machine (VM) is a software implementation of a computing environment in which.
Copyright © 2016 by McGraw-Hill Education. All rights reserved. Mike Meyers’ CompTIA A+ ® Guide to Managing and Troubleshooting PCs Fifth Edition Copyright.
Installing Windows 7 Lesson 2.
Using Virtualization in the Classroom
DISCOVERING COMPUTERS 2018 Digital Technology, Data, and Devices
Virtualization for Cloud Computing
Guide to Operating Systems, 5th Edition
Chapter 6: Securing the Cloud
Agenda Hardware Virtualization Concepts
Create setup scripts simply and easily.
Current Generation Hypervisor Type 1 Type 2.
Maintaining Windows Server 2008 File Services
Virtualization OVERVIEW
Desktop Virtualization
Chapter 5: Using System Software
Building a Virtual Infrastructure
TexPREP Summer Camp Computer Science
Virtual Servers.
Create A Virtual Machine
1. 2 VIRTUAL MACHINES By: Satya Prasanna Mallick Reg.No
Virtualization 101.
Virtualization Techniques
Guide to Operating Systems, 5th Edition
Partition Starter Find out what disk partitioning is, state key features, find a diagram and give an example.
Virtual Operating Systems
Windows Virtual PC / Hyper-V
Virtualization and Cloud Computing
Instructor Materials Chapter 5: Windows Installation
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 Chapter 30

Overview In this chapter, you will learn how to Describe the concepts of virtualization Explain why PC and network administrators have widely adopted virtualization Describe how virtualization manifests in modern networks 2

Introduction to Virtualization Virtualization is the “next big thing” in the computer industry. Virtualization creates a complete environment for a guest operating system to function as if it were installed on its own computer. Guest environment is called a virtual machine (VM). Individual machines or entire networks can be virtualized.

Introduction to Virtualization (continued) Figure 1 shows one such example: a system running Windows 7 using a program called VMware Workstation to host a virtual machine running Ubuntu Linux. Figure 1: VMware running Linux

What Is Virtualization?

What Is Virtualization? Most people have heard of “virtual reality.” A “virtual” world is created by software, with sight & sound provided by video and audio equipment. Primarily used for gaming, flight simulation, etc. Equipment such as goggles and special gloves enables you to “see” and “move” objects. Computer virtualization is similar “Virtual” operating system Software computer (guest) running on hardware host Allows multiple different operating systems to run

What Is Virtualization? (continued) For most of us, the idea of virtual reality starts with someone wearing some kind of headgear and gloves, as shown in Figure 2. Figure 2: Virtual reality training (photo courtesy of NASA)

What Is Virtualization? (continued) Uses for virtual reality include teaching someone how to fly a plane or do a space walk without having to do the real thing at the beginning (Figure 3). Figure 3: Using virtual reality to practice spacewalking (photo courtesy of NASA)

Computer Virtualization Similarly, computers and networks can be virtualized. Virtualization convinces an operating system that it’s running on its own hardware. The virtualization software runs on a host operating system that is physically installed on a machine. The guest operating systems are the virtual machines. Virtualization uses hypervisors or virtual machine managers to create and manage virtual machines and their interactions with their host environments.

Meet the Hypervisor A normal OS uses a program called a supervisor. Handles very low-level interaction among hardware and software (i.e., task scheduling, allotment of time and resources, etc.) Full virtualization requires an extra layer of programming to manage the complex interactions between the host and guest machines. Enter the hypervisor or virtual machine manager (VMM).

Meet the Hypervisor (continued) The hypervisor handles the input and output requests an operating system would make of normal hardware. It allocates real hardware (drives, RAM, media, etc.) from the host to the virtual machines. It enables easy addition and removal of virtual hard drives, virtual network cards, virtual RAM, etc. Note that the host machine allocates real RAM and CPU time to every running virtual machine. If you want to run a number of virtual machines at the same time, make sure your host machine has plenty of CPU power, and more importantly, plenty of RAM to support all the running virtual machines!

Meet the Hypervisor (continued) Figure 4 shows the Hardware Configuration screen from VMware Workstation. Figure 4: Configuring virtual hardware in VMware Workstation

Meet the Hypervisor (continued) Virtualization even goes so far as to provide a virtualized BIOS and System Setup for every virtual machine. Figure 5 shows another popular virtualization program, Microsoft’s Virtual PC, showing the System Setup, just as you’d see on a regular computer. Figure 5: System setup utility in VMware Workstation

Emulation versus Virtualization Virtualization uses hardware from the host system and divides it into individual virtual machines. It abstracts hardware that runs on the same platform. It cannot virtualize hardware that is on a different platform (an Intel platform cannot virtualize a Sony PlayStation). Emulation is very different. It enables software written for a different platform to run, but it does not virtualize the hardware.

Emulation versus Virtualization (continued) An emulator is software or hardware that converts the commands to and from the host machine into an entirely different platform. For example, an emulator makes it possible to run game console software on a PC.

Emulation versus Virtualization (continued) Figure 6 shows a typical emulator, Snes9X, running a game called Donkey Kong Country on a Windows system. Figure 6: Super Nintendo emulator running on Windows

Sample Virtualization The following slides take you through a quick tour of virtualization. They show the steps involved in setting up and installing a virtual machine and its guest OS. In this example, Windows 7 is the host OS. VMware Workstation is the VMM. Ubuntu is installed as the guest OS. In this example, we’ll use the popular VMware Workstation on a Windows 7 system and create a virtual machine running Ubuntu Linux.

Sample Virtualization (continued) Begin by obtaining a copy of VMware Workstation. This program isn’t free, but VMware will give you a 30-day trial. Go to www.vmware.com to get yourself a trial copy. A freshly installed copy of VMware Workstation looks like Figure 7. Figure 7: VMware Workstation

Sample Virtualization (continued) Clicking on New Virtual Machine prompts you for a typical or custom setup (Figure 8). These settings are only for backward compatibility with earlier versions of VMware, so just click Next. Figure 8: Selecting a Typical or Custom setup

Sample Virtualization (continued) Because virtual machines are so flexible on hardware, VMware Workstation enables you to use either the host machine’s optical drive or an ISO file. I’m installing Ubuntu, so I downloaded the latest ISO image from the Ubuntu website (www.ubuntu.com), and as Figure 9 shows, I’ve pointed the dialog box to that image. Figure 9: Selecting the installation media

Sample Virtualization (continued) Because VMware knows this operating system, it will automatically configure all of the virtual hardware settings—amount of RAM, virtual hard drive size, etc. You can change any of these settings, either before the virtual machine is created or at any time later. Refer back to Figure 5 to see these settings. You need to accept the size of the virtual drive, as shown in Figure 10. Figure 10: Setting the virtual drive size

Sample Virtualization (continued) Note that VMware uses a folder off the User’s Documents folder called Virtual Machines (Figure 11). Figure 11: Entering the VM name and location

Sample Virtualization (continued) VMware is very convenient, even ensuring the boot order in the virtual system setup is configured to boot first from the installation media, making the Ubuntu installation automatic (Figure 12). Figure 12: Ubuntu installing into the new virtual machine

Sample Virtualization (continued) Figure 13 shows VMware Workstation with the single VM installed but not running. Figure 13: VMware Workstation with a single VM

Sample Virtualization (continued) A VM goes through a POST process just like any computer, as shown in Figure 14. If you wish, you can even access a complete virtual System Setup by pressing the DELETE key, just as you would on a physical system. Figure 14: POST in a virtual machine

Why Do We Virtualize?

Why Do We Virtualize? Virtualization provides two key benefits: It reduces the number of physical machines. Virtual machines are simply files, making it easy to manage backups, security, portability, etc. Other important reasons include: Power savings Hardware consolidation System recovery System duplication Research

Power Savings Before virtualization, each server OS required its own unique physical system. With virtualization, you can place multiple virtual servers on a single physical system, reducing electrical power use. Expanding this electricity savings over an enterprise network or on a data center is cost effective and “green.”

Hardware Consolidation A physical high-end server represents a substantial investment in hardware— multiple processors, RAID arrays, redundant power supplies, and RAM. Setting up multiple physical high-end servers can be very expensive. Virtualization makes it possible to increase RAM and run a number of servers on a single machine.

System Recovery The most popular reason for virtualization is to keep a high uptime percentage. If a system goes down, you need to quickly restore the system from a backup. Virtualization makes it possible to shut down the VM and reload an alternative copy. Snapshots enable you to make a point-in- time exact copy of the virtual machine that can be used in case of an emergency restore.

System Recovery (continued) Figure 15 shows VMware's Workstation saving a snapshot. Figure 15: Saving a snapshot

System Duplication VMs are simply files that can be copied. VMs can be mass-duplicated by copying the files to the target machine. This makes it possible to deploy numerous servers with similar baseline operating systems. Useful in research or teaching environments

Research Virtualization makes it possible to reduce the number of research and testing machines. It can streamline the equipment necessary in these areas: Product testing and research Security testing and research Development testing before production

Research (continued) Figure 16: Lots of VMs used for research Today, a single hypervisor can support a large number of Windows versions on a single machine (Figure 16). Figure 16: Lots of VMs used for research

Virtualization in Modern Networks

Virtualization in Modern Networks The products we’ve discussed so far offer virtualization over operating systems: VMware Workstation Microsoft Virtual PC They are suitable for small implementations with few virtual machines. Large-scale implementations require a different approach.

Virtualization in Modern Networks (continued) Virtualization in large-scale networks uses “bare metal” hypervisors. No operating system is necessary. The virtualization software IS the OS. The hypervisor eliminates all the unnecessary OS overhead. VMware introduced ESX in 2001. It was an early serious large-scale bare-metal hypervisor. It has a small storage footprint and can be installed on and booted from a USB flash drive.

Virtualization in Modern Networks (continued) Figure 17 shows how we load our copy of ESX: via a small USB thumb drive. Power up the server, the server loads ESX off the thumb drive, and in short order a very rudimentary interface appears where we can input essential information, such as a master password and a static IP address. Figure 17: USB drive on server system

VMMs vs. Hypervisors A virtual machine manager (VMM) is virtual machine software that runs on top of a host operating system. Example: VMware Workstation A hypervisor is software that does not need a host operating system. Example: ESX Server These are also sometimes referred to as Type 1 hypervisors (ESX and Hyper-V) and Type 2 hypervisors, which are also called VMMs (VMware Workstation, VirtualPC, and Sun’s VirtualBox). Other writers call both the hosted and bare-metal—or native—virtualization software products hypervisors, but make a distinction in other descriptive words (such as hosted or native).

Virtual Machine Managers Many choices available for Linux, Windows, and Mac OS: VMware Workstation Microsoft Virtual PC Parallels KVM

Virtual Machine Managers (continued) VMware Workstation Industry leader in virtualization Comes in versions for Linux and Windows Offers features such as VMTools that make interactions between guest and host OS seamless

Virtual Machine Managers (continued) Virtual PC Microsoft VMM that runs over various iterations of Windows Free product Some limitations Officially supports Windows VMs, but Linux VMs can be installed and managed

Virtual Machine Managers (continued) Figure 18: Windows Virtual PC

Virtual Machine Managers (continued) Parallels Most popular virtualization manager for Mac OS X (followed by VMware Fusion) Supports all popular operating systems and even has good 3-D graphics support

Virtual Machine Managers (continued) Figure 19: Parallels for Mac

Virtual Machine Managers (continued) KVM Open-source virtualization product from Red Hat Represents Linux/Unix world Supports a few non-x86 processors Other open-source contenders include Xen and Oracle’s VirtualBox

Hypervisors There are several choices, but two are dominant in the market: Vmware’s ESX Microsoft’s Hyper-V

Hypervisors (continued) ESX Market leader; offers several features: Support for large storage (SAN and NAS) Transparent and automatic fault tolerance Transparent server transfer—you can move a running VM from one machine to another Support for up to 32 CPUs, depending on the version • Interface with large storage—ESX virtual machines easily integrate with NAS and SANs to handle massive data storage. • Transparent fault tolerance—ESX can monitor and automatically recover failed VMs with little or no input. • Transparent server transfer—You can move a running VM from one machine to another. • High virtual CPUs—Most hypervisors support a limited number of virtual CPUs, usually two at most. ESX can support up to 32 CPUs, depending on the version of the vSphere product you purchase to support it.

Hypervisors (continued) Microsoft’s contender in virtualization Free product Previously only part of Windows Server 2008—now also available as standalone product Available for 64-bit systems