Page 1 of 1

Starwind SAN device SyncStatus is null on one node

Posted: Wed Apr 10, 2019 6:25 pm
by zenny7100
Hi - I'm running the free version, started from scratch on windows 2016 (2 node cluster) and created 3 devices per node. All three were created and synched according to the CreateHA powershell script. When I run a script that enumerates all the targets/devices on node 2 everything looks ok, all devices show as synched. When I run the same script against node 1 one of the devices has SynchStatus equal to null. If I look at the witness_HA.swdsk file directly it shows 0 as the sync_status in the xml for node 1 and "1" as the value for node 2. I tried the following:

calling $device.SyncStatus = 1 and then $device.Refresh(), this gives "Error HRESULT E_FAIL has been returned from a call to a COM component."

I also tried $device.MarkAsSynchronized() which returns "101 Failed: operation cannot be completed.."

Re: Starwind SAN device SyncStatus is null on one node

Posted: Wed Apr 10, 2019 9:24 pm
by Boris (staff)
Reinstall the StarWIndX component of your setup from the same installer. That should fix the issue.

Re: Starwind SAN device SyncStatus is null on one node

Posted: Thu Apr 11, 2019 3:17 pm
by zenny7100
Hi Boris, I just did that and there's no change - I think there is something wrong with that device on that node.. The swdsk file contains the following for this device which I don't think is correct (?) the device only has this value on the second node.

...
<node id="2" name="iqn.2008-08.com.starwindsoftware:192.9.187.46-node1witnestargetalias" shut="false" active="true">
<storages>
<storage_ref id="2"/>
</storages>
<parameters>
<type>1</type>
<priority>1</priority>
<sync_status>0</sync_status>
</parameters>
</node>

Re: Starwind SAN device SyncStatus is null on one node

Posted: Thu Apr 11, 2019 10:50 pm
by zenny7100
i fixed this by deleting the device and re-adding it. I'd like to know how this condition arose though, in the case the device was empty but if it wasn't I'm not sure what I would have done

Re: Starwind SAN device SyncStatus is null on one node

Posted: Fri Apr 19, 2019 8:58 am
by Oleg(staff)
Hi,
<sync_status>0</sync_status>
That means that StarWind device is not synchronized on this node. You can try to restart StarWind service on this node.