[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

RE: [PATCH] Power control

Rich Holland holland@guidancetech.com
Fri, 29 Jun 2007 13:35:46 -0700 (PDT)

Somewhat off topic, but has anyone modded a power strip so it's outlets
could be remotely controlled, or are you all using pre-purchased power
strips with serial interfaces?  The ones I've looked at are way too
expensive for home use....I'd like something I could use to remote-reboot my
systems with at home when I'm traveling, but it's not worth $1k or more.  :)

Rich Holland
Principal Consultant
Guidance Technologies, Inc. 
Cell: 913-645-1950
Fax: 913-273-0675

-----Original Message-----
From: users-bounces@conserver.com [mailto:users-bounces@conserver.com] On
Behalf Of Bill Peck
Sent: Friday, June 29, 2007 4:31 PM
To: Christopher Fowler
Cc: users@conserver.com
Subject: Re: [PATCH] Power control

Christopher Fowler wrote:
> I did this a while back with our version of 7.X.  Instead of it
> executing an external power command it send a message to a daemon that
> was responsible for chatting with various power strips.  The problem
> with supporting different vendors of strips is that they each have their
> own access method. 
Yes, I'm using our fence scripts from our cluster product to do the work 
of talking to the different power strips.  Did you ever post your 
patches for inclusion?  I just want power control from conserver and to 
not have to maintain a patch going forward. :-)

> The powerd daemon was responsible for knowing what
> strip was on what serial power and would char with the strip to execute
> the power command.  To the user it was off,on,and reboot.  Regardless if
> you were using APC, Baytech, etc.  As long as powerd had support for
> that model of strip then you could control it via conserver.
> I did add a feature that would make sure that the user had R/W on the
> console and power control capability on the console.  If not they were
> sent a message from conserver that they did not have sufficient rights
> to control power on that device.
> Being able to control power from console is an amazing benefit.  I've
> used it many times to rescue systems in trouble.

users mailing list