Closed VincentSaelzler closed 2 years ago
https://networkupstools.org/docs/man/upsmon.html
SIMULATING POWER FAILURES
To test a synchronized shutdown without pulling the plug on your UPS(es), you need only set the forced shutdown (FSD) flag on them. You can do this by calling upsmon again to set the flag, i.e.:
upsmon -c fsd
After that, the master and the slaves will do their usual shutdown sequence as if the battery had gone critical. This is much easier on your UPS equipment, and it beats crawling under a desk to find the plug.
UPS does not turn off using USB cable. everything else seems to turn off perfectly!
Will try serial cable to see if UPS can be shut off
managed to make a serial cable, but still not working
will use raspberry pi
i found a way to make it work. installed the windows client on a machine and plugged the UPS into that.
the problem the whole time was passing invalid parameters related to the shutdown command, so the UPS always remained on.
marking as won't do though because ditching the idea of keeping the server rack anyways.
may eventually purchase a new UPS but we will see.
physically unplug / replug the power and monitor syslogs