Is there a way to shutdown vSAN via powercli?
I can't monitor my homelab 24/7 and I would like to initatie automatic vSAN shutdown when the ups is low on power.
As far as I know this is not possible yet. Your best bet is to set up an alert if your UPS is low on power and shut it down manually then.
That is a pitty, because I can't do manual shutdown in the middle of a night or when I am away, but I will think of something.
https://developer.vmware.com/docs/powercli/latest/vmware.vimautomation.storage/commands/stop-vsancluster/#Default
Good find, thanks.