How would I configure redundant iSCSI and synchronization links in a hyper-converged 2-node Hyper-V cluster?

Software-based VM-centric and flash-friendly VM storage + free version
Post Reply
ezoltan
Posts: 5
Joined: Sat Dec 21, 2024 9:41 pm

Sat Dec 21, 2024 10:15 pm

Hi,

I am trying to figure out how to configure networking a two-node hyper-converged Hyper-V cluster with a VSAN deployed as a Windows application installed on the Hyper-V nodes. Best practice at https://www.starwindsoftware.com/best-p ... practices/ states that redundant links should be used for iSCSI as well as synchronization/heartbeat traffic (as in 2x iSCSI + 2x Sync/HB).

The best practice article also says:
"StarWind Virtual SAN does not support any form of NIC teaming for resiliency or throughput aggregation".

The guide at https://www.starwindsoftware.com/resour ... rver-2016/ shows how to configure external virtual switches for iSCSI and sync/HB, only to go on and describe the configuration of MPIO and the iSCSI initiator on the host itself.

I feel a bit discombobulated after reading the two documents.

Q1: Why do I need virtual switches for iSCSI and sync/HB, if both traffic types are going to be handled at host level?

Q2: If I have 2x iSCSI + 2x sync NICs (4 NICS in total), then would I create two external virtual switches for each traffic type ( a total of 4 virtual switches)? I take I cannot use a SET team or any hardware-level teaming like LACP. The guide makes no mention of it (or it escaped my attention).

Q3: In the light of Q1, what virtual machine would I connect to the virtual switches and what would be its role in the specific use case described in the guide?

Looking forward to some guidance.

Thank you,
Zoltan
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Sun Dec 22, 2024 8:20 pm

Welcome to Starwind Forum!
You can go with 1x iSCSI and 1x Sync (physically separated) links. Ideally 2x iSCSI and 2x Sync. Preferably direct.
Q1: Why do I need virtual switches for iSCSI and sync/HB, if both traffic types are going to be handled at host level?
If you are deploying CVM, you need vSwitches to somehow connect the adapters to the VM.
If you are using a Windows-native application, no need for vSwitch for iSCSI and Sync.
If I have 2x iSCSI + 2x sync NICs (4 NICS in total), then would I create two external virtual switches for each traffic type ( a total of 4 virtual switches)? I take I cannot use a SET team or any hardware-level teaming like LACP. The guide makes no mention of it (or it escaped my attention).
Best practices say no teaming. Please do not use teaming for iSCSI and SYNC. That's why the guide mentioned no teaming.
Use 4 x separate vSwitches.
Q3: In the light of Q1, what virtual machine would I connect to the virtual switches and what would be its role in the specific use case described in the guide?
You can connect the physical hosts to the switches, yet they are to be redundant.
Normally direct links for iSCSI and SYNC should do it.
ezoltan
Posts: 5
Joined: Sat Dec 21, 2024 9:41 pm

Tue Dec 31, 2024 10:47 am

Thank you Yaroslav. It makes sense and I thought that might be the case, however since the guide doesn't draw a clear line between running vSAN on a physical host vs. virtual appliance, it got confused.

One more question: provided I'll be using 2x iSCSI + 2x Sync/HB physical links between the two hypervisors, does it mean that I'll have 3x iSCSI targets, that is, 127.0.0.1, Remote_Target_IP#1 and Remote_Target_IP#2, configured with a "Failover only" MPIO policy where the active path is 127.0.0.1? Technically it makes sense, however never worked with an odd number of iSCSI targets.

Can you please confirm.

Thank you.
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Tue Dec 31, 2024 11:32 am

You just need the righ guide (i hope nobody ruined documentation again :D ). Thanks for your feedback anyway.
For mpio, use Least Queue Depth, and (for SSDs) at least 3x loopback and 1x per partner. Make sure to change IscsiDiscoveryInterfaces to 1 (stop StarWindService on one node -> go to C:\Program Files\StarWind Software\StarWind\StarWind.cfg -> copy the file -> Edit the file -> save -> start the service -> wait for fast sync completion), repeat on another node.
That parameter will make configuring mupltiple iSCSI interfaces easier.

P.s. do not mix iSCSI and sync traffic.
Charles984
Posts: 1
Joined: Tue Jan 14, 2025 4:11 am
Location: United States
Contact:

Tue Jan 14, 2025 4:18 am

ezoltan wrote:
Sat Dec 21, 2024 10:15 pm
Hi,

I am trying to figure out how to configure networking a two-node hyper-converged Hyper-V cluster with a VSAN deployed as a Windows application installed on the Hyper-V nodes. Best practice at https://www.starwindsoftware.com/best-p ... ces/states that redundant links should be used for iSCSI as well as synchronization/heartbeat traffic (as in 2x iSCSI + 2x Sync/HB).

The best practice article also says:
"StarWind Virtual SAN does not support any form of NIC teaming for resiliency or throughput aggregation".

The guide at https://www.starwindsoftware.com/resour ... rver-2016/ shows how to configure external virtual switches for iSCSI and sync/HB, only to go on and describe the configuration of MPIO and the iSCSI initiator on the host itself.

I feel a bit discombobulated after reading the two documents.

Q1: Why do I need virtual switches for iSCSI and sync/HB, if both traffic types are going to be handled at host level?

Q2: If I have 2x iSCSI + 2x sync NICs (4 NICS in total), then would I create two external virtual switches for each traffic type ( a total of 4 virtual switches)? I take I cannot use a SET team or any hardware-level teaming like LACP. The guide makes no mention of it (or it escaped my attention).

Q3: In the light of Q1, what virtual machine would I connect to the virtual switches and what would be its role in the specific use case described in the guide?

Looking forward to some guidance.

Thank you,
Zoltan
You may need to focus on properly configuring virtual switches and check the documentation more closely to ensure iSCSI and Sync/HB data flows work independently, as this is an important factor in cluster setup.
ezoltan
Posts: 5
Joined: Sat Dec 21, 2024 9:41 pm

Wed Jul 16, 2025 12:54 pm

Sorry, I am still a bit confused. I have this configuration on the two Hyper-V hosts:

Host 1:
=============
iSCSI/HB NIC 1: 172.16.1.1 / 24
iSCSI/HB NIC 2: 172.16.2.1 / 24
Sync NIC 1: 172.17.1.1 / 24
Sync NIC 2: 172.17.2.1 / 24
Management / Production / User access: 10.51.1.141

Host 2:
=============
iSCSI/HB NIC 1: 172.16.1.2 / 24
iSCSI/HB NIC 2: 172.16.2.2 / 24
Sync NIC 1: 172.17.1.2 / 24
Sync NIC 2: 172.17.2.2 / 24
Management / Production / User access: 10.51.1.142

Direct cable connections:

Code: Select all

Host 1         Host 2
=========================
172.16.1.1 <-> 172.16.1.2
172.16.2.1 <-> 172.16.2.2
172.17.1.1 <-> 172.17.1.2
172.17.2.1 <-> 172.17.2.2
I am looking at the guide at https://www.starwindsoftware.com/resour ... rver-2016/.

Issues:
1. It does not depict Best Practice in that only has 1x Data/HV and 1x Sync.
2. As a flow-on effect, I can't figure out how would I configure the iSCSI initiator under the "Provisioning StarWind HA Storage to Windows Server Host" header. My server has two initiator addresses which would connect to self as they also act as targets, in addition of the other two targets on the other host.

Where does the loopback address fit?
How would I configure the iSCSI initiator in this configuration? Is there any documentation that would cover this scenario?

Thank you.
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Wed Jul 16, 2025 2:13 pm

1. It does not depict Best Practice in that only has 1x Data/HV and 1x Sync.
1x DATA/iSCSI and 1x SYNC is enough.
Just make sure the network redundancy requirements are met (https://www.starwindsoftware.com/system-requirements)
2. As a flow-on effect, I can't figure out how would I configure the iSCSI initiator under the "Provisioning StarWind HA Storage to Windows Server Host" header. My server has two initiator addresses which would connect to self as they also act as targets, in addition of the other two targets on the other host.
In discovery tab, you need to set up
127.0.0.1-MS iSCSI Initiator - Default
172.16.1.2 -MS iSCSI Initiator-72.16.1.1
172.16.2.2-MS iSCSI Initiator-172.16.2.1
Just check "Provisioning StarWind HA Storage to Windows Server Host" where you connect the partner connections and do it for 172.16.2.x and 172.16.1.x
Where does the loopback address fit?
You type it at step 1 of the discovery.
Check seteps 2-4.
Post Reply