Docker
  • Introduction
    • What is Virtualization?
      • What is a Hypervisor?
      • Microsoft Hyper-V
    • What is Containerization?
      • What is docker?
      • What is a container image?
      • When to use containers?
      • When not to use Docker containers
  • Basics
    • ▶️Pull and run an image
      • Trivia
    • Basic docker commands
    • Container life cycle
  • Build an Image
    • ▶️Console app experiment
      • Hello-world image
    • What is a docker file?
      • Our docker file explained
    • ▶️Web app experiment
      • Create application
      • Create a docker file
      • Build an image
      • Run your image
      • Manipulating containers
  • Layers & Stages
    • Introduction
    • Image layers
    • Multistage images
Powered by GitBook
On this page
  1. Introduction
  2. What is Virtualization?

What is a Hypervisor?

A hypervisor, also known as a Virtual Machine Monitor (VMM), is a software or firmware layer that enables the creation and management of virtual machines (VMs). It provides the necessary abstraction to run multiple operating systems simultaneously on a single physical machine. Here's a brief description of a hypervisor:

  1. Definition: A hypervisor is a software or firmware layer that creates and manages virtual machines (VMs) on a physical machine.

  2. Purpose: The primary function of a hypervisor is to abstract the underlying hardware resources and allocate them to virtual machines, enabling multiple operating systems and applications to run independently on the same physical server.

  3. Features:

    • Resource Allocation: The hypervisor allocates physical resources such as CPU, memory, and storage to virtual machines based on their requirements.

    • Isolation: Each virtual machine operates independently and is isolated from other virtual machines, ensuring that activities within one VM do not affect others.

    • Hardware Emulation: The hypervisor emulates virtual hardware, allowing guest operating systems to run as if they were running on physical hardware.

    • Intermediary Role: The hypervisor acts as an intermediary between the guest operating systems and the physical hardware, managing resource requests and providing an interface for communication.

    • Live Migration: Some hypervisors support live migration, allowing virtual machines to be moved from one physical host to another without interruption, ensuring high availability and workload balancing.

  4. Types of Hypervisors:

    • Type 1 (Bare-metal) Hypervisor: Runs directly on the physical hardware, providing a layer between the hardware and the guest operating systems. Examples include VMware ESXi, Microsoft Hyper-V Server, and Citrix XenServer.

    • Type 2 (Hosted) Hypervisor: Runs on top of an existing operating system, leveraging its services and resources. Examples include VMware Workstation, Oracle VirtualBox, and Microsoft Virtual PC.

  5. Benefits of Hypervisors:

    • Server Consolidation: Hypervisors allow multiple virtual machines to run on a single physical server, reducing hardware costs and improving resource utilization.

    • Resource Isolation: Virtual machines are isolated from one another, ensuring that failures or issues in one VM do not affect others.

    • Hardware Abstraction: Hypervisors abstract the underlying hardware, enabling the migration of virtual machines across different physical hosts with varying hardware configurations.

    • Flexibility and Scalability: Virtual machines can be provisioned, cloned, and scaled up or down quickly to meet changing demands.

    • Improved Management: Hypervisors provide centralized management tools for creating, monitoring, and managing virtual machines.

Hypervisors play a crucial role in enabling virtualization, allowing organizations to optimize their infrastructure, improve resource utilization, and achieve greater flexibility and efficiency in managing their computing resources.

PreviousWhat is Virtualization?NextMicrosoft Hyper-V

Last updated 1 year ago