Creating a Windows Server 2025 Hyper-V Cluster#
This guide walks through configuring a highly available Hyper-V cluster on Windows Server 2025 using shared iSCSI storage.
Step 1 — Install the Hyper-V Role (on Domain-Joined Servers)#
Ensure both servers are joined to your Active Directory domain before proceeding.
Server 1 Configuration#
- Install the Failover Clustering feature.
- Configure shared storage via iSCSI Initiator.
- Bring disks online on Server 1 and create new volumes with appropriate drive letters.
- Create an External vSwitch in Hyper-V Manager for VM traffic.
Server 2 Configuration#
- Install the Failover Clustering feature.
- Connect to the shared storage via iSCSI Initiator.
- The disks will appear offline — leave them that way.
- Create an External vSwitch with the exact same name as on Server 1.
Step 2 — Validate the Cluster Before Creation#
- On Server 1, open Failover Cluster Manager.
- Under Management, select Validate Configuration.
- Add all intended cluster nodes.
- Choose Run All Tests → Next.
- Review the report and resolve any warnings or errors.
- Skipping validation may void Microsoft support.
Step 3 — Create the Cluster#
- In Failover Cluster Manager, select Create Cluster.
- Add all node names.
- Name the cluster (e.g.,
2025Cluster). - Assign a Cluster IP Address on the production network.
- (Optional) Keep “Add all eligible storage to the cluster” checked.
- Any attached LUNs will be added as Cluster Disks, with one chosen for quorum.
- Click Next and wait for the cluster to be created and load in Failover Cluster Manager.
Step 4 — Validate Cluster Creation#
Storage Validation#
- Confirm disks under Storage > Disks.
Network Validation#
- Identify and rename cluster networks as needed:
- Heartbeat Network → uncheck “Allow clients to connect through this network”.
- Storage Network → select “Do not allow cluster communication on this network”.
- Production Network → enable both “Allow cluster network communication” and “Allow clients to connect through this network.”
Step 5 — Configure Cluster Shared Volumes (CSV)#
- Go to Storage > Disks.
- For any disk marked Available Storage, right-click → Add to Clustered Shared Volumes.
- Confirm disks now appear under Cluster Shared Volumes.
Step 6 — Adjust Hyper-V Storage Paths (Server 1)#
- Open Hyper-V Manager → Hyper-V Settings.
- Under Virtual Hard Disks, click Browse:
- Navigate to
/ClusterStorage/Volume1/ - Create folder VHDX
- Save path as
/ClusterStorage/Volume1/VHDX
- Navigate to
- Under Virtual Machines, click Browse:
- Navigate to
/ClusterStorage/Volume1/ - Create folder VMConfigFiles
- Save path as
/ClusterStorage/Volume1/VMConfigFiles
- Navigate to
- Apply and save changes.
Step 7 — Mirror Storage Settings on Server 2#
- In Hyper-V Manager, right-click → Connect to Server → select the second node.
- Open Hyper-V Settings.
- Update default paths for:
- Virtual Hard Disks →
/ClusterStorage/Volume1/VHDX - Virtual Machines →
/ClusterStorage/Volume1/VMConfigFiles
- Virtual Hard Disks →
- Repeat these steps for all nodes.
Step 8 — Create a Clustered Virtual Machine#
- In Failover Cluster Manager, right-click Roles → New Virtual Machine.
- Select the target node for creation.
- Complete the wizard.
- The VM will now appear under Roles — fully managed by the cluster.
Success!#
You’ve successfully configured a Windows Server 2025 Hyper-V Cluster with shared iSCSI storage and failover protection.
Tip: Regularly run Validate Cluster and back up your cluster configuration XML for quick recovery.
