Building a resilient home lab with vCenter and vSAN
A resilient home lab is measured by recovery, not VM count. Keep critical virtual machines available when an ESXi host, disk, switch, power circuit or ISP fails. vCenter Server supplies the management plane and automation APIs, while vSAN turns local disks into a highly available, software-defined datastore for vSphere workloads.
Begin with a failure model, not a shopping list. Three physical hosts form a practical vSAN baseline; a stronger design adds vCenter high availability, separate power and network paths, off-site backups and rehearsed restoration. Australian conditions matter: Sydney and Melbourne are not one metro failure domain, home internet often relies on NBN with variable upload performance, and mains power is nominally 230 V with Type I plugs.
Designing around realistic failure domains
Model management, compute, storage and connectivity as separate failure domains. A lean build uses one vCenter Server Appliance, three ESXi hosts and local backups; a resilient build adds vCenter HA, more nodes, redundant switching and off-site recovery. Compare these choices before ordering hardware:
| Layer | Lean build | Resilient design | Benefit |
|---|---|---|---|
| Control | One vCenter | HA pair and witness | Survives host loss |
| Compute | Three ESXi hosts | Four or more hosts | Supports maintenance |
| Storage | One vSAN datastore | Rebuild headroom | Reduces outage risk |
| Network | VLAN-tagged traffic | Redundant paths | Avoids uplink loss |
| Recovery | Local backups | Off-site copy | Reduces site-loss risk |
Three hosts can preserve vSAN object quorum after one host failure when policy and capacity allow. They do not make a single PDU, switch, ISP connection or vCenter safe. Spread hosts across PDUs and switch paths, use a UPS, and leave capacity for object rebuilds. In Australian home-lab parlance, a spare box is fair dinkum insurance only when it can rejoin with the same configuration.
Selecting compatible vSAN infrastructure
Compatibility matters more than headline disk speed. A vSAN ReadySAN appliance provides a validated controller, firmware, cache and drive combination. A custom server can work when its CPU, vSAN-ready disk or HBA, network interface and boot path appear in supported compatibility lists. Check current VMware guidance and your Broadcom entitlement; vCenter and vSAN licensing are separate.
Buying through an Australian reseller can preserve a local warranty and RMA path, outweighing a small saving on an unsupported white box. Budget in AUD for compatible spares, confirm the power supply accepts 220–240 V, use a suitable Type I lead, and select surge protection and rack cooling. Brisbane summers make airflow and temperature monitoring worth including.
For all-flash storage, size CPU, memory, network throughput and SSD endurance together. Leave rebuild headroom rather than filling the datastore to its advertised limit. This prevents performance degradation during a host failure, when vSAN reconstructs protected objects from surviving replicas.
Separating management, storage and traffic
Design the network before deploying hosts. Separate management, vSAN traffic, vMotion and guest storage paths with VLANs on managed switches, standardise MTU and link aggregation settings, and remove unnecessary filtering. Where available, NBN FTTP provides a fast download, but replication and vMotion can expose upload limits and evening congestion that a speed test misses.
Keep the vCenter Server Appliance on supported persistent storage outside the vSAN cluster it manages when possible. For control-plane resilience, evaluate a licensed vCenter HA pair with a witness, and back up vCenter configuration and certificates off-site. Restrict administration, integrate identity services and MFA, and patch vCenter before certificates expire.
Host profiles reduce configuration drift across a growing fleet. The guide to configuring vSphere host profiles explains how declarative host specifications can standardise networking and related settings; vSAN storage policies and component health remain separate operational controls.
Protecting data beyond host failover
Use vSAN storage policies to express availability, performance and protection requirements. Start with a policy that tolerates a host failure, then add space reservation or erasure coding only where capacity and network support it. Monitor object health, component health, rebuild progress and policy compliance so a degraded replica does not become the next outage.
Snapshots provide rollback points; they do not replace disaster recovery. Protect virtual machines with a VM-aware backup workflow and test restoration into an isolated network. Keep an immutable or off-site copy for ransomware and site-loss scenarios, and confirm whether vSAN encryption and key management fit your licensed feature set.
A failover exercise should include more than restarting one VM. Verify that HA restarts workloads, vSAN restores capacity, vCenter remains reachable, and DNS and application dependencies still resolve. Record recovery times so future capacity and backup decisions use evidence.
Automating repeatable operational checks
Manual configuration creates drift and slows recovery. Infrastructure as code should cover stable settings such as DNS, NTP, syslog and firewall baselines, while cluster-wide failover actions need approvals. A practical starting point is reusable Ansible roles: keep playbooks idempotent, store them in Git, protect credentials and run changes through a controlled pipeline. Use PowerCLI when the vSphere API offers a capability Ansible does not cover.
The following checklists turn automation into operational confidence. Run the build checks before maintenance and the failure drills at scheduled intervals, then attach results to the change record.
Build checks
- Verify vSAN object health, policy compliance and datastore capacity.
- Confirm redundant uplinks, UPS load and management access.
- Record the vCenter, host and network baseline in Git.
- Test restoration of the latest protected virtual machine.
Failure drills
- Remove one ESXi host from service and watch recovery.
- Fail the primary switch path and confirm traffic survives.
- Restore a test virtual machine into an isolated environment.
- Simulate an internet outage and verify local workloads.
Maintaining confidence before you need it
Resilience fades as firmware, certificates, policies and spare hardware age. Review vSAN health, datastore capacity, vCenter backups and the physical environment monthly, then restore a protected workload each quarter. Keep configuration exports, network diagrams and recovery timings in a versioned record.
Start with the smallest supported topology that meets your recovery target, prove it with deliberate host, switch and restoration tests, and add redundancy where evidence justifies the cost. Choose a three-node vSAN baseline, a protected vCenter design and an off-site backup target now, then schedule the first drill this week.