Storage is not available untill Priority1 Node is UP

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

yaroslav (staff)
Staff
Posts: 2852
Joined: Mon Nov 18, 2019 11:11 am

Mon Jul 31, 2023 10:16 am

Go to SyncHaDevice.ps1 -> comment $device.Synchronize([SwHaSyncType]::SW_HA_SYNC_FULL, "") -> uncomment #$device.MarkAsSynchronized().
Kishore CA
Posts: 26
Joined: Wed Jan 04, 2023 10:38 am

Mon Jul 31, 2023 4:35 pm

yaroslav (staff) wrote:To mark manually as synchronized
1. Stop StarWindService on all nodes.
2. Go to *_HA.swdsk
3. Set <sync_status>1</sync_status> for the HA device you need to mark as synchronized and <sync_status>0</sync_status>
4. Repeat appropriate changes for the opposite node.
5. Start the service.
If one node is not reachable, do that for the remaining one.
Any other work around for this sir??
yaroslav (staff)
Staff
Posts: 2852
Joined: Mon Nov 18, 2019 11:11 am

Tue Aug 01, 2023 6:04 am

See my previous comment or point refer the target to the imgfile, not HA device in StarWind.cfg.
Kishore CA
Posts: 26
Joined: Wed Jan 04, 2023 10:38 am

Mon Aug 07, 2023 6:28 am

yaroslav (staff) wrote:See my previous comment or point refer the target to the imgfile, not HA device in StarWind.cfg.

I dint get anything in StarWind.cfg file sir.

Can you please help me out what to do.
yaroslav (staff)
Staff
Posts: 2852
Joined: Mon Nov 18, 2019 11:11 am

Mon Aug 07, 2023 6:33 am

Do you have HA devices or Image devices? If so, those are to be listed nearby <targets> section (where their targets are listed).
Kishore CA
Posts: 26
Joined: Wed Jan 04, 2023 10:38 am

Thu Aug 10, 2023 5:37 pm

yaroslav (staff) wrote:Do you have HA devices or Image devices? If so, those are to be listed nearby <targets> section (where their targets are listed).
I have HA Devices sir..

What I observed is, I used trial license even in this case when one VM/NODE is switched it will be in Not Synchronised state but when I mark it as synchronised using GUI then the storage will be available.

Requesting you to help me with shell script to mark the device as synchronised so that my problem will be solved I feel...

Hoping for positive reply
yaroslav (staff)
Staff
Posts: 2852
Joined: Mon Nov 18, 2019 11:11 am

Fri Aug 11, 2023 9:37 am

Hi,

Thanks for more details on this case!
Go to SyncHaDevice.ps1 -> comment $device.Synchronize([SwHaSyncType]::SW_HA_SYNC_FULL, "") -> uncomment #$device.MarkAsSynchronized().
Did you try this one?

Have a great weekend!
Kishore CA
Posts: 26
Joined: Wed Jan 04, 2023 10:38 am

Fri Aug 11, 2023 3:14 pm

yaroslav (staff) wrote:Hi,

Thanks for more details on this case!
Go to SyncHaDevice.ps1 -> comment $device.Synchronize([SwHaSyncType]::SW_HA_SYNC_FULL, "") -> uncomment #$device.MarkAsSynchronized().
Did you try this one?

Have a great weekend!
No sir

Tomorrow I wil try and let you know the results sir.
Kishore CA
Posts: 26
Joined: Wed Jan 04, 2023 10:38 am

Mon Aug 14, 2023 6:07 am

yaroslav (staff) wrote:Hi,

Thanks for more details on this case!
Go to SyncHaDevice.ps1 -> comment $device.Synchronize([SwHaSyncType]::SW_HA_SYNC_FULL, "") -> uncomment #$device.MarkAsSynchronized().
Did you try this one?

Have a great weekend!

Thanks a lot sir ...


This worked for me..
yaroslav (staff)
Staff
Posts: 2852
Joined: Mon Nov 18, 2019 11:11 am

Mon Aug 14, 2023 6:23 am

Hi,

Happy it worked :)
Let me know if you need more assistance.

Have a great day!
Post Reply