Replacing a StarWind Node‑Majority Witness (PowerShell Only)

Software-based VM-centric and flash-friendly VM storage + free version
Post Reply
stcompdude
Posts: 2
Joined: Tue Feb 24, 2026 6:10 pm

Tue Feb 24, 2026 6:30 pm

Hi all, I’m looking to confirm the supported way to replace a StarWind Node‑Majority witness using PowerShell only. This is a StarWind Virtual SAN (Free) environment with no GUI available.

The current setup is a three‑node Node Majority configuration with two data nodes (do-vmh1 and do-vmh2) and a witness node (do-backup1). All nodes are Windows Server, and all management is done through PowerShell.

What I need to do is move the witness role from do-backup1 to a new Windows server with a different hostname and IP. I’m not trying to change the failover strategy, rebuild the data nodes, or touch the data itself.

At this point, the only supported workflow I see is temporarily removing the witness so the HA device runs in Heartbeat mode, decommissioning the old witness server, building the new witness server, and then re‑adding the witness to restore Node Majority.

Is there any PowerShell‑only method to change the witness without recreating the HA device?

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

Tue Feb 24, 2026 7:07 pm

Welcome to StarWind Forum!
I will discuss the procedure internally. Is it SMB witness or is it a Witness node?
The only problem is that you can't revert it to Heartbeat mode. The devices will be in Node Majority, but without the witness. It is fine, but you must not restart any of the nodes until you are done with recreation.

I will return to this thread once I have a plan.
stcompdude
Posts: 2
Joined: Tue Feb 24, 2026 6:10 pm

Tue Feb 24, 2026 7:22 pm

It is a witness node.
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Wed Feb 25, 2026 12:39 pm

Hi,

Sadly, it is not possible; we could book a remote session to pull the change together. Please log a call with us https://www.starwindsoftware.com/support-form. Use 1454929 as your reference.
agyya
Posts: 1
Joined: Thu Feb 26, 2026 7:30 am

Thu Feb 26, 2026 7:34 am

There is no supported PowerShell-only method to directly replace the witness in StarWind Virtual SAN (Free).

Supported approach:

Remove the current witness → HA switches to 2-node Heartbeat mode

Decommission the old witness server

Deploy the new witness server

Add it back to restore Node-Majority

No need to recreate the HA device, and no data rebuild is required.
yaroslav (staff)
Staff
Posts: 4309
Joined: Mon Nov 18, 2019 11:11 am

Thu Feb 26, 2026 8:29 am

Support tech is here.
Do not follow the guide above; it looks like someone's LLM galucinated. There's no way for now to recreate the witness with powershell. The feature request was logged; dev team is working on it.
There's no way to switch to Heartbeat from node majority other than editing swdsk. Does it make sense to do so? Depends on the network configuration.
Post Reply