VMware ESXi explained

VMware ESXi
Developer:VMware (Broadcom)
Latest Release Version:8.0 Update 3 (Build 24022510)[1]
Latest Release Date:[2]
Platform:IA-32 (x86-32) (discontinued in 4.0 onwards),[3] x86-64, ARM[4]
Genre:Native hypervisor (type 1)
License:Proprietary

VMware ESXi (formerly ESX) is an enterprise-class, type-1 hypervisor developed by VMware, a subsidiary of Broadcom, for deploying and serving virtual computers. As a type-1 hypervisor, ESXi is not a software application that is installed on an operating system (OS); instead, it includes and integrates vital OS components, such as a kernel.[5]

After version 4.1 (released in 2010), VMware renamed ESX to ESXi. ESXi replaces Service Console (a rudimentary operating system) with a more closely integrated OS. ESX/ESXi is the primary component in the VMware Infrastructure software suite.[6]

The name ESX originated as an abbreviation of Elastic Sky X.[7] [8] In September 2004, the replacement for ESX was internally called VMvisor, but later changed to ESXi (as the "i" in ESXi stood for "integrated").[9] [10]

Architecture

ESX runs on bare metal (without running an operating system)[11] unlike other VMware products.[12] It includes its own kernel. In the historic VMware ESX, a Linux kernel was started first[13] and then used to load a variety of specialized virtualization components, including ESX, which is otherwise known as the vmkernel component.[14] The Linux kernel was the primary virtual machine; it was invoked by the service console. At normal run-time, the vmkernel was running on the bare computer, and the Linux-based service console ran as the first virtual machine. VMware dropped development of ESX at version 4.1, and now uses ESXi, which does not include a Linux kernel at all.[15]

The vmkernel is a microkernel[16] with three interfaces: hardware, guest systems, and the service console (Console OS).

Interface to hardware

The vmkernel handles CPU and memory directly, using scan-before-execution (SBE) to handle special or privileged CPU instructions[17] [18] and the SRAT (system resource allocation table) to track allocated memory.[19]

Access to other hardware (such as network or storage devices) takes place using modules. At least some of the modules derive from modules used in the Linux kernel. To access these modules, an additional module called vmklinux implements the Linux module interface. According to the README file, "This module contains the Linux emulation layer used by the vmkernel."[20]

The vmkernel uses the device drivers:[20]

  1. net/e100
  2. net/e1000
  3. net/e1000e
  4. net/bnx2
  5. net/tg3
    1. net/pcnet32
    2. scsi/adp94xx
  6. scsi/aic7xxx
  7. scsi/aic79xx
  8. scsi/ips
  9. scsi/lpfcdd-v732
  10. scsi/megaraid2
  11. scsi/mptscsi_2xx
  12. scsi/qla2200-v7.07
  13. scsi/megaraid_sas
  14. scsi/qla4010
  15. scsi/qla4022
    1. scsi/aacraid_esx30
  16. scsi/lpfcdd-v7xx
  17. scsi/qla2200-v7xx

These drivers mostly equate to those described in VMware's hardware compatibility list.[21] All these modules fall under the GPL. Programmers have adapted them to run with the vmkernel: VMware Inc. has changed the module-loading and some other minor things.[20]

Service console

In ESX (and not ESXi), the Service Console is a vestigial general purpose operating system most significantly used as bootstrap for the VMware kernel, vmkernel, and secondarily used as a management interface. Both of these Console Operating System functions are being deprecated from version 5.0, as VMware migrates exclusively to the ESXi model.[22] The Service Console, for all intents and purposes, is the operating system used to interact with VMware ESX and the virtual machines that run on the server.

Purple Screen of Death

In the event of a hardware error, the vmkernel can catch a Machine Check Exception.[23] This results in an error message displayed on a purple diagnostic screen. This is colloquially known as a purple diagnostic screen, or purple screen of death (PSoD, c.f. blue screen of death (BSoD)).

Upon displaying a purple diagnostic screen, the vmkernel writes debug information to the core dump partition. This information, together with the error codes displayed on the purple diagnostic screen can be used by VMware support to determine the cause of the problem.

Versions

VMware ESX used to be available in two main types: ESX and ESXi, but as of version 5, the original ESX has been discontinued in favor of ESXi.

ESX and ESXi before version 5.0 do not support Windows 8/Windows 2012. These Microsoft operating systems can only run on ESXi 5.x or later.[24]

VMware ESXi, a smaller-footprint version of ESX, does not include the ESX Service Console. Before Broadcom acquired VMware, it was available - without the need to purchase a vCenter license - as a free download from VMware, with some features disabled.[25] [26] [27]

ESXi stands for "ESX integrated".[28]

VMware ESXi originated as a compact version of VMware ESX that allowed for a smaller 32 MB disk footprint on the host. With a simple configuration console for mostly network configuration and remote based VMware Infrastructure Client Interface, this allows for more resources to be dedicated to the guest environments.

Two variations of ESXi exist:

The same media can be used to install either of these variations depending on the size of the target media.[29] One can upgrade ESXi to VMware Infrastructure 3[30] or to VMware vSphere 4.0 ESXi.

Originally named VMware ESX Server ESXi edition, through several revisions the ESXi product finally became VMware ESXi 3. New editions then followed: ESXi 3.5, ESXi 4, ESXi 5 and ESXi 6.

GPL violation lawsuit

VMware has been sued by Christoph Hellwig, a Linux kernel developer. The lawsuit began on March 5, 2015. It was alleged that VMware had misappropriated portions of the Linux kernel,[31] [32] and, following a dismissal by the court in 2016, Hellwig announced he would file an appeal.[33]

The appeal was decided February 2019 and again dismissed by the German court, on the basis of not meeting "procedural requirements for the burden of proof of the plaintiff".[34]

In the last stage of the lawsuit in March 2019, the Hamburg Higher Regional Court also rejected the claim on procedural grounds. Following this, VMware officially announced that they would remove the code in question.[35] This followed with Hellwig withdrawing his case, and withholding further legal action.[36]

Related or additional products

The following products operate in conjunction with ESX:

Cisco Nexus 1000v

Network-connectivity between ESX hosts and the VMs running on it relies on virtual NICs (inside the VM) and virtual switches. The latter exists in two versions: the 'standard' vSwitch allowing several VMs on a single ESX host to share a physical NIC and the 'distributed vSwitch' where the on different ESX hosts together form one logical switch. Cisco offers in their Cisco Nexus product-line the Nexus 1000v, an advanced version of the standard distributed vSwitch. A Nexus 1000v consists of two parts: a supervisor module (VSM) and on each ESX host a virtual Ethernet module (VEM). The VSM runs as a virtual appliance within the ESX cluster or on dedicated hardware (Nexus 1010 series) and the VEM runs as a module on each host and replaces a standard dvS (distributed virtual switch) from VMware.

Configuration of the switch is done on the VSM using the standard NX-OS CLI. It offers capabilities to create standard port-profiles which can then be assigned to virtual machines using vCenter.

There are several differences between the standard dvS and the N1000v; one is that the Cisco switch generally has full support for network technologies such as LACP link aggregation or that the VMware switch supports new features such as routing based on physical NIC load. However, the main difference lies in the architecture: Nexus 1000v is working in the same way as a physical Ethernet switch does while dvS is relying on information from ESX. This has consequences for example in scalability where the Kappa limit for a N1000v is 2048 virtual ports against 60000 for a dvS.

The Nexus1000v is developed in co-operation between Cisco and VMware and uses the API of the dvS.[41]

Third-party management tools

Because VMware ESX is a leader in the server-virtualization market,[42] software and hardware vendors offer a range of tools to integrate their products or services with ESX. Examples are the products from Veeam Software with backup and management applications[43] and a plugin to monitor and manage ESX using HP OpenView,[44] Quest Software with a range of management and backup-applications and most major backup-solution providers have plugins or modules for ESX. Using Microsoft Operations Manager (SCOM) 2007/2012 with a Bridgeways ESX management pack gives the user a realtime ESX datacenter health view.

Hardware vendors such as Hewlett Packard Enterprise and Dell include tools to support the use of ESX(i) on their hardware platforms. An example is the ESX module for Dell's OpenManage management platform.[45]

VMware has added a Web Client[46] since v5 but it will work on vCenter only and does not contain all features.[47] vEMan[48] is a Linux application which is trying to fill that gap. These are just a few examples: there are numerous 3rd party products to manage, monitor or backup ESX infrastructures and the VMs running on them.[49]

Known limitations

As of September 2020, these are the known limitations of VMware ESXi 7.0 U1.

Infrastructure limitations

Some maximums in ESXi Server 7.0 may influence the design of data centers:[50] [51]

Performance limitations

In terms of performance, virtualization imposes a cost in the additional work the CPU has to perform to virtualize the underlying hardware. Instructions that perform this extra work, and other activities that require virtualization, tend to lie in operating system calls. In an unmodified operating system, OS calls introduce the greatest portion of virtualization "overhead".

Paravirtualization or other virtualization techniques may help with these issues. VMware developed the Virtual Machine Interface for this purpose, and selected operating systems support this. A comparison between full virtualization and paravirtualization for the ESX Server[52] shows that in some cases paravirtualization is much faster.

Network limitations

When using the advanced and extended network capabilities by using the Cisco Nexus 1000v distributed virtual switch the following network-related limitations apply:[41]

Fibre Channel Fabric limitations

Regardless of the type of virtual SCSI adapter used, there are these limitations:[53]

See also

External links

Notes and References

  1. Web site: Build numbers and versions of VMware ESXi/ESX .
  2. Web site: VMware ESXi 8.0 Update 3 Release Notes.
  3. Web site: VMware ESX 4.0 only installs and runs on servers with 64bit x86 CPUs. 32bit systems are no longer supported. . VMware, Inc..
  4. Web site: Announcing the ESXi-ARM Fling. . VMware, Inc. .
  5. Web site: ESX Server Architecture . VMware . 2009-10-22 . https://web.archive.org/web/20091107080723/https://www.vmware.com/support/esx21/doc/esx21_admin_system_architecture.html . 2009-11-07.
  6. https://www.vmware.com/products/esxi-and-esx/overview.html VMware:vSphere ESX and ESXi Info Center
  7. Web site: What does ESX stand for? . 3 October 2014 . https://web.archive.org/web/20141220115744/http://vmfaq.com/index.php?View=entry&EntryID=32 . 20 December 2014 . dead . dmy-all.
  8. Web site: Glossary . 2011 . Developer’s Guide to Building vApps and Virtual Appliances: VMware Studio 2.5 . . Palo Alto . 153 . 2011-11-09.
  9. News: Did you know VMware Elastic Sky X (ESX) was once called 'Scaleable Server'? . 2014-05-12 . UP2V . 2018-05-09 . en-US . 10 June 2019 . https://web.archive.org/web/20190610141027/http://up2v.nl/2014/05/12/did-you-know-vmware-elastic-sky-x-esx-was-once-called-scaleable-server/ . dead.
  10. News: VMware ESXi was created by a French guy !!! ESX Virtualization . 2009-09-26 . ESX Virtualization . 2018-05-09 . en-US.
  11. https://www.vmware.com/pdf/esx_datasheet.pdf "ESX Server Datasheet"
  12. Web site: ESX Server Architecture . Vmware.com . 2009-07-01 . https://web.archive.org/web/20070929084239/https://www.vmware.com/support/esx21/doc/esx21_admin_system_architecture.html . 29 September 2007.
  13. Web site: ESX machine boots . https://ghostarchive.org/varchive/youtube/20211213/AJ5yM_kdhUk . 2021-12-13 . live. Video.google.com.au . 12 June 2006 . 2009-07-01.
  14. Web site: VMKernel Scheduler. 27 May 2008. vmware.com. 2016-03-10.
  15. Web site: Mike. Foley. It's a Unix system, I know this!. VMware Blogs. VMware.
  16. Web site: Support for 64-bit Computing . Vmware.com . 19 April 2004 . 2009-07-01 . https://web.archive.org/web/20090702000340/http://www.vmware.com/company/news/releases/64bit.html . 2 July 2009 . dead . dmy-all .
  17. http://markus-gerstel.de/files/2005-Xen.pdf Gerstel, Markus: "Virtualisierungsansätze mit Schwerpunkt Xen"
  18. https://www.vmware.com/resources/techresources/1009 VMware ESX
  19. Web site: VMware ESX Server 2: NUMA Support . 2005 . VMware Inc . Palo Alto, California . 7 . 2011-03-29 . SRAT (system resource allocation table) – table that keeps track of memory allocated to a virtual machine..
  20. Web site: ESX Server Open Source . Vmware.com . 2009-07-01.
  21. Web site: ESX Hardware Compatibility List . Vmware.com . 10 December 2008 . 2009-07-01.
  22. Web site: ESXi vs. ESX: A comparison of features . Vmware, Inc . 2009-06-01.
  23. https://kb.vmware.com/kb/1005184|title= "KB: Decoding Machine Check Exception (MCE) output after a purple diagnostic screen |publisher=VMware, Inc."
  24. VMware KBArticle Windows 8/Windows 2012 doesn't boot on ESX, visited 12 September 2012
  25. Web site: Download VMware vSphere Hypervisor (ESXi). www.vmware.com. 22 July 2014.
  26. Web site: Getting Started with ESXi Installable. VMware. 22 July 2014.
  27. Web site: VMware ESX and ESXi 4.1 Comparison . Vmware.com . 2011-06-09.
  28. Web site: What do ESX and ESXi stand for? . 2011-08-31 . VM.Blog. . 2016-06-21 . Apparently, the 'i' in ESXi stands for Integrated, probably coming from the fact that this version of ESX can be embedded in a small bit of flash memory on the server hardware..
  29. Web site: ESXi embedded vs. ESXi installable FAQ . Andreas Peetz . 2014-08-11.
  30. Web site: Free VMware ESXi: Bare Metal Hypervisor with Live Migration . VMware . 2009-07-01.
  31. Web site: Conservancy Announces Funding for GPL Compliance Lawsuit . sfconservancy.org . 5 March 2015 . 2015-08-27.
  32. Web site: Copyleft Compliance Projects - Software Freedom Conservancy . Sfconservancy.org . 2018-05-25 . 2020-02-07.
  33. Web site: 9 August 2016 . Hellwig To Appeal VMware Ruling After Evidentiary Set Back in Lower Court . dead . https://web.archive.org/web/20200114173909/http://bombadil.infradead.org/~hch/vmware/2016-08-09.html . January 14, 2020.
  34. Web site: Klage von Hellwig gegen VMware erneut abgewiesen. 1 March 2019.
  35. Web site: VMware's Update to Mr. Hellwig's Legal Proceedings . Vmware.com . 2020-02-07.
  36. Web site: Press release . bombadil.infradead.org . 2019 . 2020-02-07.
  37. VMware Blog by Kyle Gleed: vMotion: what's going on under the covers, 25 February 2011, visited: 2 February 2012
  38. VMware website vMotion brochure . Retrieved 3 February 2012
  39. Web site: Archived copy . www.vmware.com . 17 January 2022 . https://web.archive.org/web/20091228223853/http://www.vmware.com/files/pdf/VMware-Storage-VMotion-DS-EN.pdf . 28 December 2009 . dead.
  40. Web site: Archived copy . www.vmware.com . 17 January 2022 . https://web.archive.org/web/20101121142244/http://www.vmware.com/files/pdf/VMware-Fault-Tolerance-FT-DS-EN.pdf . 21 November 2010 . dead.
  41. Overview of the Nexus 1000v virtual switch, visited 9 July 2012
  42. http://www.crn.com/news/virtualization/232900547/vmware-continues-virtualization-market-romp.htm VMware continues virtualization market romp
  43. About Veeam, visited 9 July 2012
  44. http://www.veeam.com/vmware-esx-monitoring-hp-operations.html Veeam OpenView plugin for VMware
  45. https://en.community.dell.com/techcenter/systems-management/w/wiki/1977.openmanage-support-for-vmware-esxi-5-0.aspx OpenManage (omsa) support for ESXi 5.0
  46. VMware info about Web Client – VMware ESXi/ESX 4.1 and ESXi 5.0 Comparison
  47. Availability of vSphere Client for Linux systems – What the web client can do and what not
  48. vEMan website vEMan – Linux vSphere client
  49. Petri website 3rd party ESX tools, 23 December 2008. Visited: 11 September 2001
  50. Web site: What’s New with VMware vSphere 7 Update 1 . VMware vSphere Blog . 15 September 2020 . 9 June 2023.
  51. Web site: VMware Configuration Maximum tool.
  52. Web site: VMware, Inc. . Performance of VMware VMI . 13 February 2008 . 2009-01-22 .
  53. Web site: vSphere 6.7 Configuration Maximums . VMware Configuration Maximum Tool . VMware . 12 July 2019.