ipmitool工具常用命令汇总(3)

2019-04-13 22:09

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 Displays power consumption history

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 lower Set all lower thresholds at the same time

sensor thresh upper

Set all upper thresholds at the same time

6.3查看某一传感器的状态信息

[root@cell83 ~]#ipmitool -I open sensor get help sensor get ... [id]

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]

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 [options]

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]

Retrieve the state of specified sensor. Sensor_Type can be specified either as

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 Load SDR repository from a file

range Load SDR repository from a provided list or range. Use ',' for list or '-' for range, eg. 0x28,0x32,0x40-0x44

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


ipmitool工具常用命令汇总(3).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:2016心理学题库及参考答案

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: