Hyper-V clustering with SMB, Fiber Channel and ISCI

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:

  1. Cluster-First then Import into VMM

  2. 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 OU=HyperVHosts,DC=corp,DC=local

Permissions

Grant each host Create Computer Objects on that OU (so the cluster CNO can be created)

RunAs Account

VMM-SVC (domain account) → Local Admin on all hosts

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 vSwitch-Prod

Witness

File share \fs-witness\hvwitness$

Create Cluster First, Then Import to VMM

Enable Roles and Features on Each Host

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

Configure Storage per Type

• iSCSI Hosts (4)

Set-Service MSiSCSI -StartupType Automatic; Start-Service MSiSCSI
New-IscsiTargetPortal -TargetPortalAddress "10.10.30.10"
Get-IscsiTarget | Connect-IscsiTarget -IsPersistent $true -IsMultipathEnabled $true

• FC Hosts (4)

Use HBA utilities to mask LUNs to each host + verify diskmgmt.msc shows identical LUN IDs.

• SMB 3.0 Hosts (4)

Ensure Scale-Out File Server (SOFS01) exports:

\\SOFS01\HVShare1
\\SOFS01\HVShare2

Grant Domain Computers and VMM-SVC Full Control.

Create Clusters (One per Storage Type)

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.

Tune Cluster Networking

(Get-VMHost).VirtualMachineMigrationPerformanceOption = "Compression"
Set-VMHost -VirtualMachineMigrationEnabled $true -VirtualMachineMigrationAuthenticationType CredSSP -VirtualMachineMigrationMaximum 4

Import Clusters into SCVMM 2012 R2

  1. Open VMM Console → Fabric → Servers → Add Resources → Hyper-V Hosts and Clusters

  2. Select “Windows Server Computers in a trusted AD domain”

  3. Use VMM-SVC Run As account

  4. Choose OU containing hosts

  5. VMM discovers existing clusters → Select and Add to Host Group

VMM agent deploys automatically, and the clusters appear under Fabric > Servers.

Configure Fabric Objects (Post-Import)

Object

Example

Logical Networks

MgmtNet, LiveMigNet, StorageNet, VMNet

IP Pools

Assign subnets per site

Port Classifications

Host Mgmt, VM Prod

Uplink Port Profiles

2 uplinks (Team0) with Logical Network associations

Logical Switch

LS-Prod → apply to each host’s vNIC team

Storage Classifications

Gold (FC), Silver (iSCSI), Bronze (SMB)

Library Shares

ISO / Templates repo

Build the Entire Cluster from Inside VMM (Fabric -> Create Host Cluster)

Add Standalone Hosts to VMM

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).

In VMM Console → Fabric → Create Host Cluster

  1. Select the 4 hosts for your first cluster (e.g., iSCSI).

  2. Cluster name HVCLU-ISCSI, choose Mgmt network IP.

  3. VMM runs Cluster Validation Wizard and creates the CNO automatically (using the Run As account).

  4. VMM adds storage (you choose the shared LUN or SMB share presented to all hosts).

  5. Finish wizard → Cluster is built and registered in VMM in one step.

Repeat for FC and SMB clusters.

Apply Logical Switch and Networking

  1. Create Logical Network definitions (MgmtNet, LMNet, StorageNet, VMNet) with subnets/VLANs.

  2. Create Port Classifications and Uplink Profiles.

  3. Create Logical Switch LS-Prod → associate with Uplink Profile.

  4. Right-click each host → Properties → Virtual Switches → New Virtual Switch (using Logical Switch).

Deploy CSV Storage from VMM

  1. Fabric → Storage → Arrays → Add SMI-S provider (for SAN/iSCSI).

  2. Classify storage tiers.

  3. Allocate LUNs to Cluster → right-click cluster → Properties → Storage → Add Available Storage.
    VMM formats and adds as CSV automatically.

Validate & Create VM Templates

Storage-Type-Specific Notes

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

Maintenance & Ops

Flow

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