Howow would you suggest going about that... Aside from somehow inserting some manual bit into the python code to do this? And even then, what and where?
And why doesn't the CLI work for things like this...? cobbler system edit --name=test123 --netboot-enabled=true cobbler system reboot --name=test123 Does not produce a netboot. But ipmitool wiil. When I do try it that way, I don't even get anything valuable in the logs if it's failing to try to set a netboot. Seems like this has been solved or documented by someone somewhere. On Wed, Aug 5, 2015 at 7:39 AM, Alvin Starr <[email protected]> wrote: > It was my impression that fence is just to shut a machine down as part of > the HA/clustering toolset. > All the other features are just added extras that are not needed as part > of the primary function. > > The features from man include on,off,reboot,status,diag,list,monitor. > > There is no "set to boot from PXE". > I believe that you will need to do this manually. > > > > On 08/05/2015 05:36 AM, Jennifer Patrick wrote: > > Just having some woes with making fence_ipmilan work with some Supermicro > servers (Don't say use the supermicro IPMI Tool, we're trying to get around > that.) > > The problem is, using fence_ipmilan, we can initiate a boot (off then on) > from the web GUI, or from the CLI via... > > > *# cobbler system reboot --name=test123* > *task started: 2015-08-05_092815_power* > *task started (id=Power management (reboot), time=Wed Aug 5 09:28:15 > 2015)* > *cobbler power configuration is:* > * type : ipmilan* > * address: 192.168.1.5* > * user : user* > * id :* > *running: /usr/sbin/fence_ipmilan* > *running: /usr/sbin/fence_ipmilan* > *received on stdout: Powering off machine @ IPMI:**192.168.1.5**...Failed* > > *received on stderr:* > *running: /usr/sbin/fence_ipmilan* > *received on stdout: Powering off machine @ IPMI:**192.168.1.5**...Done* > > *received on stderr:* > *cobbler power configuration is:* > * type : ipmilan* > * address: **192.168.1.5* > * user : user* > * id :* > *running: /usr/sbin/fence_ipmilan* > *received on stdout: Powering on machine @ IPMI:**192.168.1.5**...Failed* > > *received on stderr: ipmilan: Power still off* > > *running: /usr/sbin/fence_ipmilan* > *received on stdout: Powering on machine @ IPMI:192.168.1.5...Done* > > *received on stderr:* > **** TASK COMPLETE **** > > So that's great. My real question comes from the fact that I can't make > cobbler set these machines to reboot via the Web GUI to Netboot/PXE. It > just seems to never issue the right command via fence_ipmilan (which > actually uses IPMITOOL) > > I can do it fine in IPMITOOL: > > * ipmitool -H 192.168.1.5 -U user -I lanplus -P password chassis bootdev > pxe ipmitool -H 192.168.1.5 -U user -I lanplus -P password chassis power > reset * > > And the system reboots into PXE boot mode. > > So is there something I have to mangle in > /etc/cobbler/fence_ipmilan.template? > > Something Else? > > All help is appreciated. > > Thanks. > > JLP > > > _______________________________________________ > cobbler mailing > [email protected]https://lists.fedorahosted.org/mailman/listinfo/cobbler > > > > -- > Alvin Starr || voice: (905)513-7688 > Netvel Inc. || Cell: (416)[email protected] > || > > > _______________________________________________ > cobbler mailing list > [email protected] > https://lists.fedorahosted.org/mailman/listinfo/cobbler > > -- [image: Dyn logo, Dyn.com] <http://dyn.com/> <http://twitter.com/dyn> <http://twitter.com/dyninc>[image: Dyn facebook account] <http://facebook.com/dyn> <http://twitter.com/dyninc>[image: Dyn LinkedIn account] <http://linkedin.com/company/dyn> Jennifer Patrick / Sr. Systems Engineer 617-335-6284
_______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
