Fonzies50 - this thread saved my bacon last month so I'll try to pay some of it forward. Couple things jump out from your screenshots.
Your situation is actually different from mine in one important way. When I had my outage BOTH nodes were unsynchronized and storage was down everywhere - that's the only scenario where the MarkAsSynchronized() edit applies. Your .37 node looks alive and serving (2 sessions, LUN online, and the alert just says the partner isn't synchronized). So I would NOT mark anything as synchronized, especially not on the .38 box - you could end up promoting the stale copy over your good data. You just need to get a normal full sync running again.
On the "Device not found" - the script connected fine, it just doesn't recognize the name. It wants the internal StarWind device name, not the LUN name from the web UI (starwind-vsan01), and it's case sensitive. List what's actually there first:
Code: Select all
Import-Module StarWindX
$server = New-SWServer -host 172.22.22.38 -port 3261 -user root -password starwind
$server.Connect()
$server.Devices | Format-Table Name, TargetName
$server.Disconnect()
Then run SyncHaDevice.ps1 with the exact Name from that output, in its default form (the Synchronize line active, nothing swapped to MarkAsSynchronized) against the node that's out of sync. Might also be worth just trying the Synchronize button in the alert on your .37 node first - that's the safest route either way.
For the license error - my understanding is the Free web UI is monitoring only, so "functionality is not licensed" on Manage LUN is sort of expected. But since your two nodes are behaving differently, compare Settings > License on both. I've seen posts about CVMs losing their license after an update, and I'd guess an unlicensed node won't resync. Also double-check the sync/heartbeat links are passing traffic in both directions - "several unsuccessful synchronization attempts" usually means sync keeps starting and dying, and the .38 node's log should say why.
You're on the CVM/web UI deployment and mine is the Windows application, best to let Yaroslav confirm the specifics but wanted to share in case there are any useful nuggets.