4.管理底盘chassis配置
[root@cell83 ~]#ipmitool -I open chassis help Chassis Commands: status, power, identify, policy, restart_cause, poh, bootdev, bootparam, selftest
4.1查看底盘配置汇总
[root@cell83 ~]#ipmitool -I open chassis status System Power : on Power Overload : false Power Interlock : inactive Main Power Fault : false Power Control Fault : false Power Restore Policy : previous Last Power Event :
Chassis Intrusion : inactive Front-Panel Lockout : inactive Drive Fault : false Cooling/Fan Fault : false
Sleep Button Disable : not allowed Diag Button Disable : allowed Reset Button Disable : not allowed Power Button Disable : allowed Sleep Button Disabled: false Diag Button Disabled : true Reset Button Disabled: false Power Button Disabled: false
4.2管理电源
查看当前电源状态
[root@cell83 ~]#ipmitool -I open chassis power status Chassis Power is on
打开电源
ipmitool -I open chassis power on
关闭电源
ipmitool -I open chassis power off
重启电源
ipmitool -I open chassis power cycle
重置电源
ipmitool -I open chassis power reset
其他配置
ipmitool -I open chassis powerdiag ipmitool -I open chassis power soft
4.3管理时间间隔
查询时间间隔:
[root@cell83 ~]#ipmitool -I open chassis identify Chassis identify interval: default (15 seconds)
设置时间间隔:
[root@cell83 ~]#ipmitool -I open chassis identify help chassis identify
default is 15 seconds 0 to turn off
force to turn on indefinitely 4.4管理电源恢复策略
[root@cell83 ~]#ipmitool -I open chassis policy help chassis policy
list : return supported policies
always-on : turn on when power is restored
previous : return to previous state when power is restored always-off : stay off after power is restored
4.5查看上次重启原因
[root@cell83 ~]#ipmitool -I open chassis restart_cause System restart cause: unknown
4.6查询上电时间
[root@cell83 ~]#ipmitool -I open chassis poh
Get Chassis Power-On-Hours failed: Invalid command
4.7管理启动项
[root@cell83 ~]#ipmitool -I open chassis bootdev help bootdev
none : Do not change boot device order pxe : Force PXE boot
disk : Force boot from default Hard-drive
safe : Force boot from default Hard-drive, request Safe Mode diag : Force boot from Diagnostic Partition cdrom : Force boot from CD/DVD bios : Force boot into BIOS Setup
floppy: Force boot from Floppy/primary removable media
4.8设置启动项的参数
[root@cell83 ~]#ipmitool -I open chassis bootparam help bootparam get
bootparam set bootflag
none : No override force_pxe : Force PXE boot
force_disk : Force boot from default Hard-drive
force_safe : Force boot from default Hard-drive, request Safe Mode force_diag : Force boot from Diagnostic Partition force_cdrom : Force boot from CD/DVD force_bios : Force boot into BIOS Setup Legal options are:
help : print this message
PEF : Clear valid bit on reset/power cycle cause by PEF timeout : Automatically clear boot flag valid bit on timeout
watchdog: Clear valid bit on reset/power cycle cause by watchdog reset : Clear valid bit on push button reset/soft reset
power : Clear valid bit on power up via power push button or wake event Any Option may be prepended with no- to invert sense of operation
5.使用delloem进行管理
查看帮助
[root@cell83 ~]#ipmitool -I open delloem help
usage: delloem
commands: lcd mac lan setled
powermonitor vFlash
For help on individual commands type: delloem
5.1配置lcd
[root@cell83 ~]#ipmitool -I open delloemlcd help
Generic DELL HW:
lcd set {none}|{default}|{custom
Set LCD text displayed during non-fault conditions
iDRAC 11g or iDRAC 12g or iDRAC 13g :
lcd set {mode}|{lcdqualifier}|{errordisplay}
Allows you to set the LCD mode and user-defined string.
lcd set mode {none}|{modelname}|{ipv4address}|{macaddress}| {systemname}|{servicetag}|{ipv6address}|{ambienttemp} {systemwatt }|{assettag}|{userdefined}
Allows you to set the LCD display mode to any of the preceding parameters
lcd set lcdqualifier {watt}|{btuphr}|{celsius}|{fahrenheit}
Allows you to set the unit for the system ambient temperature mode.
lcd set errordisplay {sel}|{simple}
Allows you to set the error display.
lcd info
Show LCD text that is displayed during non-fault conditions
lcd set vkvm{active}|{inactive}
Set vKVM active and inactive, message will be displayed on lcd when vKVM is active and vKVM session is in progress
lcd set frontpanelaccess {viewandmodify}|{viewonly}|{disabled} Set LCD mode to view and modify, view only or disabled
lcd status
Show LCD Status for vKVM display
and Front Panel access mode {viewandmodify}|{viewonly}|{disabled}
5.2查看MAC地址
[root@cell83 ~]#ipmitool -I open delloem mac help
mac list
Lists the MAC address of LOMs
mac get
Shows the MAC address of specified LOM. 0-7 System LOM, 8- DRAC/iDRAC.
[root@cell83 ~]#ipmitool -I open delloem mac list
System LOMs
NIC Number MAC Address Status
0 b8:2a:72:db:56:2a Enabled 1 b8:2a:72:db:56:2b Enabled 2 b8:2a:72:db:56:28 Enabled 3 b8:2a:72:db:56:29 Enabled
iDRAC7 MAC Address b0:83:fe:c9:6d:31