kmddd59 / powerman

Automatically exported from code.google.com/p/powerman
GNU General Public License v2.0
0 stars 0 forks source link

cycle command does not work right for aliased redundant supplies on same RPC #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is an echo of chaos bug 254.

For device with redundant power supplies each connected to the same RPC, the 
powerman cycle command will turn each off and on in turn and never kill power 
to the device.

Consider removing the cycle script and just have powerman sequence off-delay-on 
*or* implement cycle_ranged for all RPC's.

Original issue reported on code.google.com by garlick....@gmail.com on 26 Oct 2011 at 4:15

GoogleCodeExporter commented 8 years ago
related items from powerman TODO:

* Allow delay in power cycle command to be configured globally and on a
  per-plug basis rather than hardwiring it in the script for a particular
  RPC, since it is a parameter that may need to change depending on what
  is plugged into the RPC.  [Jim Garlick]

* Use the above delay to implement a "min cycle time" which applies to
  power off/on commands in a client session independent way.  For example
  running "pm -0 dev; pm -1 dev" should implicitly sleep for the delay time.
  [Jim Garlick]

Original comment by garlick....@gmail.com on 26 Oct 2011 at 4:46