<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Philippe,<br>
      <br>
      On 23/06/2014 7:20 pm, Philippe Andersson wrote:<br>
    </div>
    <blockquote cite="mid:53A7F14E.80503@iba-group.com" type="cite">
      <pre wrap="">On 23/06/14 04:32, Stan Gammons wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Can one have a single UPS powering multiple servers and have them all 
shutdown in an orderly fashion pending a power loss?   It seems as 
though this is possible from what I gathered from the docs, but I've yet 
to make this work on an OpenBSD and FreeNAS machine that are powered 
from the same UPS. The master server that the UPS is connected to via 
USB receives messages from the UPS, but the slave doesn't receive any 
messages.  Any tips on how to make this work?
</pre>
      </blockquote>
      <pre wrap="">Yes, it is indeed possible. Here is a brief description of my typical
configuration:</pre>
    </blockquote>
    Excellent, thank you very much for sharing this information, this is
    exactly what I wish to do with my NUT installation :)<br>
    <blockquote cite="mid:53A7F14E.80503@iba-group.com" type="cite">
      <pre wrap="">- install NUT on all the participating servers

- the machine that is physically connected to the UPS (serial or USB)
becomes the "NUT server", all others are "NUT clients".

- the NUT server has the entire NUT stack (driver, upsd, upsmon, upssched)

- NUT clients only use upsmon, and "MONITOR" the UPS published by the
NUT server

- on the NUT server, use "upssched" to initiate a countdown timer on
"ONBATT" events

- if the countdown timer expires before the power returns, a custom
script is called that issues a "FSD" (forced shutdown) -- this message
is sent to all participating servers

- on each participating server, configure the shutdown command
(upsmon.conf) with a suitable grace period to take into account the
dependencies between servers (if any).

If you need more information, please mail me directly -- I can share the
configuration files and scripts I use.</pre>
    </blockquote>
    Can I get a copy of your configuration files too please?<br>
    <br>
    I've got a laptop with low power requirements hooked up as my nut
    server, so I'm actually going to configure nut to not shutdown the
    laptop, I want it to keep on running even after the UPS has run out
    of battery, and the power management on the laptop will shut down
    the laptop.  I'd even like to do a wake-on-LAN to the server, once
    the UPS has gotten back to, say, 50% battery.<br>
    <br>
    Cheers,<br>
    Greg<br>
    <blockquote cite="mid:53A7F14E.80503@iba-group.com" type="cite">
      <pre wrap="">

HTH

Cheers. Bye.

Ph. A.

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Nut-upsuser mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nut-upsuser@lists.alioth.debian.org">Nut-upsuser@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</a></pre>
    </blockquote>
    <br>
  </body>
</html>