StarWind Free Version Adding Additional Nodes Via PowerShell

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

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

Post Reply
zeddferlife
Posts: 1
Joined: Wed Aug 30, 2017 8:54 pm

Wed Aug 30, 2017 9:03 pm

Greetings,

I have set up a 3 Node HA device so far using the Management Console, however now I would like to learn how to add in additional nodes via PowerShell. Looking at the sample scripts, I see that samples are provided for creating 2 and 3 node HA devices and those make sense however what is not clear to me is how I would go about adding in a 4th and Nth nodes after the initial HA device is created. Do I simply need to modify the scripts to include the original node details plus whatever other nodes I am adding and then do something like

Code: Select all

$device = Add-HADevice -server $server -firstNode $firstNode -secondNode $secondNode -thirdNode $thirdNode -fourthNode $fourthNode -fifthNode $fifthNode -initMethod "Clear"
if I were going to add in a fourth and fifth node?

Any advice on this would be appreciated.

Thank you!
Sergey (staff)
Staff
Posts: 86
Joined: Mon Jul 17, 2017 4:12 pm

Fri Sep 01, 2017 7:52 am

Hello, zeddferlife, thank you for your question. StarWind officially supports active replication between 2 and 3-nodes. in case you need to have 5 nodes in the cluster you can deploy StarWind on GRID architecture. https://www.youtube.com/watch?v=WxInkhAsBX8
diego
Posts: 4
Joined: Thu Sep 14, 2017 12:11 pm

Thu Sep 14, 2017 12:23 pm

Hi,

I have the free version and my licence is expired
and my both server was disconnected

the managment consol is present but if try to click to connect one of my server i have this message " "the trial priod has expired you can continue managing starwind with powershell"

How I can connect again the server with powershell? witch cmdlet ?
Sergey (staff)
Staff
Posts: 86
Joined: Mon Jul 17, 2017 4:12 pm

Wed Sep 20, 2017 4:41 pm

Hello, Diego! You can connect to the local server with the following commands:

Code: Select all

Import-Module StarWindX
$server = New-SWServer 127.0.0.1 3261 root starwind
$server.Connect()
You can find StarWind Powershell samples here:
C:\Program Files\StarWind Software\StarWind\StarWindX\Samples\powershell
Post Reply