ipmitool工具常用命令汇总(2)
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 Enabl …… 此处隐藏:2926字,全部文档内容请下载后查看。喜欢就下载吧 ……
相关推荐:
- [政务民生]2013年公共基础知识热点问题(七)
- [政务民生]检验检测机构资质认定评审准则及释义20
- [政务民生]关于印发重庆市房屋建筑和市政基础设施
- [政务民生]1、隧道洞身开挖支护施工技术交底书
- [政务民生]2015年山东省17地市中考语文试题分类汇
- [政务民生]2-高级会计师资格考试和评审流程图
- [政务民生]2018版中国清分机行业发展分析及前景策
- [政务民生]新课改高中政治探究
- [政务民生]2018-2024年中国新型组合房屋行业投资
- [政务民生]2015年上海市春季高考数学模拟试卷五
- [政务民生]灌砂法及环刀法测压实度(带计算过程)
- [政务民生]运筹学实验2求解非线性规划
- [政务民生]劝学、逍遥游默写(教师卷)
- [政务民生]《运筹学》 - 期末考试 - 试卷A - 答案
- [政务民生]八年级英语下册 Module 6 Hobbies测试
- [政务民生]2019年宪法知识竞赛试题库100题(含答
- [政务民生]自动化英文文献翻译
- [政务民生]公文格式实施细则
- [政务民生]高一地理上册课堂跟踪练习题6
- [政务民生]会计继续教育习题及答案
- 第三章 无约束最优化方法
- 泛读教程第三册答案
- 魏晋南北朝文学
- 幂的运算复习题
- 城市环境问题的成因与治理策略_以社会
- 钢结构行业产业链及竞争分析研究
- 新型热塑性弹性体增韧聚丙烯的研究
- 中国旅游地理B卷试题及答案
- (苏教版)五年级数学上册第三单元测试卷
- 不稳定性心绞痛诊断与治疗
- 俞氏国际后勤职能部门绩效考核办法
- GB7258-2017新标准考试题含答案
- 小学生汉字听写比赛活动方案
- 1.3《平抛运动》学案 教科版必修2
- 2011香港特别行政区公务员考试复习资料
- 考虑水力条件变化的城市给水管网可靠性
- 表面活性剂在油田开发和生产中的应用
- ITT内部培训资料-FI端吸泵的介绍
- 文明守纪,从我做起学生发言稿
- 初中读《聊斋志异》心得体会800字范文




