Note: This is a complete enterprise-grade lab.
You’ve got three storage back-end types (iSCSI, FC, SMB 3.0) and NIC teaming across all 12 hosts, with two build methods requested:
Cluster-First then Import into VMM
Build Everything Directly from VMM (Fabric -> Create Host Cluster)
Below are both methods, side by side with exact sequencing, PowerShell examples, and VMM console actions.
Item | Action |
|---|---|
AD OU | Place all Hyper-V hosts in an OU named |
Permissions | Grant each host Create Computer Objects on that OU (so the cluster CNO can be created) |
RunAs Account |
|
Networks | At least 3 VLANs per host:• Mgmt / Cluster (10.10.10.x)• Live Migration (10.10.20.x)• Storage (10.10.30.x for iSCSI or SMB) |
Team | Team 2 physical NICs → Team0 (Switch-Independent + Dynamic) |
vSwitch | One external vSwitch per host named |
Witness | File share \fs-witness\hvwitness$ |
Install-WindowsFeature Hyper-V, Failover-Clustering, Multipath-IO -IncludeManagementTools
New-NetLbfoTeam -Name Team0 -TeamMembers NIC1,NIC2 -TeamingMode SwitchIndependent -LoadBalancingAlgorithm Dynamic
New-VMSwitch -Name "vSwitch-Prod" -NetAdapterName "Team0" -AllowManagementOS $true
Set-Service MSiSCSI -StartupType Automatic; Start-Service MSiSCSI
New-IscsiTargetPortal -TargetPortalAddress "10.10.30.10"
Get-IscsiTarget | Connect-IscsiTarget -IsPersistent $true -IsMultipathEnabled $true
Use HBA utilities to mask LUNs to each host + verify diskmgmt.msc shows identical LUN IDs.
Ensure Scale-Out File Server (SOFS01) exports:
\\SOFS01\HVShare1
\\SOFS01\HVShare2
Grant Domain Computers and VMM-SVC Full Control.
Example – iSCSI Cluster
Test-Cluster -Node HVISCSI01,HVISCSI02,HVISCSI03,HVISCSI04 -Include "Inventory","Network","Storage"
New-Cluster -Name HVCLU-ISCSI -Node HVISCSI01,HVISCSI02,HVISCSI03,HVISCSI04 -StaticAddress 10.10.10.51 -NoStorage
Set-ClusterQuorum -FileShareWitness "\\fs-witness\hvwitness$"
Get-ClusterAvailableDisk | Add-ClusterDisk
Add-ClusterSharedVolume -Name "Cluster Disk 1"
Repeat for FC and SMB clusters (HVCLU-FC, HVCLU-SMB); SMB clusters don’t add CSV—storage is via SMB shares.
(Get-VMHost).VirtualMachineMigrationPerformanceOption = "Compression"
Set-VMHost -VirtualMachineMigrationEnabled $true -VirtualMachineMigrationAuthenticationType CredSSP -VirtualMachineMigrationMaximum 4
Open VMM Console → Fabric → Servers → Add Resources → Hyper-V Hosts and Clusters
Select “Windows Server Computers in a trusted AD domain”
Use VMM-SVC Run As account
Choose OU containing hosts
VMM discovers existing clusters → Select and Add to Host Group
VMM agent deploys automatically, and the clusters appear under Fabric > Servers.
Object | Example |
|---|---|
Logical Networks |
|
IP Pools | Assign subnets per site |
Port Classifications | Host Mgmt, VM Prod |
Uplink Port Profiles | 2 uplinks (Team0) with Logical Network associations |
Logical Switch |
|
Storage Classifications | Gold (FC), Silver (iSCSI), Bronze (SMB) |
Library Shares | ISO / Templates repo |
Fabric → Add Resources → Hyper-V Hosts and Clusters → specify host names (one storage type group at a time).
VMM agent installs and discovers available storage (LUNs or SMB shares).
Select the 4 hosts for your first cluster (e.g., iSCSI).
Cluster name HVCLU-ISCSI, choose Mgmt network IP.
VMM runs Cluster Validation Wizard and creates the CNO automatically (using the Run As account).
VMM adds storage (you choose the shared LUN or SMB share presented to all hosts).
Finish wizard → Cluster is built and registered in VMM in one step.
Repeat for FC and SMB clusters.
Create Logical Network definitions (MgmtNet, LMNet, StorageNet, VMNet) with subnets/VLANs.
Create Port Classifications and Uplink Profiles.
Create Logical Switch LS-Prod → associate with Uplink Profile.
Right-click each host → Properties → Virtual Switches → New Virtual Switch (using Logical Switch).
Fabric → Storage → Arrays → Add SMI-S provider (for SAN/iSCSI).
Classify storage tiers.
Allocate LUNs to Cluster → right-click cluster → Properties → Storage → Add Available Storage.
VMM formats and adds as CSV automatically.
Create VM Template using a VHDX in Library.
Place on cluster CSV (C:\ClusterStorage\Volume1).
Test Live Migration via VMM.
Storage Type | Key Setting | Notes |
|---|---|---|
iSCSI | MPIO enabled; 1 initiator per path | Use Round-Robin load balancing |
Fibre Channel | Mask same LUNs to all hosts | Verify WWN registration on array |
SMB 3.0 | Enable Continuous Availability on shares | Requires 2012 R2 SOFS back-end |
Use Cluster-Aware Updating (CAU) through VMM for patching.
Enable Dynamic Optimization and Power Optimization in VMM Host Groups.
Monitor with SCOM 2012 R2 (VMM Integration Pack).
Step | Cluster-First | All-in-VMM |
|---|---|---|
1 – Prep Hosts | Manual | VMM Add Hosts |
2 – Create Cluster | PowerShell | Fabric > Create Host Cluster Wizard |
3 – Add to VMM | Discover | Auto-registered |
4 – Configure Networks | After import | Before/After build |
5 – Add Storage | Manual + VMM map | Wizard automatically adds |
6 – Deploy VMs | Via VMM Templates | Via VMM Templates |