教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 政务民生 >

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

来源:网络收集 时间:2026-01-17
导读: 4.管理底盘chassis配置 [root@cell83 ~]#ipmitool -I open chassis help Chassis Commands: status, power, identify, policy, restart_cause, poh, bootdev, bootparam, selftest 4.1查看底盘配置汇总 [root@cell8

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 [clear-cmos=yes|no] bootdev [options=help,...]

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 [options=...] Legal devices are:

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 [option...]

commands: lcd mac lan setled

powermonitor vFlash

For help on individual commands type: delloem help

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 Enabl …… 此处隐藏:2926字,全部文档内容请下载后查看。喜欢就下载吧 ……

ipmitool工具常用命令汇总(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/447129.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)