Home Lab Virtualization (vSphere/ESXi)
A compact VMware lab designed for real-world practice: clustering, shared storage, backups, and day‑2 operations — all at home. This lab includes two build paths: a fast, portable nested setup and a more realistic bare‑metal mini‑cluster.
Technologies Used
- VMware ESXi
- vCenter Server Appliance (VCSA)
- Shared Storage (iSCSI / NFS)
- Golden Templates & Backups
What I Wanted to Learn
- Install and patch ESXi hosts, then connect them to a vCenter cluster.
- Serve shared storage (iSCSI/NFS) and test vMotion and DR workflows.
- Create golden Windows/Linux templates and automate basic provisioning.
- Practice safe backups and test quick restores.
Option A — Nested Lab (Fast to Start)
Ideal when you only have one strong PC or laptop. This setup uses “VMs inside a VM” to simulate a full cluster without extra hardware — quick, portable, and perfect for demos.
- Install a desktop hypervisor (e.g., VMware Workstation).
- Create two nested ESXi VMs and a vCenter appliance VM.
- Add a storage VM (TrueNAS/FreeNAS) exporting iSCSI or NFS.
- Join both ESXi hosts to vCenter and attach the shared datastore.
Option B — Bare-Metal Mini-Servers
A more realistic setup with better networking and performance, while still quiet and energy‑efficient.
- Compute: 2× mini‑PCs (NUC‑style, 32–64 GB RAM each) running ESXi.
- Storage: 1× NAS (Synology/TrueNAS) serving NFS or iSCSI.
- Network: 1× managed switch with VLANs (Mgmt/Storage/VMs).
- Management: vCenter appliance stored on shared storage.
Bill of Materials (Example)
Nested (Single Box)
- PC/Laptop with 8‑core+ CPU, 32–64 GB RAM, 1–2 TB SSD
- VMware Workstation (host), ESXi (guests), vCenter, TrueNAS VM
- 1× NIC is fine; VLANs handled virtually
Bare-Metal (Quiet Cluster)
- 2× Mini‑PCs (ESXi), 32–64 GB RAM each, NVMe for local cache
- 1× NAS with 2+ bays (RAID‑1/RAID‑Z1), 2.5/10 GbE if available
- 1× Managed switch (VLANs for Mgmt/Storage/VMs)
Networking
- VLAN 10 — Management (vCenter, ESXi Mgmt)
- VLAN 20 — vMotion
- VLAN 30 — Storage (NFS/iSCSI)
- VLAN 40 — Workloads (Servers/Apps)
In the nested build, create port groups for these networks in the host hypervisor and tag them accordingly.
Shared Storage
- NFS: simple and flexible; easy to grow.
- iSCSI: block storage; multipath possible later.
Start small and expand. Always test failover and access latency.
Build Steps (Condensed)
- Prepare the host (nested) or mini‑servers (bare‑metal). Update BIOS/firmware.
- Install ESXi (USB/NVMe or nested). Assign static Mgmt IPs.
- Deploy vCenter and add both hosts to your Datacenter/Cluster.
- Provision shared storage (TrueNAS/Synology) and present it to both hosts.
- Create port groups (Mgmt/vMotion/Storage/Workload). Verify vMotion.
- Build Windows/Linux templates; patch, install tools, generalize.
- Backups: protect VMs to NAS; test file‑level and full‑VM recovery.
Results & Next Steps
- vMotion verified between hosts; shared storage working.
- Golden images created; new VMs deploy in minutes.
- Backup/restore tested successfully.
Next: try DRS/HA (with 3 hosts), add monitoring, and experiment with automation (PowerCLI/Terraform).
Feedback Welcome
Have ideas to improve this lab — hardware tips, network tweaks, storage tuning? I’m iterating based on community input.