Page 1 of 1

Powershell guide

Posted: Tue May 30, 2017 12:57 pm
by chrisguk
Is there a powershell guide and step by step to install vSAN adding new devices and setting up replication? Through the gui of course you can select the Heartbeart and Sync networks too.

Re: Powershell guide

Posted: Wed May 31, 2017 7:12 pm
by Michael (staff)
Hello chrisguk,
We are working now on a guide where GUI part will be replaced by PowerShell commands.
Meanwhile, you can use PowerShell script "C:\Program Files\StarWind Software\StarWind\StarWindX\Samples\powershell\CreateHA(two nodes).ps1" where you can specify synchronization and HB interfaces:
$firstNode.SyncInterface = "#p2=192.168.0.159:3260"
$firstNode.HBInterface = "#p2=192.168.56.101:3260"
$secondNode.SyncInterface = "#p1=192.168.0.83:3260"
$secondNode.HBInterface = "#p1=192.168.56.1:3260"