🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now β†’
Menu

Categories

VMware ESXi Complete Guide: Installation, Management & Best Practices (2026)

VMware ESXi Complete Guide: Installation, Management & Best Practices (2026)

VMware ESXi is the world's leading enterprise hypervisor, powering over 80% of virtualized data centers globally. As the core component of VMware vSphere, ESXi provides a robust, high-performance platform for running production workloads. This guide covers everything from installation to advanced administration.

VMware ESXi vSphere virtualization platform

πŸ“₯ Free VMware ESXi Cheat Sheet

Download our complete ESXi CLI command reference with esxcli, vim-cmd, and vmkfstools commands.

Download Free PDF β†’

Table of Contents

VMware ESXi Overview

VMware ESXi (Elastic Sky X Integrated) is a Type 1 bare-metal hypervisor that installs directly on server hardware. Unlike Type 2 hypervisors that run on a host OS, ESXi replaces the operating system entirely, providing direct access to hardware resources.

Key Specifications (vSphere 8.0)

SpecificationMaximum
VMs per host1,024
vCPUs per VM768
RAM per host24 TB
RAM per VM24 TB
Virtual disk size62 TB
Logical CPUs per host896

ESXi Architecture

ESXi uses a minimalist architecture with a ~150MB footprint:

  • VMkernel β€” The core operating system and hypervisor, managing CPU scheduling, memory management, and I/O
  • DCUI (Direct Console User Interface) β€” Basic text-mode configuration at the physical console
  • hostd β€” Management agent handling API requests from vCenter and vSphere Client
  • vpxa β€” vCenter agent for centralized management
  • VMware Tools β€” Guest agents installed in each VM for enhanced performance and management

Installation Guide

ESXi installation requirements:

  • 64-bit CPU with VT-x/AMD-V support
  • Minimum 8 GB RAM (32+ GB recommended for production)
  • Boot device: 32 GB minimum (USB, SD, SAN, or local disk)
  • At least one supported network adapter
  • Server on the VMware HCL (Hardware Compatibility List)
# Boot from ESXi installer ISO
# Select installation disk
# Set root password
# After installation, access via:
https://<esxi-ip-address>/ui    # Host Client (web UI)
ssh root@<esxi-ip-address>      # SSH access (enable first)

VM Management

Creating VMs

# List all VMs
vim-cmd vmsvc/getallvms

# Power operations
vim-cmd vmsvc/power.on <vmid>
vim-cmd vmsvc/power.off <vmid>
vim-cmd vmsvc/power.shutdown <vmid>    # Graceful (needs VMware Tools)
vim-cmd vmsvc/power.reboot <vmid>

# Get VM information
vim-cmd vmsvc/get.summary <vmid>
vim-cmd vmsvc/power.getstate <vmid>

# Snapshots
vim-cmd vmsvc/snapshot.create <vmid> "Before Update" "Pre-patch snapshot"
vim-cmd vmsvc/snapshot.get <vmid>
vim-cmd vmsvc/snapshot.revert <vmid>
vim-cmd vmsvc/snapshot.removeall <vmid>

VM Registration

# Register existing VM
vim-cmd solo/registervm /vmfs/volumes/datastore1/myvm/myvm.vmx

# Unregister VM (keeps files)
vim-cmd vmsvc/unregister <vmid>

Virtual Networking

ESXi supports two types of virtual switches:

  • Standard vSwitch (vSS) β€” Per-host virtual switch, configured individually on each ESXi host
  • Distributed vSwitch (vDS) β€” Cluster-wide virtual switch managed by vCenter (Enterprise Plus license)
# Network management
esxcli network nic list                           # List physical NICs
esxcli network vswitch standard list              # List vSwitches
esxcli network vswitch standard add --vswitch-name=vSwitch1
esxcli network vswitch standard portgroup list     # List port groups
esxcli network ip interface list                   # VMkernel interfaces
esxcli network ip dns server list                  # DNS servers
esxcli network ip route ipv4 list                  # Routing table
esxcli network firewall get                        # Firewall status
esxcli network firewall ruleset list               # Firewall rules

Storage Management

# Storage
esxcli storage filesystem list              # List datastores
esxcli storage core device list             # List storage devices
esxcli storage nmp device list              # Multipath info

# Virtual disk operations
vmkfstools -c 50G /vmfs/volumes/ds1/disk.vmdk                    # Create 50GB disk
vmkfstools -i source.vmdk dest.vmdk -d thin                      # Clone as thin
vmkfstools -X 100G /vmfs/volumes/ds1/disk.vmdk                   # Extend to 100GB
vmkfstools -k /vmfs/volumes/ds1/disk.vmdk dest.vmdk              # Convert thin to thick

vCenter Server

vCenter Server is the centralized management platform for vSphere environments. It provides:

  • vMotion β€” Live migration of running VMs between hosts with zero downtime
  • Storage vMotion β€” Live migration of VM storage between datastores
  • DRS (Distributed Resource Scheduler) β€” Automatic VM placement and load balancing
  • HA (High Availability) β€” Automatic VM restart on healthy hosts after a failure
  • FT (Fault Tolerance) β€” Real-time VM mirroring for zero-downtime failover
  • Content Library β€” Centralized repository for VM templates and ISOs

Advanced Features

Host Maintenance

# System management
esxcli system version get                    # ESXi version
esxcli system hostname get                   # Hostname info
esxcli hardware cpu list                     # CPU details
esxcli hardware memory get                   # Memory info

# Maintenance mode
esxcli system maintenanceMode set --enable true    # Enter maintenance
esxcli system maintenanceMode set --enable false   # Exit maintenance

# Patching
esxcli software vib list                     # List installed VIBs
esxcli software vib install -d /path/patch.zip     # Install patch
esxcli software profile get                  # Current image profile

Best Practices

  1. Always install VMware Tools β€” Significantly improves VM performance and enables graceful shutdown
  2. Use thin provisioning for non-critical workloads to save storage
  3. Implement vSphere HA β€” Protects against host failures
  4. Regular snapshots before patching β€” But don't keep snapshots long-term (performance impact)
  5. Monitor with vCenter alarms β€” Set up alerts for CPU, memory, storage thresholds
  6. Keep ESXi patched β€” Use VMware Update Manager for automated patching
  7. Separate management network β€” Use a dedicated VLAN for ESXi management traffic
  8. Enable lockdown mode β€” Restrict direct host access when managed by vCenter
⚠️ Important: As of late 2023, VMware was acquired by Broadcom. Licensing has changed significantly β€” the free ESXi license is no longer available. Consider Proxmox VE or KVM for cost-sensitive environments.

πŸ“₯ Download the VMware ESXi Cheat Sheet

All esxcli, vim-cmd, and vmkfstools commands in a printable PDF.

Download Free PDF β†’

Related Articles

Share this article:
Dargslan Editorial Team (Dargslan)
About the Author

Dargslan Editorial Team (Dargslan)

Collective of Software Developers, System Administrators, DevOps Engineers, and IT Authors

Dargslan is an independent technology publishing collective formed by experienced software developers, system administrators, and IT specialists.

The Dargslan editorial team works collaboratively to create practical, hands-on technology books focused on real-world use cases. Each publication is developed, reviewed, and...

Programming Languages Linux Administration Web Development Cybersecurity Networking

Stay Updated

Subscribe to our newsletter for the latest tutorials, tips, and exclusive offers.