Oracle® ILOM 协议管理参考(适用于 SNMP 和 IPMI)(固件发行版 3.2.x)

退出打印视图

更新时间: 2015 年 6 月
 
 

IPMItool 实用程序和命令摘要

可以从以下位置下载 IPMItool 实用程序:

http://ipmitool.sourceforge.net/

安装 IPMItool 软件包后,您可以从安装的手册页中访问关于命令用法和语法的详细信息。下表概述了可用的 IPMItool 命令。

表 7  IPMItool 命令
IPMI 命令
功能
sunoem sshkey set
为远程 shell 用户配置 SSH 密钥。
ipmitool sunoem sshkey del
从远程 shell 用户删除 SSH 密钥。
ipmitool sunoem led get
读取 LED 状态。
ipmitool sunoem led set
设置 LED 状态。
ipmitool sunoem cli
像直接使用 ILOM CLI 一样输入 ILOM CLI 命令。应使用 LAN/LANplus 接口。
ipmitool sunoem CLI force
从 ILOM 3.0.10 开始,可以调用 force 选项作为 sunoem CLI 命令的参数。
ipmitool raw
执行原始 IPMI 命令。
ipmitool lan print
输出给定通道的当前配置。
ipmitool lan set (1) (2)
在给定通道上设置给定参数。
ipmitool chassis status
显示有关系统机箱和主电源子系统的高级别状态的信息。
ipmitool chassis power
执行机箱控制命令以查看和更改电源状态。
ipmitool chassis identify
控制前面板标识灯。默认值是 15。使用 0 关闭。
ipmitool chassis restart_cause
查询机箱以找到系统最后一次重新启动的原因。
ipmitool chassis bootdev (1)
请求系统在下次重新引导时从备用引导设备引导。
ipmitool chassis bootparam (1)
设置主机引导参数。
ipmitool chassis selftest
显示 BMC 自检结果。
ipmitool power
返回 BMC 自检结果。
ipmitool event
将预定义事件发送到系统事件日志。
ipmitool sdr
查询 BMC 以获取传感器数据记录 (sensor data records, SDR),并提取给定类型的传感器信息,然后查询每个传感器并输出其名称、读数和状态。
ipmitool sensor
以宽表格式列出传感器和阈值。
ipmitool fru print
读取所有现场可更换单元 (field-replaceable unit, FRU) 清单数据,并提取序列号、产品号码、资产标记和说明机箱、主板或产品的短字符串等信息。
ipmitool sel
查看 ILOM SP 系统事件日志 (system event log, SEL)。
ipmitool pef info
查询 BMC 并输出有关 PEF 支持的功能的信息。
ipmitool pef status
输出当前 PEF 状态(由 BMC 处理的最后一个 SEL 条目等)。
ipmitool pef list
输出当前 PEF 状态(由 BMC 处理的最后一个 SEL 条目等)。
ipmitool user
显示用户 ID 信息摘要,包括最大用户 ID 数、启用的用户数和定义的固定名称数。
ipmitool session
获取有关指定的会话的信息。可通过会话的 ID、句柄编号、活动状态来指定会话,也可以使用关键字 "all" 来指定所有会话。
ipmitool firewall (1)
启用或禁用单个命令和命令子函数;确定可以在给定实现上配置哪些命令和命令子函数。
ipmitool set (1)
设置运行时选项,包括会话主机名、用户名、密码和特权级别。
ipmitool exec
通过文件名执行 IPMItool 命令。每行都是一个完整的命令。