Page 1 of 1
StarWind VSAN free Powershell scripts
Posted: Sat Nov 13, 2021 9:22 pm
by dpetrek1
Hi,
the scripts work well, I was able to create highly available device in two-node scenario.
So now primary (priority "First") device (node hosting it) fails.
How to set secondaries (priority Second) priority to "First" using the scripts, and push the synchronisation in opposite direction?
Re: StarWind VSAN free Powershell scripts
Posted: Sat Nov 13, 2021 10:43 pm
by yaroslav (staff)
StarWind HA devices are replicated synchronously, meaning that each replica can present the storage, provided that it is synchronized. See more about priorities at
https://forums.starwindsoftware.com/vie ... f=5&t=5731
Could you be more specific to describe what fail is it?
Make sure to have HA devices connected over iSCSI. What configuration is it? Hyperconvrged/Converged? VSAN for vSphere/Windows bare metal deployment?
Make sure that your setup meets system requirements
https://www.starwindsoftware.com/system-requirements and you have redundant network adapter involved in heartbeat oe synchronization.
Re: StarWind VSAN free Powershell scripts
Posted: Sun Nov 14, 2021 12:30 pm
by dpetrek1
Yaroslav, thank you for your answer.
I understand that each replica can present storage.
This is HyperV based Windows Server VM replicating virtual disk to another HyperV based Windows Server VM scenario/configuration - does not include clustering.
So lets assume two nodes with corresponding replicating devices.
Fail is situation where one computing node (VM) is destroyed, and can not be recovered.
Let suppose thats priority "First" node that failed. We use the alive node replica now, without data loss. Then the failing node is rebuilt from scratch, Starwind set up again on that node, and synchronization/replication must be configured towards it - it needs to have lower priority. How would we do that?
Or maybe the "priority first" node did not fail in way it cannot be recovered again, it just can not be started for the time being, so we must consume virtual disk on another node.
Then, when failing node starts up again it needs to have lower priority since we had changed on another node already.
Re: StarWind VSAN free Powershell scripts
Posted: Mon Nov 15, 2021 5:04 am
by yaroslav (staff)
Priorities do not matter that much in this situation. As I mentioned in my post I shared with you just need to have primary (i.e., old secondary) on one side, while secondary (i.e., the new replica) on another side. If you still want to stick with the old priorities, you need to recreate replicas as described here
https://forums.starwindsoftware.com/vie ... _ha#p33085, wait for full synchronization to complete, and modify the priorities as I mentioned here
https://www.starwindsoftware.com/system-requirements
Re: StarWind VSAN free Powershell scripts
Posted: Wed Nov 17, 2021 11:14 am
by dpetrek1
OK thank you, understood.
Re: StarWind VSAN free Powershell scripts
Posted: Wed Nov 17, 2021 4:44 pm
by yaroslav (staff)
You are welcome.