如何使用 ipmiutil 检查服务器的电源状态?

如何使用 ipmiutil 检查服务器的电源状态?

我看着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 密码

相关内容