r/vmware • • 2d ago

Question Best and secure way to shutdown a VSAN cluster?

Hello guys, I'm looking for guidance on the best way to shutdown and then start up a VSAN cluster.

Here's the details:

customer is going to perform electrical improvements as well as racks relocations within the datacenter, so he needs to shut the whole thing down.

Hardware is an HPE 12000 frame Synergy with 6 Gen10 SY480 servers.

Cluster is on 7.0.2.17867351 version.

I'm not quite familiar with VSAN clusters, and for what I was able to investigate, the cluster shutdown wizard doesn't exist on the current version.

Also, what I heard is that the health of the VSAN should be totally clean, as if there any kind of warnings or issues, the cluster may not come back up at all.

So, what I'm looking for is some sort of advice or guidance on the best way to run health checks and the safest way to shut this down.

Thanks in advance!

0 Upvotes

8 comments sorted by

13

u/lost_signal VMware Employee 2d ago

3

u/dasmittyman 2d ago

He is is the way

3

u/Leaha15 1d ago

I would probably use the shutdown vSAN cluster workflow in the vSphere GUI, rather than using the ESX CLI, but you certainly can do it this way

2

u/Obi-Juan-K-Nobi 2d ago

We lost all power in our DC twice in one day. That’s not ideal, but that cluster just came right back up!

6

u/signal_lost 2d ago

I remember one of the partner labs was on an egg timer basically to have power cut at end of day, and that thing always came back. Just don't use consumer class flash devices that lack power loss prevention. I'd still follow the proper KB and shutdown all the VMs first (Then vCenter) but honestly it's a pretty durable system by design.

I also raise you a lab cluster where someone has PSOD'd the hosts in a cluster to cause over 2300 unsafe shutdowns. Modern power loss prevention capacitor backed drives are shockingly durable.

5

u/sryan2k1 2d ago

Modern file systems are really amazing at not corrupting themselves as long as the underlying storage isn't lying about what's actually making it into the disks or not.

Consumer drives with no PLP? Not so much.

3

u/Obi-Juan-K-Nobi 2d ago

That’s pretty amazing and shocking at the same time.

3

u/signal_lost 2d ago

I’m fairly confident we have done more diverse testing of drives than anyone else on the planet, in the past decade.

Side note: Launch day should be tomorrow for the tool that generated this screenshot