Vsan Free Sphere with Linux appliance

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

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

Post Reply
CedricT
Posts: 36
Joined: Mon Apr 15, 2019 1:14 pm

Thu Jun 25, 2020 2:49 pm

Hi all,

Is there a way to manage linux appliance with scripts? It's possible with powershell with Vsan Free and Windows so i wonder how to do it with a cluster vsphere and appliances linux.

Thanks
yaroslav (staff)
Staff
Posts: 2277
Joined: Mon Nov 18, 2019 11:11 am

Thu Jun 25, 2020 3:10 pm

What you can do is deploy StarWind VSAN for vSphere from the template and install Management console to the Windows machine. Make sure to install PowerShell library as well!
You can run scripts from Windows VM. Instead of 127.0.0.1 you should use the IP of StarWind VM.
CedricT
Posts: 36
Joined: Mon Apr 15, 2019 1:14 pm

Thu Jun 25, 2020 3:15 pm

Thank you a lot. I'm gonna try.

Have a good day.
yaroslav (staff)
Staff
Posts: 2277
Joined: Mon Nov 18, 2019 11:11 am

Thu Jun 25, 2020 3:40 pm

You are welcome.
Let us know if any additional assistance is required.
CedricT
Posts: 36
Joined: Mon Apr 15, 2019 1:14 pm

Mon Jun 29, 2020 8:33 am

Hi,

It worked pretty well. I'm just stuck on something different now.

I would have a witness but i can't find the way to do it with powershell.

And additionnal question: what is the best way to deploy a witness with VSAN Free on Vsphere. What kind of node is required, bare metal, vm windows, other Linux appliance?

Thanks a lot again :D
yaroslav (staff)
Staff
Posts: 2277
Joined: Mon Nov 18, 2019 11:11 am

Mon Jun 29, 2020 10:51 am

Happy to know that it worked and thank you for the feedback.
You do not need a witness for vSphere. So, you can just go without it.
CedricT
Posts: 36
Joined: Mon Apr 15, 2019 1:14 pm

Mon Jun 29, 2020 11:58 am

Thank you again for this reply.

I still don't understand. In this documentation https://www.starwindsoftware.com/resour ... phere-6-5/ "Adding Witness Node" you precise in case of Node Majority you can add a witness "Adding Witness Node" . Now i'm confused.

Can you explain that?

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

Mon Jun 29, 2020 4:34 pm

Witness node is related to the Node Majority Failover Strategy. As a free user though, you must have created HA devices with CreateHA script, which means that they have been created with Heartbeat Failover Strategy.
For Heartbeat Failover strategy for VSAN for vSphere, no Witness is needed.

Node Majority Failover strategy requires 3 nodes and (2 keep data and a witness node), however, there is no script for creating a HA device with Node Majority failover strategy yet.

"Adding Witness Node" section addresses creating HA device with Node Majority Failover strategy. To sum up, this strategy is not available for free users yet and it is rather an available scenario than the step.
Post Reply