Lab: HCI Deployment
Objective
Section titled “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
Section titled “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
Section titled “Difficulty”Intermediate — Requires understanding of VergeOS architecture and basic Terraform usage
Estimated Time
Section titled “Estimated Time”2 hours
Part 1: 2-Node HCI Deployment
Section titled “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.tfvarsfile - Examine the variables to understand:
- Node count and roles
- Network configuration (core fabric, external)
- Storage tier configuration
- Run
terraform initto initialize the provider - Run
terraform plan -var-file=<2-node-hci>.tfvarsand review the planned resources - Run
terraform apply -var-file=<2-node-hci>.tfvarsto deploy - Log 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 VMs are running on the correct nodes
Part 2: 4-Node HCI Deployment
Section titled “Part 2: 4-Node HCI Deployment”Scale up to a 4-node HCI cluster.
- Identify the 4-node HCI
.tfvarsfile in the examples directory - Compare 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 apply - In the VergeOS UI, verify:
- All four nodes are online and healthy
- Storage has rebalanced across all nodes
- Controller VM failover is properly configured
- Network connectivity between all nodes is established
Part 3: Validation & Comparison
Section titled “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
Section titled “Verification”Your HCI deployment lab is complete when you can answer yes to all of the following:
- Successfully deployed a 2-node HCI topology via Terraform
- Successfully deployed a 4-node HCI topology via Terraform
- Verified cluster health, storage pools, and networking in the VergeOS UI
- Created and migrated a test VM on at least one cluster
- Documented the key differences between 2-node and 4-node HCI deployments
- Cleaned up all lab resources with
terraform destroy