Lab: HCI Deployment
Deploy 2-node and 4-node HCI topologies using the Terraform playground and validate cluster health, storage, and networking.
Objective
Deploy VergeOS in Hyper-Converged Infrastructure (HCI) configurations using the Terraform playground. You will provision both a minimal 2-node cluster and a scaled 4-node cluster, then validate storage, networking, and overall cluster health.
Prerequisites
Completed all prior modules (1–9)
Access to the vergeos-terraform-playground repository (cloned locally)
Terraform CLI installed and configured
A VergeOS environment or lab that supports nested deployments
Familiarity with Terraform basics (init, plan, apply)
Difficulty
Intermediate -- Requires understanding of VergeOS architecture and basic Terraform usage
Estimated Time
2 hours
Steps
Part 1: 2-Node HCI Deployment
Deploy the minimal HCI topology.
Clone the vergeos-terraform-playground repository (if not already done)
Review the
examples/directory and identify the 2-node HCI.tfvarsfileExamine the variables to understand:
Node count and roles
Network configuration (core fabric, external)
Storage tier configuration
Run
terraform initto initialize the providerRun
terraform plan -var-file=<2-node-hci>.tfvarsand review the planned resourcesRun
terraform apply -var-file=<2-node-hci>.tfvarsto deployLog into the VergeOS UI and verify:
Both nodes appear online in the dashboard
Core fabric network is established
vSAN storage pool is healthy with expected capacity
Controller node roles are assigned to Node 1 and Node 2 (Tier 0 metadata storage present)
Part 2: 4-Node HCI Deployment
Scale up to a 4-node HCI cluster.
Identify the 4-node HCI
.tfvarsfile in the examples directoryCompare it with the 2-node configuration -- note the differences in:
Node count
Storage redundancy settings
Any additional network configuration
Deploy the 4-node topology using
terraform planandterraform applyIn the VergeOS UI, verify:
All four nodes are online and healthy
Storage has redistributed across all nodes
Controller node failover (HA pair on Node 1 / Node 2) is healthy
Network connectivity between all nodes is established
Part 3: Validation & Comparison
Compare the two deployments and validate production readiness.
Create a test VM on each cluster and verify it starts successfully
Test VM live migration between nodes
Compare resource utilization between the 2-node and 4-node deployments
Document the differences in:
Storage redundancy and capacity
Compute headroom
Failure domain considerations
Clean up both deployments with
terraform destroy
Verification
Your HCI deployment lab is complete when you can answer yes to all of the following:
Last updated
Was this helpful?