On Jan 9, Jim Klimov transmitted in part:
On 2013-01-09 18:53, Kiss Gabor (Bitman) wrote:
For some time I've been meaning to dig into the problem, and found
that I need a tool to emulate poweroffs for a testbed (VM likely).
What better tool would it be than a fake UPS driver that reports
to NUT clients whatever I feed it (via pipe or some other mechanism)?
...
Maybe this solves your problem:
http://www.networkupstools.org/docs/man/dummy-ups.html
Regards
Gabor
Thanks, that's it! For some reason, I remembered it as a "fakeups"
driver and tried to find it. Bad memory is one which stuffs too
much garbage ;)
Another technique is to connect a real UPS with a dummy load (e.g.
lamp stand), but plug the server in somewhere else, so that the power
doesn't really go off when you unplug the UPS, but you get all the
signals from the real drivers. You should try this after things
are working with the dummy driver.
And finally, of course, actually unplugging the UPS the server is
plugged into.
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev