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 alvin@netvel.net 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 listcobbler@lists.fedorahosted.orghttps://lists.fedorahosted.org/mailman/listinfo/cobbler
-- Alvin Starr || voice: (905)513-7688 Netvel Inc. || Cell: (416)806-0133alvin@netvel.net ||
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler