Add Heartbeat Interfaces

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
janderson133
Posts: 9
Joined: Tue Apr 26, 2022 11:41 pm

Fri May 13, 2022 4:33 am

I guess I should ask this question: is a heartbeat interface necessary if the cluster is using a witness and the cache-mode is write-through?

I'm trying to create a 2 node HA cluster with a witness. They should all be using heartbeat IPs. I'm using the free version so I'm limited to powershell.

1st I tried the example powershell script that creates the 2 node cluster and HA - that works to create the nodes, but it doesn't create the heartbeat interfaces.

I found a modified script that had IPs in the HBinterface sections. That didn't work either.

Can someone show me an example of how to add heartbeat interfaces via powershell?

Worst case I'll edit the file by hand as outside in this link: https://forums.starwindsoftware.com/vie ... eat#p33481

Also, if I have multiple sync interfaces can they be configured as primary and backup or do they load-balance across both interfaces? I'm hoping I can change the link priority so that one interface will be the backup.

From the config:

Code: Select all

<link id="1" type="data" priority="1" connections="1">
  <peer ip="172.18.3.41" port="3260"/>
</link>
Thanks - Jeff
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sat May 14, 2022 8:47 am

Greetings,

The heartbeat failover strategy is related to StarWind, it is alternative to node majority (that does require the witness). See more at https://www.starwindsoftware.com/help/S ... egies.html. Node Majority does not require Heartbeat interfaces.
The Cluster Witness (aka Quorum) helps cluster to operate correctly. See more at https://docs.microsoft.com/en-us/window ... ter-quorum.
Also, if I have multiple sync interfaces can they be configured as primary and backup or do they load-balance across both interfaces? I'm hoping I can change the link priority so that one interface will be the backup.
They are working in Round-Robin mode.
janderson133
Posts: 9
Joined: Tue Apr 26, 2022 11:41 pm

Sat May 14, 2022 5:41 pm

Thanks - I don't know why I had node majority and heartbeat mashed together in my mind :)
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sat May 14, 2022 7:33 pm

No worries. Please let me know if you have additional questions.
NorbertoGoyette
Posts: 1
Joined: Tue Jul 19, 2022 1:26 am

Tue Jul 19, 2022 1:29 am

Excellent article and information, and I will definitely bookmark your site because I always learn something new and amazing when I visit. I appreciate you sharing this with us.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Tue Jul 19, 2022 3:01 am

You are welcome!
Post Reply