Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: apcupsd to recycle power
Date: Sat, 15 Nov 2014 18:19:43
Message-Id: loom.20141115T185231-361@post.gmane.org
In Reply to: Re: [gentoo-user] apcupsd to recycle power by Thanasis
1 Thanasis <thanasis <at> asyr.hopto.org> writes:
2
3 >
4 > on 11/15/2014 06:47 PM Daniel Frey wrote the following:
5 > > On 11/14/2014 10:53 AM, Thanasis wrote:
6 > >> I have an APC SC620I, which in case of power failure, it successfully
7 > >> initiates a shutdown to the connected (via SMART cable) PC, but if the
8 > >> mains power returns, the UPS does not recycle the power to the PC, and
9 > >> consequently the PC stays off.
10
11 Are you sure you have "fully characterized the UPS behaviour? Often hardware
12 related to power says one thing in manuals and behave quite differently
13 in relality, particulary as the equipment ages and the firmware inside
14 is not upgraded.
15
16 A multi meter is an indspinabled piece of diagnosis equipment to actually
17 monitor the outlest both feeding utility power to the UPS and the outlets
18 on the UPS. Furthermore not every port on the UPS acts the same. Start with
19 the manual, but *verify* base on conditions.
20
21 Another problem. Much of the software (firmware inside the ups) is bullshit.
22 There are not easy/reliable methods to tell exactly how much energy is
23 in a new battery at any given point it time. The problem is further
24 exasperated as batteries and circuit components age. Old UPSes act weird
25 the older the hardware gets. The sensor circuits and the heuristics/bullshit
26 math used to measure currently stored energy in a battery. If you doubt any
27 of this, go to any semiconductor site that has lots of technology for
28 batteries and you'll be astonished at the voodoo
29 that is the basis of those algorithms.
30
31 So not that you understand that limitation of physcis (currrent EE
32 technology) it's easy to understand why you must verify (characterize)
33 performance. Do change the UPS batteries, if they are older than 3 years
34 (2 years if they are cheap no name brand, not Mil spec) type of crap.
35 All batteries are crap; but there is much more to these systems I am
36 not going into.
37
38 > > However, in the even that power is restored between the UPS kill and the
39 > > time it actually turns off the mains will still not be cycled.
40
41 UPdate your ups firmware, often: (from the apc site).
42
43 http://www.apc.com/search-apc/us/en/relevance/10_1/Product
44 Information;;7B0CB5EA-CEC6-4E31-B9A6-51E4DCFADB54/all?search_text=upgrade
45 firmware&search_type=new&filters=
46
47 Monitor the actual voltage level on the output port of the ups where
48 your PC is plugged in. Use common sense about electricty.
49
50 If the ups software is dysfuntional, then find a solution that avoids it.
51
52 For example, WOL Wake on Lan:
53
54 https://wiki.archlinux.org/index.php/Wake-on-LAN
55
56 Once again Arch kicks gentoo in the teeth with excellent documents. ymmv.
57
58 Research WOL, etherboot and any other way that another system can
59 send a signal over ethernet to you PC to boot up. Sometimes I run
60 that over a serial port embedded device to the pc, as an embedded
61 system can last years or decades on a (solar) battery system, if you
62 auto reboot is really critical.
63
64
65 Also look at the patents held by Peter Pulizzi. Pretty much the "shit"
66 when it comes to remote power control:
67
68 http://patents.justia.com/inventor/peter-s-pulizzi
69
70 Software is nothing without motivated Electrical Engineeers.
71 (Respect your elders because they have paved a path forward for you).
72
73
74 Now, get real. Get my bud, meino to whip together a $20 micro and a relay
75 with a control port into a metal box, (code) so you can build your
76 own reboot box!
77
78 What he'll charge you?
79
80 Or keep working with software built ontop of "crap assumptions". After
81 a while you'll "get it".
82
83 Or buy a UPS with know proven functionality?
84
85
86 Naw, just be a "hack" and cludge something "admin_ish" together?
87
88 Those cheap UPS codes are crap. All of them. If you are motivated,
89 most can be "downloaded" and picked apart, if you are motivated.
90
91
92 hth,
93 (PS ignore the rants, they are just there to motivate you)
94 James
95
96 http://powerquality.eaton.com/About-Us/Pulizzi.asp?id=&key=&Quest_user_id=&leadg_Q_QRequired=&site=&menu=&cx=3&x=14&y=12