If you look at handle commands in the plugins and find nodehm:mgt, you can see how it drives the selection of which plugin will run for various commands. So if nodehm.mgt is ipmi for the node, then the ipmi.pm plugin will be called for rinv below. This is a pretty complex area. I asked some our our developers if there is a way to do what I think you want to do . You want to add a plugin to run some commands and yet still use the ipmi plugin for others.
ipmi.pm: sub handled_commands { return { rpower => 'nodehm:power,mgt', #done renergy => 'nodehm:power,mgt', getipmicons => 'ipmi', #done rspconfig => 'nodehm:mgt', #done rspreset => 'nodehm:mgt', #done rvitals => 'nodehm:mgt', #done rinv => 'nodehm:mgt', #done rflash => 'nodehm:mgt', #done rsetboot => 'nodehm:mgt', #done rbeacon => 'nodehm:mgt', #done reventlog => 'nodehm:mgt', Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Russell Jones <russell-l...@jonesmail.me> To: xcat-user@lists.sourceforge.net, Date: 01/13/2014 02:39 PM Subject: Re: [xcat-user] bmc attribute confusion Also just for more info, this is a Dell SC1435 node that has an upgraded iDRAC that uses a java console, while power is controlled via standard IPMI. So, we need to be able to do nodehm.power=ipmi, and nodehm.mgt=iKVM. Then under /opt/xcat/lib/perl/xCAT_plugin, we have a custom iKVM.pm module that gets called when wvid is ran. On 1/13/2014 1:35 PM, Russell Jones wrote: Thanks! I was under the impression mgt attribute was just a "catch-all" for if you didn't want to have to manually set both nodehm.power and nodehm.cons. We have custom perl modules that are utilizing nodehm.mgt for storing data for launching custom java consoles when wvid is called. So that I am better aware of what the downsides are to this, what is nodehm.mgt used for that nodehm.power and nodehm.cons is not? On 1/13/2014 10:07 AM, Lissa Valletta wrote: You need to provide the mgt attribute also as indicated by the error message. Sure you can tabedit and get around it but that is not satisfying the xcat database setup requirement. You need to tell us the method used for hardware control, in this case ipmi. Use this document as a reference: https://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_iDataPlex_Cluster_Quick_Start Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Russell Jones ---01/10/2014 03:08:33 PM---Hi all, When configuring a node to utilize a java console vRussell Jones ---01/10/2014 03:08:33 PM---Hi all, When configuring a node to utilize a java console via wvid, and ipmi for From: Russell Jones <russell-l...@jonesmail.me> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, Date: 01/10/2014 03:08 PM Subject: [xcat-user] bmc attribute confusion Hi all, When configuring a node to utilize a java console via wvid, and ipmi for power, things get a little screwy: [root@master xCAT_plugin]# chdef c01n69 bmc=c01n69-bmc Cannot set the 'bmc' attribute unless a value is provided for 'mgt'. mgt => The method to use to do general hardware management of the node. This attribute is used as the default if power or getmac is not set. Valid values: ipmi, blade, hmc, ivm, fsp, bpa. See the power attribute for more details. Error: Cannot set the attr='bmc' attribute unless 'mgt=ipmi'. 1 object definitions have been created or modified. An lsdef of the node shows the bmc attribute empty. I have to manually edit the ipmi table to add the bmc address for the node so that rpower works. "lsdef" still shows it blank, but at least at that point rpower is able to communicate with the node's BMC. Why is xCAT requiring mgt to be set for the BMC attribute, and all I am trying to do is utilize rpower for remote power control? ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user