Lesson 2 Notes
Lesson 2 Notes
With virtualization, one physical computer can support multiple guest virtual machines, with the help
of a hypervisor. The hypervisor is a layer of software that sits between the hardware and the virtual
machine. This software makes virtualization possible. To understand virtualization, then, you must
understand how a hypervisor works.
On traditional computers, the OS controls the physical resources, such as processing, memory,
networking, and storage, and presents these resources to running applications. Similar to an OS,
hypervisors control the physical resources of a computer. But they use those resources to create and
manage VMs
Types of Hypervisors
Before you can create and run VMs, you must install the hypervisor on a host or physical machine.
The hypervisor then creates a virtual version of the hardware and is ready to host VMs.
Use a media device that contains the software installer and mount it to the physical host.
Connect a display and a keyboard to the host to access the ESXi console.
Step 1: When the hypervisor starts, it takes control of the physical resources of the host.
You use the server resources (processors, memory, disks, and network cards) to create and manage
VMs.
When creating a physical server, you assemble the required physical CPU, RAM, and other resources.
Similarly, for VMs, you specify the software equivalent of the hardware resources that you need to
run the guest OS.
For example, to run a guest Ubuntu server, you create a VM with the resources that the Ubuntu OS
requires, such as a 2 GHz CPU (processor) or 4 GB RAM (memory).
Step 3: The hypervisor creates virtual hardware that VMs can use:
The hypervisor abstracts the processor, memory, disk, network, and other resources and creates a
virtual version of these resources, which are called virtual hardware.
For example, you mount a USB drive with the Ubuntu installation media on the physical host. The
ESXi host recognizes the device and creates a virtual version of it. You assign or virtually mount the
drive on the newly created VM.
Step 4: The hypervisor manages the virtual hardware assigned to the VMs that it runs.
For example, the ESXi host ensures that each VM receives all the resources that it requires.
Step 5: You install a guest OS inside the VM in the same way that you install an OS on a physical
computer:
For example, you run the Ubuntu installer media and follow the instructions for installing the guest
OS.
When the OS starts up, it consumes the virtual hardware that you assign to the VM.