Page 1 of 1

VSAN Free replace failed node

Posted: Mon Jan 08, 2024 8:48 pm
by jrosetto
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

Re: VSAN Free replace failed node

Posted: Mon Jan 08, 2024 10:32 pm
by yaroslav (staff)
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!

Re: VSAN Free replace failed node

Posted: Tue Jan 09, 2024 2:45 pm
by jrosetto
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 5170 times
Is this because the files already existed and is now doing a sync or did I miss something?

Re: VSAN Free replace failed node

Posted: Tue Jan 09, 2024 4:13 pm
by yaroslav (staff)
Thanks for more details!
Yes, it looks like there's a disk already there.

Re: VSAN Free replace failed node

Posted: Wed Jan 10, 2024 4:53 pm
by jrosetto
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.

Re: VSAN Free replace failed node

Posted: Wed Jan 10, 2024 5:45 pm
by yaroslav (staff)
HI,

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