Page 1 of 1

StarWind Free Version Adding Additional Nodes Via PowerShell

Posted: Wed Aug 30, 2017 9:03 pm
by zeddferlife
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!

Re: StarWind Free Version Adding Additional Nodes Via PowerShell

Posted: Fri Sep 01, 2017 7:52 am
by Sergey (staff)
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

Re: StarWind Free Version Adding Additional Nodes Via PowerShell

Posted: Thu Sep 14, 2017 12:23 pm
by diego
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 ?

Re: StarWind Free Version Adding Additional Nodes Via PowerShell

Posted: Wed Sep 20, 2017 4:41 pm
by Sergey (staff)
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