Published on

The presentation I used to introduce the concept of Virtualization at Acharya Narendra Dev College, Delhi University.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Many of you may be familiar with the term.

  • For those of you who aren’t, I’ll start with the basics.

  • Virtualization is a very important technology today.

  • Most outsourced data centers and servers used virtualized softwares services.

  • We call it the simulation of reality because anything computer generated isn’t physically present. There are two types of virtualization. Application Virtualization and Platform Virtualization. Our main focus, today, is on Platform Virtualization.

  • What goes on in virtualization...

  • We create virtual machines or VMs. VMs are software applications that behave like physical computers. Each virtual machine uses part of the resources present on the host machine where it is present.

  • Depending on whether you are virtualizing Applications or Platforms, VMs can behave a little differently.

  • In the case of Application Virtualization, the application believes that it is interfacing with the operating system and the resources it manages. That doesn’t happen. The VM is a layer in between. It is responsible for providing the execution environment required for the application. So whether you’re using Windows or Linux, the same application will work on both as long as you have the virtual machine it requires. The JVM or Java Virtual Machine is a very good example of such a VM. What it provides is portability and security. After compiling Java code, we get Java bytecode. This bytecode is platform independent. The Java bytecode executes on all platforms as long as each platform has the Java Virtual Machine. Therefore it is portable. It is secure because execution takes place inside the JVM which is a very restricted environment having little or no direct access to the hardware of the host machine.

  • Let’s take a simple but important example to understand Platform Virtualization.

  • Let’s say that the computer you are using has a 600Mhz processor. 1000MB(1GB) RAM. 30GB Hard Disk.

  • At anytime, you don’t use more than 200Mhz of processing power. 200MB of RAM. 10GB of Hard Disk space.

  • What happens to the remaining 400Mhz of processing power, 800MB RAM and 20GB of space? Usually you would let it go waste. Think of an office where three users each need access to a computer.

  • Why not put all that wasted power to use? Instead of having three such machines for these three users we could divide one machine’s resources amongst three virtual machines, as shown in the pie charts. We have Virtual Machines 1, 2 and 3. VM1 uses 200Mhz processing power, 200MB RAM and 10GB HD space. VM2 uses 200Mhz power, 300MB RAM and 5GB space. VM3 uses 200Mhz power, 500MB RAM, 5GB HD space.

  • This is what Platform Virtualization essentially is. We’re saving a lot of money here by replacing three machines, each having many unused resources, with one machine, having all it’s resources used.

  • This figure represents what we are trying to achieve. Instead of three individual machines, we divide the resources of one machine, while allocating them to three virtual machines each having a guest operating system as per users’ requirements.

  • DOMU-Domain Unprivileged
  • Virtualization

    1. 1. Virtualization What. Why. How. Abhishek Nandakumar
    2. 2. VIRTUALIZATION Virtualization is the computer generated simulation of reality. Types: Application Virtualization Platform Virtualization Abhishek Nandakumar
    3. 3. VIRTUALIZATION Virtualization is the computer generated simulation of reality. Types: Application Virtualization Platform Virtualization MAIN FOCUS Abhishek Nandakumar
    4. 4. VIRTUALIZATION What. Create virtual machines or VMs VMs behaving like physical computers. VMs use a subset of the resources of the host machine. Abhishek Nandakumar
    5. 5. VIRTUALIZATION Application Virtualization. Application thinks it is interfacing with the OS and resources, when it is interfacing with the VM in between. Irrespective of the operating system, an application will work if the virtual machine it requires is present. Provides security & portability. Abhishek Nandakumar
    6. 6. VIRTUALIZATION One Platform, One Operating System Available : 600Mhz, 1000MB RAM, 30GB HDD Wastage : 400Mhz, 800MB RAM, 20GB HDD Abhishek Nandakumar
    7. 7. PLATFORM VIRTUALIZATION One Platform, Multiple Operating Systems Available : 600Mhz, 1000MB RAM, 30GB HDD Wastage : 0Mhz, 0MB RAM, 0GB HDD Abhishek Nandakumar
    8. 8. Platform Virtualization Abhishek Nandakumar
    9. 9. Platform Virtualization The Virtual Machine forms a layer that separates the operating system from underlying platform resources. Divide resources. Distribute them to each virtual machine. The OS treats each VM like a physical computer having it’s own dedicated resources. Abhishek Nandakumar
    10. 10. PLATFORM VIRTUALIZATION Why. To run multiple operating systems concurrently. Efficient and Economical. Portable Flexible configurations No risk to hardware or host system. Abhishek Nandakumar
    11. 11. How. Figure 1. Type I Hypervisor Using a Hypervisor or VM Monitor (Software that allows multiple OSes to run on a host machine simultaneously) Figure 2. Type II Hypervisor Types: I (native, directly on hardware) II (hosted, within an operating system) Abhishek Nandakumar
    12. 12. PLATFORM VIRTUALIZATION How. | Procedure. Open virtualization layer. Create Virtual Machine Allocate some computing resources to it. Install guest operating system. Virtualize! Abhishek Nandakumar
    13. 13. PLATFORM VIRTUALIZATION How. | Procedure. | Create. Abhishek Nandakumar
    14. 14. PLATFORM VIRTUALIZATION How. | Procedure. | Allocate. Abhishek Nandakumar
    15. 15. PLATFORM VIRTUALIZATION How. | Install.1 Abhishek Nandakumar
    16. 16. PLATFORM VIRTUALIZATION How. | Install.2 Abhishek Nandakumar
    17. 17. PLATFORM VIRTUALIZATION How. | Install.3 Abhishek Nandakumar
    18. 18. PLATFORM VIRTUALIZATION How. | Install.4 Abhishek Nandakumar
    19. 19. PLATFORM VIRTUALIZATION How. | Virtualize! Abhishek Nandakumar