VSAN Free replace failed node

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

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

Post Reply
jrosetto
Posts: 3
Joined: Mon Jan 08, 2024 8:37 pm

Mon Jan 08, 2024 8:48 pm

Running trials on VSAN free and am trying to figure out how to replace a node after it fails. Here is my setup.

Two physical servers with a 200GB partition for the OS and 10TB partition for the cluster.
I am running a 2 node cluster and created a Witness and CSV using the sample script. Both servers completed the sync.

I formatted the 200GB OS partiton on 'Server2' and did a clean install of the OS.

How do I go about syncing Server1 to Server2 since the data is intact on the 10TB partition of Server2?

In the event that I lost all the data on Server2 what steps would I take to mirror it from Server1?

Please guide me :)

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

Mon Jan 08, 2024 10:32 pm

Welcome to StarWind Forum.
Install PowerShell Library to a Windows VM or server from https://starwind.com/tmplink/starwind-v8.exe.
Then, go to C:\Program Files\StarWind Software\StarWind\StarWindX\Samples\powershell.
1. Set up and run the RemoveHAPartner to a HEALTHY node.
2. Configure AddHaPartner and run it adding the replication partner. Run it to a HEALTHY node

Hope it helps!
jrosetto
Posts: 3
Joined: Mon Jan 08, 2024 8:37 pm

Tue Jan 09, 2024 2:45 pm

Thanks for the reply. I managed to remove and readd the HAPartner and it seems to be syncing but did throw an error.
Request to TEST-HV-02 ( 10.0.0.2 ) : 3261
-
control ImageFile -CreateImage:"My computer\D\Cluster\Witness.img" -Size:"3072" -Flat:"True" -DeferredInit:"True" -Password:"starwind"
-
200 Failed: operation cannot be completed..
share.png
share.png (67.28 KiB) Viewed 1455 times
Is this because the files already existed and is now doing a sync or did I miss something?
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Tue Jan 09, 2024 4:13 pm

Thanks for more details!
Yes, it looks like there's a disk already there.
jrosetto
Posts: 3
Joined: Mon Jan 08, 2024 8:37 pm

Wed Jan 10, 2024 4:53 pm

yaroslav (staff) wrote:Thanks for more details!
Yes, it looks like there's a disk already there.
Thanks for pointing me in the right direction. I replaced the node again with no images on the drive and the script went though without errors.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Wed Jan 10, 2024 5:45 pm

HI,

Glad to know it worked :)
Let me know if there is anything I can assist you with.
Post Reply