Yes, the list of available options is built dynamically with
glob.glob("/usr/sbin/fence_*") so adding new checks is transparent and
automatic. That in itself is a major improvement over the way it was.
On May 7, 2012 10:26 AM, "Mann, Owen" <[email protected]> wrote:> A power status indicator would be pretty darn neat. > As for custom power management types, I've added "power_type" to > "USES_SELECT" in field_info.py. Will the custom types get added to the list > of choices automatically? > > Owen Mann, Interactive Data Real Time Services > 60 Codman Hill Rd, Boxborough, MA 01719 > 978-795-3758 [email protected] > > > -----Original Message----- > From: [email protected] [mailto: > [email protected]] On Behalf Of James Cammarata > Sent: Monday, May 07, 2012 8:27 AM > To: [email protected]; cobbler mailing list > Subject: Re: [cobbler] New stuff > > On Sun, May 6, 2012 at 11:52 PM, James Clendenan < > [email protected]> 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. > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler > > > ******************************************************* > This message (including any files transmitted with it) may contain > confidential and/or proprietary information, is the property of Interactive > Data Corporation and/or its subsidiaries, and is directed only to the > addressee(s). If you are not the designated recipient or have reason to > believe you received this message in error, please delete this message from > your system and notify the sender immediately. An unintended recipient's > disclosure, copying, distribution, or use of this message or any > attachments is prohibited and may be unlawful. > ******************************************************* > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler >
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
