5.3设置lan的模式
[root@cell83 ~]#ipmitool -I open delloemlan help
lan set
sets the NIC Selection Mode : on iDRAC12g OR iDRAC13g :
dedicated, shared with lom1, shared with lom2,shared with lom3,shared
with lom4,shared with failover lom1,shared with failover lom2,shared
with failover lom3,shared with failover lom4,shared with Failover all
loms, shared with Failover None). on other systems :
dedicated, shared, shared with failover lom2, shared with Failover all loms.
lan get
on iDRAC12g or iDRAC13g :
returns the current NIC Selection Mode (dedicated, shared with lom1, shared
with lom2, shared with lom3, shared with lom4,shared with failover lom1,
shared with failover lom2,shared with failover lom3,shared with failover
lom4,shared with Failover all loms,shared with Failover None). on other systems :
dedicated, shared, shared with failover, lom2, shared with Failover all loms.
lan get active
returns the current active NIC (dedicated, LOM1, LOM2, LOM3, LOM4).
5.4设置背板led的状态
[root@cell83 ~]#ipmitool -I open delloemsetled help
setled
Set backplane LED state
b:d.f = PCI Bus:Device.Function of drive (lspci format) state = present|online|hotspare|identify|rebuilding|
fault|predict|critical|failed 5.5管理电源监控
[root@cell83 ~]#ipmitool -I open delloempowermonitor help
powermonitor
Shows power tracking statistics
powermonitor clear cumulativepower Reset cumulative power reading
powermonitor clear peakpower Reset peak power reading
powermonitorpowerconsumption
Displays power consumption in
powermonitorpowerconsumptionhistory
powermonitorgetpowerbudget
Displays power cap in
powermonitorsetpowerbudget
Allows user to set the power cap in
powermonitorenablepowercap To enable set power cap
powermonitordisablepowercap To disable set power cap
6.查看传感器数据sensor
[root@cell83 ~]#ipmitool -I open sensor help Sensor Commands: list thresh get reading
6.1查看当前系统所有的传感器数据
[root@cell83 ~]#ipmitool -I open sensor list
6.2设置传感器的告警阈值
[root@cell83 ~]#ipmitool -I open sensor thresh help sensor thresh
id : name of the sensor for which threshold is to be set threshold : which threshold to set unr = upper non-recoverable ucr = upper critical unc = upper non-critical lnc = lower non-critical lcr = lower critical
lnr = lower non-recoverable
setting : the value to set the threshold to
sensor thresh
sensor thresh
Set all upper thresholds at the same time
6.3查看某一传感器的状态信息
[root@cell83 ~]#ipmitool -I open sensor get help sensor get
id : name of desired sensor
查看温度传感器
[root@cell83 ~]#ipmitool -I open sensor get Temp Locating sensor record...
Sensor ID : Temp (0xe) Entity ID : 3.1
Sensor Type (Threshold) : Temperature
Sensor Reading : 48 (+/- 1) degrees C Status : ok Lower Non-Recoverable :na
Lower Critical : 3.000 Lower Non-Critical : 8.000
Upper Non-Critical : 79.000 Upper Critical : 84.000 Upper Non-Recoverable :na
Positive Hysteresis : 1.000 Negative Hysteresis : 1.000 Assertion Events : Assertions Enabled :
6.4查看某一个传感器的当前值
[root@cell83 ~]#ipmitool -I open sensor reading help sensor reading
id : name of desired sensor
查看温度传感器
[root@cell83 ~]#ipmitool -I open sensor reading Temp Temp | 47
7.管理传感器仓库sdr
[root@cell83 ~]#ipmitool -I open sdr help usage: sdr
list | elist [option]
all All SDR Records full Full Sensor Record compact Compact Sensor Record event Event-Only Sensor Record mcloc Management Controller Locator Record fru FRU Locator Record
generic Generic Device Locator Record
type [option]
a string or a hex value.
list Get a list of available sensor types
get
Retrieve state of the first sensor matched by Sensor_ID
info
Display information about the repository itself
entity
Display all sensors associated with an entity
dump
Dump raw SDR data to a file
fill
sensors Creates the SDR repository for the current configuration
nosat Creates the SDR repository for the current
configuration, without satellite scan file
range
7.1查看传感器仓库中的信息列表
[root@cell83 ~]#ipmitool -I open sdrelist help
usage: sdrelist [all|full|compact|event|mcloc|fru|generic]
=>查看仓库中所有的信息:elist和list的格式内容上略有不同 [root@cell83 ~]#ipmitool -I open sdrelist all [root@cell83 ~]#ipmitool -I open sdr list all
=>查看传感器的数据
[root@cell83 ~]#ipmitool -I open sdrelist full Fan1 RPM | 30h | ok | 7.1 | 6240 RPM Fan2 RPM | 31h | ok | 7.1 | 6240 RPM Fan3 RPM | 32h | ok | 7.1 | 6240 RPM Fan4 RPM | 33h | ok | 7.1 | 6120 RPM Fan5 RPM | 34h | ok | 7.1 | 6240 RPM Fan6 RPM | 35h | ok | 7.1 | 6240 RPM Inlet Temp | 04h | ok | 7.1 | 35 degrees C Exhaust Temp | 01h | ok | 7.1 | 40 degrees C Temp | 0Eh | ok | 3.1 | 47 degrees C Temp | 0Fh | ok | 3.2 | 46 degrees C