From owner-freebsd-questions@freebsd.org Thu Nov 5 16:15:44 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 522F4A261E9 for ; Thu, 5 Nov 2015 16:15:44 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id 2FD4013D8 for ; Thu, 5 Nov 2015 16:15:43 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 7DEC1CB8CA1; Thu, 5 Nov 2015 09:51:15 -0600 (CST) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Thu, 5 Nov 2015 09:51:15 -0600 (CST) Message-ID: <10722.128.135.52.6.1446738675.squirrel@cosmo.uchicago.edu> In-Reply-To: References: <563B7465.1090802@rcn.com> Date: Thu, 5 Nov 2015 09:51:15 -0600 (CST) Subject: Re: UPS From: "Valeri Galtsev" To: "krad" Cc: "Robert Huff" , "FreeBSD Questions" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 16:15:44 -0000 On Thu, November 5, 2015 9:40 am, krad wrote: > from what i remember the usb just presents itself as serial over usb, so > that makes sense. THe network bit is a bit misleading as I think it means > it talks to another apcupsd on a different host connected to a ups via > serial, rather than direct to a network enabled UPS. Network part means that apcupsd daemon on the machine (behind the same UPS, but not connected to UPS with serial or USB cable) can talk to apcupsd daemon on the machine connected to UPS with cable (serial or USB) - this only kicks in when directly connected daemon says UPS has only 3 min of juice in battery left: starting clean shutdown on the machine. Then other daemons connected to this daemon over network will start clean shutdown of their respective hosts. If power returns "master" apcupsd will try to abort shutdown if it didn't goo to deep into sequence, and "slave" daemons will try to do the same. This is a bit simplified, as most likely "master" passed all status data read from UPS to "slaves", and they make their own independent decisions based on data and their setting (which may be somewhat different). This is as far as I recollect what I read some 10 years ago. Valeri > > On 5 November 2015 at 15:23, Robert Huff wrote: > >> Rob Byrnes writes >> >> > You'll need a third-party tool to talk to it - sysutils/apcupsd >> > from ports works well on serial-connected UPS'. >> >> ... and USB-connected and - so I'm told - >> network-connected. >> >> >> Respectfully, >> >> >> Robert Huff >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++