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 list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


-- 
Alvin Starr                   ||   voice: (905)513-7688
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin@netvel.net              ||