[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freeipmi-devel] Questions regarding auto discovery and workarounds for
From: |
Corey Osman |
Subject: |
[Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation |
Date: |
Sun, 22 Jul 2012 13:20:31 -0700 |
Hi,
My ruby implementation is off to a great start but I had a few questions with
regards to driver types and inband configuration.
Since I will have no idea as to what kind of IPMI device needs to be controlled
I need to make sure that everything appears automatic with regards to driver
types and any kind of workarounds.
My goal is to automatically detect driver type and workarounds to ease the pain
for folks who use the ruby-freeipmi library.
My current test device is an HP DL380 G5. I was hoping to have this device
automatically detected but it appears I need to supply the
--driver-type=LAN_2_0.
Although this is not really a problem as I am planning on doing some testing up
front as to which driver to explicitly assign.
However, I have noticed that when I call ipmi-chassis-config --checkout the
command appears to stall and doesn't provide all the information. Output below
How do I set the bios to boot from cdrom, usb and network? Also do I have a
choice of which network device I can boot from?
Can someone supply or document the commands I would use to set the boot device?
What boot options do I have available, as only Floppy is in the output?
Additionally, is this a one time boot setting or will it boot from the device
after every reboot.
Also, do I need to supply an inband option here?
Please feel free to have a look at my code and provide any suggestions. I have
written a README file to explain how things will work.
https://github.com/logicminds/ruby-freeipmi
Command line examples would be great as I can easily convert them to ruby calls.
#
# Section Chassis_Front_Panel_Buttons Comments
#
# The following configuration options are for enabling or disabling button
# functionality on the chassis. Button may refer to a pushbutton, switch, or
# other front panel control built into the system chassis.
#
# The value of the below may not be able to be checked out. Therefore we
# recommend the user configure all four fields rather than a subset of them,
# otherwise some assumptions on configure may be made.
#
Section Chassis_Front_Panel_Buttons
## Possible values: Yes/No
Enable_Standby_Button_For_Entering_Standby Yes
## Possible values: Yes/No
Enable_Diagnostic_Interrupt_Button Yes
## Possible values: Yes/No
Enable_Reset_Button Yes
## Possible values: Yes/No
Enable_Power_Off_Button_For_Power_Off_Only Yes
EndSection
#
# Section Chassis_Power_Conf Comments
#
# The following configuration options are for configuring chassis power
# behavior.
#
# The "Power_Restore_Policy" determines the behavior of the machine when AC
# power returns after a power loss. The behavior can be set to always power on
# the machine ("On_State_AC_Apply"), power off the machine
# ("Off_State_AC_Apply"), or return the power to the state that existed before
# the power loss ("Restore_State_AC_Apply").
#
# The "Power_Cycle_Interval" determines the time the system will be powered
down
# following a power cycle command.
#
Section Chassis_Power_Conf
## Possible values:
Off_State_AC_Apply/Restore_State_AC_Apply/On_State_AC_Apply
Power_Restore_Policy Restore_State_AC_Apply
## Give value in seconds
## Power_Cycle_Interval
EndSection
#
# Section Chassis_Boot_Flags Comments
#
# The following configuration options are for configuring chassis boot
behavior.
# Please note that some fields may apply to all future boots while some may
only
# apply to the next system boot.
#
# "Boot_Flags_Persistent" determines if flags apply to the next boot only or
all
# future boots.
#
# "Boot_Device" allows the user to configure which device the BIOS should boot
# off of. Most users may wish to select NO-OVERRIDE to select the configuration
# currently determined by the BIOS. Note that the configuration value
BIOS-SETUP
# refers to booting *into* the BIOS Setup, not from it. FLOPPY may refer to any
# type of removeable media.
#
----- This is all that is returned
Corey Osman
address@hidden
Green IT and Datacenter Automation Specialist
- [Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation,
Corey Osman <=
- Re: [Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation, Al Chu, 2012/07/23
- Re: [Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation, Corey Osman, 2012/07/29
- Re: [Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation, Corey Osman, 2012/07/29
- Re: [Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation, Al Chu, 2012/07/29
- Re: [Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation, Corey Osman, 2012/07/29
- Re: [Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation, Al Chu, 2012/07/29
- Re: [Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation, Corey Osman, 2012/07/29
- Re: [Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation, Al Chu, 2012/07/30
- Re: [Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation, Jim Mankovich, 2012/07/30
- Re: [Freeipmi-devel] Questions regarding auto discovery and workarounds for ruby implementation, Al Chu, 2012/07/30