[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]
Bill Peck bpeck@redhat.com
Fri, 29 Jun 2007 13:30:58 -0700 (PDT)
I did this a while back with our version of 7.X. Instead of itYes, 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. :-)
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.
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.