![如何使用 ipmiutil 检查服务器的电源状态?](https://linux22.com/image/1588204/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%20ipmiutil%20%E6%A3%80%E6%9F%A5%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9A%84%E7%94%B5%E6%BA%90%E7%8A%B6%E6%80%81%EF%BC%9F.png)
我看着ipmi实用程序文档,
但我没有找到显示服务器电源状态的命令。
谁能告诉我如何检查服务器的电源状态?
编辑-01
我使用我的ipmiutil
命令检查我的服务器状态,我看到了Chassis Status = 10 00 00 ff
,这个数字是什么意思?
[dele@localhost ~]$ ipmiutil health -N 172.18.16.230 -U ADMIN -P ADMIN
ipmiutil health ver 3.13
BMC manufacturer = 000000 ( ), product = 0000
BMC version = 6.00, IPMI v5.4
IPMI driver type = 6 (lan)
Power State = 01 (S1: clock stopped, context ok)
Selftest status = 0010 (Error), last = 0010
Chassis Status = 10 00 00 ff (off, see below)
chassis_power = off, control error
pwr_restore_policy = stay_off
chassis_intrusion = inactive
front_panel_lockout = inactive
drive_fault = false
cooling_fan_fault = false
FP sleep_button_disable = allowed, button disabled
FP diag_button_disable = allowed, button disabled
FP reset_button_disable = allowed, button disabled
FP power_button_disable = allowed, button disabled
BMC LAN Channels =
Chan 1 AuthTypes = MD2 MD5 Straight_Passwd
ipmiutil health, completed successfully
答案1
您可以运行健康检查:
ipmiutil 健康 -N ip地址 -U 用户 -P 密码