Desktop Virtualization Notes

Virtualization Overview

  • Virtualization: It is a technology that allows multiple operating systems to run on a single computer, each in its own virtual machine.
  • Virtual World: An example is Second Life, where users can explore a virtual environment with avatars.
  • Virtual Reality (VR) and Augmented Reality (AR): Technologies that create immersive digital experiences.
  • Storage Virtualization: Abstracts the physical storage, creating logical storage volumes.
  • Network Virtualization: Abstracts the network resources, allowing for flexible network configurations.
  • Server Virtualization: Enables multiple virtual servers to run on a single physical server.
  • Desktop Virtualization: Allows users to access virtual desktops from a central server or locally.
  • Virtual Machine (VM): A software-based emulation of a computer system.
  • Application Virtualization: Allows applications to run in an isolated environment.

Grandparent’s Virtual Machines

  • Dumb Terminal: A monitor and keyboard connected to a central computer, lacking processing capabilities.
  • Terminal Services: Allows users to access applications and data on a remote server.
  • Terminal Client: Software that enables a device to connect to a terminal server.

Today’s Virtual Desktops

  • Server-Based Virtual Desktops
    • Thin Client: A dedicated terminal or PC with client software.
      • Lacks common peripherals.
      • Connects to a server.
      • User works in a server-hosted environment.
    • Virtual Desktop Infrastructure (VDI): Management of multiple virtual desktops.
  • Local Virtual Desktops
    • Host OS: The operating system installed directly on the hardware.
    • Guest OS: The operating system running inside a virtual machine.
  • Type I and Type II Hypervisors
    • Hypervisor (Virtual Machine Monitor - VMM): Software layer that manages hardware allocated to virtual machines.
    • Type I Hypervisor (Bare-Metal Hypervisor): Runs directly on the computer's hardware.
    • Type II Hypervisor: Runs within a host OS.
      • Host OS runs in a VM.
      • Each client OS runs in a separate VM.

General Tasks for Virtualization

  • Prepare the host computer.
  • Install the hypervisor.
  • Create a virtual machine.
  • Install the guest OS.
  • Install appropriate utilities within the guest OS.
  • Configure security.
  • Locate the host key.

Major Hypervisor Sources

  • Citrix
  • VMware
  • Parallels
  • Microsoft
  • Oracle

Enabling and Configuring Windows Hyper-V

  • Hyper-V: A desktop virtualization feature of Windows.
    • Type I Hypervisor.
    • Includes Windows To Go.
    • Available in Pro and Enterprise Editions.
    • Requirements:
      • 4 GB RAM.
      • CPU with SLAT (Second Level Address Translation).

Connecting a Virtual Machine to a Network

  • Physical Switch: A device that connects networked computers and devices.
  • Virtual Switch: A simulated switch that connects VMs to a network.
  • Types of Virtual Switches
    • External Switch
      • VMs access the physical network.
      • VMs access other VMs on the same switch.
      • VMs access the host computer.
    • Internal Switch
      • No access to the physical network.
      • VMs access other VMs on the same switch.
      • No access to the host computer.
    • Private
      • No access to the physical network.
      • VMs access other VMs on the same switch.

Using Hyper-V Quick Create

  • Quick Create: A Hyper-V utility to quickly create and launch a virtual machine.
    • Preconfigured.
    • Includes a selected client OS.
    • Can be launched from Windows Administrative Tools or Hyper-V Manager.

Removing Hyper-V

  • Remove through Windows Features in the Control Panel.
  • Locate the Hyper-V node and clear the check box.
  • Progress information is displayed.
  • Prompts for restart to complete.

Virtual Machines in Oracle VirtualBox

  • Oracle VirtualBox: A hypervisor that can run on several hosts.
  • Supports various guest OSs like Windows, Linux, Oracle Solaris, and macOS.