Search found 29 matches

by Sekkmer
Thu Apr 18, 2019 2:35 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWindX throw exception on server connect
Replies: 12
Views: 6416

Re: StarWindX throw exception on server connect

Well, I don't know what changed but after the last restart, the error just magically disappeared.

Unfortunately, I have no idea what was the problem but if I encounter this error again I will update you.
by Sekkmer
Thu Apr 18, 2019 10:46 am
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWindX throw exception on server connect
Replies: 12
Views: 6416

Re: StarWindX throw exception on server connect

Yes, the error always happens no matter what, but it has never shown in the log only in the console as I mentioned previously.
by Sekkmer
Wed Apr 17, 2019 9:57 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWindX throw exception on server connect
Replies: 12
Views: 6416

Re: StarWindX throw exception on server connect

So this exception is not logged this way, or it fails before it can log anything.
I don't know what comes next after getting the devices but the problem should be in the next part may be in the serialization or what comes after that.
by Sekkmer
Wed Apr 17, 2019 5:27 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWindX throw exception on server connect
Replies: 12
Views: 6416

Re: StarWindX throw exception on server connect

I tested multiple times but I don't see any error in the log file only INFO and DEBUG. It just lists the targets then the devices, I didn't copy the whole device response from the log. 17-04 19:17:48 INFO : STARWINDX LOG STARTED! 17-04 19:17:48 INFO : Version 1.0.0.436 17-04 19:18:01 INFO : Refresh ...
by Sekkmer
Wed Apr 17, 2019 2:46 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWindX throw exception on server connect
Replies: 12
Views: 6416

Re: StarWindX throw exception on server connect

Well yes, I can monitor it from the Management Console and it is the latest build. Could you provide me some help for how to get a better or more detailed exception or log from StarWindX, until than I try a rollback to build 12658 and see what happens. As I mentioned I just reinstalled the whole Sta...
by Sekkmer
Wed Apr 17, 2019 11:15 am
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWindX throw exception on server connect
Replies: 12
Views: 6416

Re: StarWindX throw exception on server connect

It is a Windows 10 so not a server but it hasn't had a problem like this or the reinstall solved it, I use this install for tests only. I can connect with the GUI but its a free license after the 30 days so I can't do much which wouldn't be a problem if I could connect with StarWindX. For me it seem...
by Sekkmer
Tue Apr 16, 2019 3:58 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWindX throw exception on server connect
Replies: 12
Views: 6416

StarWindX throw exception on server connect

On server connect I got the following error: PS C:\WINDOWS\system32\WindowsPowerShell\v1.0> $server = New-SWServer -host 127.0.0.1 -port 3261 -user root -password starwind PS C:\WINDOWS\system32\WindowsPowerShell\v1.0> $server.Connect() External component has thrown an exception. At line:1 char:1 + ...
by Sekkmer
Sun Apr 14, 2019 8:34 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: Entering Maintenance Mode for a device in C# and bug
Replies: 4
Views: 2917

Re: Entering Maintenance Mode for a device in C# and bug

You have to cast your IDevice to IHADevice than you can use the SwitchMaintenanceMode function. As for the problem, I never used the GetDeviceByID function but you can use this instead: var device = Server.Devices.Cast<IDevice>().FirstOrDefault(d => d.DeviceId == "{your device id}");
by Sekkmer
Tue Feb 26, 2019 10:26 am
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: vVol creatiion on VSAN Free
Replies: 3
Views: 4812

Re: vVol creatiion on VSAN Free

IStarwindServer has a method: CreateTarget(string targetAlias, string TargetName, Parameters builder) You have to build your parameters for vvols: $param.AppendParam("targetType", "vvols") The other parameter which can be set is "clustered" which can be "Yes" ...
by Sekkmer
Thu Nov 01, 2018 4:44 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: How to change management interface login/password?
Replies: 8
Views: 18934

Re: How to change management interface login/password?

Well, there is no documentation for this but you can look into the logs and at the beginning of it you can find a list of them but I am not sure if they are complete or not. I made a class in C# which implement all of these trough reflection (region IValues): https://github.com/Sekkmer/StarWindXExtL...
by Sekkmer
Tue Oct 30, 2018 3:55 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: Managing StarWind VSA Free
Replies: 2
Views: 2390

Re: Managing StarWind VSA Free

Well, I think you can do a lot of thing with those scripts but there are some things when you just have to do some work around, Howevere I do not use these scripts because for me writing a small GUI in C# was a bit more simple than always do the scripts manually, I made one part of my code public wh...
by Sekkmer
Wed Sep 26, 2018 2:32 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: How to change management interface login/password?
Replies: 8
Views: 18934

Re: How to change management interface login/password?

if you want to do it on PowerShell you can use the following functions: $server.GetServerParameter("<name>") $server.SetServerParameter("<name>", "<value>") name = "Password" in this case raw format: "##" + ToBase64(MD5(password)) original: "##e...
by Sekkmer
Fri Aug 31, 2018 10:16 am
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: Add RAM Cache and several sync channels via powershell
Replies: 5
Views: 5218

Re: Add RAM Cache and several sync channels via powershell

well you can edit Sync/HB channels after creation $server (StarWind Server) $device (HADevice) $params = new-object -ComObject StarWindX.Parameters $params.AppendParam("AddRemovePartnerInterface","") $params.AppendParam("sendTo",$device.DeviceId) $params.AppendParam(&qu...
by Sekkmer
Tue Aug 21, 2018 7:53 am
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: How to exactly check the Device Health from powershell?
Replies: 14
Views: 16881

Re: How to exactly check the Device Health from powershell?

IDevice has a function called GetPropertyValue() and witch return any property that the device has, some properties are not part of the com object but you can still get them. you can get some partner information like this "ha_partner_node" + node number (start from 1) + "_" + nam...