busy as usual, currently reading Alt-America (David Neiwert)

  • Radiant_sir_radiant@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    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.

    • JCPhoenix@beehaw.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      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!

    • JCPhoenix@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      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!