From owner-freebsd-questions Mon Jan 20 2:42:55 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADED737B401 for ; Mon, 20 Jan 2003 02:42:52 -0800 (PST) Received: from mail10.atl.registeredsite.com (mail10.atl.registeredsite.com [64.224.219.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63E3443F18 for ; Mon, 20 Jan 2003 02:42:46 -0800 (PST) (envelope-from admin@asarian-host.net) Received: from asarian-host.net (asarian-host.net [216.122.74.112]) by mail10.atl.registeredsite.com (8.12.2/8.12.6) with ESMTP id h0KAgdtF003033 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Mon, 20 Jan 2003 05:42:39 -0500 Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email addresses for asarians can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by asarian-host.net (8.11.6/8.11.0) id h0KAgdM18213 for freebsd-questions@freebsd.org; Mon, 20 Jan 2003 11:42:39 +0100 (CET) (envelope-from admin@asarian-host.net) Posted-Date: Mon, 20 Jan 2003 11:42:39 +0100 (CET) From: Mark Message-Id: <200301201042.H0KAGZL18186@asarian-host.net> Date: Mon, 20 Jan 2003 11:42:24 +0100 X-Authenticated-Sender: admin@asarian-host.net Subject: Re: Shutdown for APC Back-UPS 350 CS X-Trace: l2IJTaYCxlEd+9y4QXcGwWjO7eOCeczOV1MSggSj4ZDKk8+pUVM0ywHrP8JWblX0 X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: "Per olof Ljungmark" , "Jack L. Stone" Cc: References: <127.0.0.1.20030119185811.011becd0@mail.sage-one.net> <127.0.0.1.20030119192238.011becd0@mail.sage-one.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Auth: Asarian-host PGP signature iQEVAwUAPivSnzFqW1BleBN9AQF++AgAjmrGZvymsQLfRM1odXwv2zcOMZTvE+XG 8YsMr560JrrupG5Etj6J/huJQyp6NA2zkDtyQUsWxnr981VVm78VEZr4+cYrJdNg 4jA1pCMifS4NU2Bt/ZZXLlnFPMgTO+Y4DDpBNzBwyatz9u4m3nVHsbSr5IiIDXjm n7dlo7I5u5hLcv3gW6cZ8xWvRLN+8ydHP24Qp/TQ1tCnJ4cn85cAIhix6YZP2eho ngXJk736klaYuYNeqfyB0k1jeQWq4+y84f35c1F5tOsPP9s5SYw5Ky1LfAyf+KuP z6eQqs7z6EnGcPbIJ3x4W4uTUgRd5jWwRYmDOm8IipmZ43yrKjF+HQ== =YVNR Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Jack L. Stone" To: "Per olof Ljungmark" Cc: "Mark" ; Sent: Monday, January 20, 2003 2:22 AM Subject: Re: Shutdown for APC Back-UPS 350 CS > At 02:05 AM 1.20.2003 +0100, Per olof Ljungmark wrote: > > > > > > >> To do what you want requires a UPS with "SmartUPS" to "talk" to your > >> system. You have what is referred to as a "dumb UPS". I use SmartUPSes > >> on "master" machines to tell the "slave" machines when to shut down and > >> other instructions. The SmartUPSes will carry on an exchange with the > >> machine, but the dumb ones will not. The slaves are attached to the > >> dumb UPSes for continuations of power, but the SmartUPS tells each > >> slave what to do and when to shut down. Each slave must have an apcupsd > >> daemon installed, running and configured to communicate with the master > >> over the network for this to work. > > > > But why then supply a cable for use between the 350CS and the computer? > > I use only SmartUPS and BackUPS Pro so I could not be sure but... > > > > Per olof > > I have been asking WHY have a cable with a dumb UPS for a long time and > yet to get a good answer. I have tested with instruments the pins on those > cables and very little to nothing found in a way of a signal. If you go to > that apcupsd URL and did down you will find all (most) of the cables and > it also explains them. SmartUPSes -- yes -- okay and will work with the > cable. The computer may sense the dumb UPS -- BUT, will not communicate > about shutdown and other critical info. If I'm wrong, then let me know.... > I spent a lot of time falling for the "cable" bit. > > Dumb UPSes are useful for keeping the machines going until you or a master > machine can tell it to shut down gracefully.... > > Best regards, > Jack L. Stone, > Administrator Thanks for the replies, guys; I really appreciate it. :) The BackUPS 350 CS is not supposed to be truly 'dumb', but allegedly can report power-failure over its cable. So, I ran "apctest", and a line change of sorts IS noted: ---------------------------------- 2003-01-20 11:32:31 apctest 3.8.5 (4 January 2002) freebsd Checking configuration ... Select test number: 1 2003-01-20 11:21:22 IOCTL GET: 5 LE RTS 2003-01-20 11:21:32 Test 1: normal condition, completed. Select test number: 3 For the third test, the serial cable should be plugged back into the UPS, but the AC power plug to the UPS should be DISCONNECTED. Please enter any character when ready to continue: 2003-01-20 11:23:10 IOCTL GET: a5 LE RTS CTS RNG 2003-01-20 11:23:20 Test 3: no power, completed. ---------------------------------- Apparent, CTS changes state. Dunno what RNG does (alarm?), but CTS should suffice. Hmm, that kinda makes me wonder, is there not a FreeBSD command I can issue myself, via cron or something, to test the state of CTS? Then I may not need apcupsd at all. Thanks for your continual help, - Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message