常用的 IPMI 命令

可使用 IPMI 命令为 KVM 系统执行若干管理任务。

表 1. 常用的 IPMI 命令
命令选项 描述
ipmitool -I lanplus -H myserver.example.com -P mypass chassis power on 打开服务器的电源
ipmitool -I lanplus -H myserver.example.com -P mypass chassis power off 关闭服务器的电源
ipmitool -I lanplus -H myserver.example.com -P mypass chassis status 检查服务器状态
ipmitool -I lanplus -H myserver.example.com -P mypass chassis power cycle 关闭服务器的电源,然后重新打开
ipmitool -I lanplus -H myserver.example.com -P mypass sol activate 激活 SOL 系统控制台
ipmitool -I lanplus -H myserver.example.com -P mypass sol deactivate 取消激活 SOL 系统控制台
ipmitool -I lanplus -H myserver.example.com -P mypass sel list 返回错误日志
ipmitool -I lanplus -H myserver.example.com -P mypass sdr list 列示所有传感器的状态
ipmitool -I lanplus -H myserver.example.com -P mypass sol set retry-interval value 设置缺省重试时间间隔值(以毫秒计)。
ipmitool -I lanplus -H myserver.example.com -P mypass fru print 打印 FRU 信息
ipmitool -I lanplus -H myserver.example.com -P mypass user list 列示 IPMI 用户