Hello Miguel,
Thanks for your reply.
If your StarWind management console still exists it is enough to click "Connect" in the console.
In PowerShell scripts you can see strings below:
Code: Select all
Import-Module StarWindX
$server = New-SWServer -host 127.0.0.1 -port 3261 -user root -password starwind
try
{
#Connection
$server.Connect()
}
catch
{
Write-Host "Exception $($_.Exception.Message)" -foreground red
}
finally
{
if ( $server.Connected )
{
$server.Disconnect()
}
}
That's means to perform the script we need to connect to StarWind service via loopback (local) or to the partner node performing any commands (which is supported in StarWindX) and disconnect from service.
StarWind management console is connecting to StarWind vSAN service via the different way. It means StarWind console and StarWindX is independent of each other.