this post was submitted on 29 Apr 2024
43 points (100.0% liked)
Chat
7505 readers
67 users here now
Relaxed section for discussion and debate that doesn't fit anywhere else. Whether it's advice, how your week is going, a link that's at the back of your mind, or something like that, it can likely go here.
Subcommunities on Beehaw:
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Hmm, the way you describe it makes sense.
You'll probably want to send the UPS a command to kill the power after shutdown is complete. I'm not sure what software you use on the server (if any) to manage the UPS, and not too familiar with them anyway, but a common concept would be: UPS reports power failure with <$minimum runtime remaining, server shuts down gracefully and sends a "kill power" command to the UPS at the end of its shutdown sequence, UPS kills power, power eventually returns, UPS turns back on, server gets power again and reboots.
I know APC PowerChute and whatever software comes with HPE UPSes can do that.
It also means your UPS has some runtime left in case of emergency or if the power returns and quickly fails again.
Sorry to "necro" this thread, but I just got around to enabling and testing out your UPS kill command suggestion. Everything shutdown as planned, including the UPS itself. Once I restored wall power to the UPS, power started flowing to the server automatically, the BIOS detected it, and the server booted-up on its own! Success! ESXi is back up and VMs are still in the process of auto-starting. This is exactly how I wanted it all to work.
Thanks again for the suggestion!
Glad it worked, and thanks for the feedback!
Ah, I have the seen that option to kill the UPS after shutdown, but I left it disabled because I didn't understand what it did. And the documentation from Cyberpower is pretty lacking. But I'll try that enabling that option, testing, then seeing what happens.
I appreciate the tips you're giving me here!