Skip to main content

VMware

VMware ESXi

VMware ESXi is the bare-metal hypervisor in the VMware vSphere virtualization platform. As a bare-metal hypervisor for creating and running virtual machines (VMs), VMware ESXi runs on top and accesses the hardware directly without the need to install an operating system. This direct access to hardware allows it to perform better, run faster and be more scalable than other types of hypervisors. This makes VMware ESXi ideal for use in a large-scale virtual desktop infrastructure (VDI), in conjunction with the other components in the VMware vSphere platform.

What VMware ESXi Server Means

VMWare ESXi is the name of VMware’s bare-metal or Type-1 hypervisor. A hypervisor is a special kind of operating system where you can create, run, and manage multiple virtual machines. Each VM can have its own guest operating system and one or more applications. The guest OS can be any general-purpose OS like Windows, macOS, Linux, and so on.

Thus, a single VMWare ESXi Server can support multiple Windows VMs or a combination of multiple Windows, macOS, and Linux VMs, simultaneously. This is called server consolidation, a practice that allows you to save on hardware, cooling, and power costs, as well as maximize utilization of physical resources.

Being a Type-1 hypervisor, VMWare ESXi Server runs directly on top of physical infrastructure. Hence the term ‘bare metal’. This characteristic is different from that of a Type-2 hypervisor, which has to be installed on top of an operating system. The following diagram illustrates the difference between the two.

type-1-vs-type-2-hypervisor

VMware ESXi Features

VMware ESXi relies on the VMkernel, which is a microkernel, to run the hardware, guest systems and service layer making up the VMware virtualization platform. The VMkernel runs the physical hardware and guest VMs, connects directly to the CPU and memory and uses modules linked via another module to access the hardware’s networking and storage components.

Notable features of VMware ESXi include:

  • Small size - Just 150 MB
  • Convenient installation
  • User-friendly administration tools
  • Secure design
  • Scalable reliability
  • Extensive support and compatibility
  • traffic shaping
  • memory ballooning
  • role-based security access
  • logging and auditing
  • a GUI
  • vSphere PowerCLI
  • configuration of up to 768 processor cores

ESXi Server Versus Hyper-V

Microsoft Hyper-V is another type-1 hypervisor in the mold of an ESXi Server. Hyper-V was first released as a component of Windows Server 2008. It is a free and standard component in later Windows Server versions as well as 64-bit versions of the Windows 10 Pro, Enterprise and Education editions.

ESXi and Hyper-V have their own set of pros and cons. Some features common to the two systems are:

  • Storage deployment: Hyper-V’s Resilient File System (ReFS) is like VMware’s VMFS. However, in terms of clustering, VMFS is simpler than the Hyper-V equivalent.
  • Snapshot technology: This refers to the use of point-in-time copies of VMs and their data, with the end goal of preventing data loss. Hyper-V allows running snapshots in production and exporting persistent checkpoints to other locations, features not available in the VMware suite. Hyper-V also allows 64 snapshots per VM (Virtual Machine), in contrast to the 32 VMware allows.
  • Memory management: VMware uses several complex techniques, but Hyper-V uses just one.
  • Operating system support: VMware supports Windows, macOS, Linux and Unix, but Hyper-V support is limited to Windows, Linux and FreeBSD.
  • Security: VMware supports data encryption at rest and in motion, but Hyper-V security is managed via Active Directory.
  • Pricing: VMware used to charge per processor, but it has shifted to the Microsoft model of charging based on the number of cores on the host machine.

Architecture

The VMware ESXi architecture mainly consists of VMkernel and the processes that run on top of it. Let’s talk about the VMkernel and some of those processes now.

VMkernel

VMkernel is technically an operating system. Like other operating systems, VMkernel creates and controls processes, controls hardware devices on the server, uses a file system, manages application resources, and so on. Its main function, however, is to support virtual machines.

The main processes that run on VMkernel include the following.

Direct Console User Interface (DCUI)

DCUI is the local configuration and management interface. You can only access the DCUI locally, i.e., on the VMware ESXi server itself. Its user interface is menu-driven, with a look and feel similar to that of a BIOS interface. You mainly use the DCUI for initial configuration and troubleshooting purposes.

Virtual Machine Monitor (VMM)

VMM provides the execution environment for a virtual machine. This process is always accompanied by a corresponding Virtual Machine Executable (VMX) process. This means that each running VM is always accompanied by a VMM process and a VMX process. The former is in charge of virtualizing the guest OS instructions and managing memory, while the latter manages I/O to certain devices.

Common Information Model (CIM) System

The CIM system provides an interface for remote applications so that they can access device drivers and underlying hardware resources on the ESXi server in question. Access is provided through a set of APIs. The CIM system consists of an object manager known as a CIM broker and a collection of CIM providers. CIM providers are written by VMware itself as well by hardware vendors who want a way to manage and monitor their manufactured devices.

vmware-esxi-architecture

What Is the VMware ESXi Server and Its Role in the VMware Suite?

What is VMware ESXi? - Definition from TechTarget.com

Virtualization and Containerization: Which one to pick?

Type 1 vs. Type 2 Hypervisors: What's the Difference?