On Sun, May 6, 2012 at 11:52 PM, James Clendenan
<james.clendenan(a)gmail.com> wrote:
Hi James,
That power stuff is unfortunate timing for me. I actually just had to build
a set of new power script to handle the HP bladesystem C-7000's for a group
who didn't have ILO and weren't able to use any of the existing fence
modules available.
Any suggestions on how I might be able to preserve their functionality of
being able to define custom power templates?
Also, any thoughts from the community on being able to poll systems for
power status via the power commands? (ie ipmitool power status ) and then
present it as a green / red light?
Yes, the way around this is to symlink your script to
/usr/sbin/fence_yourname and make sure it accepts parameters on STDIN
rather than via command line arguments and you should be fine.
There is a power status check currently, though apparently it may need
some work as even the fence_* commands don't return consistent output.
At some point, I would like to add a simple status check to the web
GUI.