# account
ipmitool user list
ipmitool user set password 2 password@123

# network
# show network
ipmitool lan print

# set to static and show network
ipmitool lan set 1 ipsrc static
ipmitool lan set 1  ipaddr 192.168.24.6
ipmitool lan set  1 netmask 255.255.252.0
ipmitool lan set  1 defgw ipaddr 192.168.27.254 ipmitool lan print

# 设置共享网口模式
ipmitool delloem lan set shared with lom1
ipmitool delloem lan set shared

检查运行日志

ipmitool sel list

SEL = System Event Log (系统事件日志)
显示系统的硬件事件历史记录,包括:硬件故障、电源事件、温度警告、风扇故障、其他系统关键事件。

ipmitool sdr list

SDR = Sensor Data Record (传感器数据记录)
显示当前系统所有传感器的实时状态,包括:CPU温度、系统温度、风扇转速、电压值、电源状态。用于监控服务器硬件的实时健康状况。

References

GNU_Linux

最后修改:2025 年 02 月 18 日
如果觉得我的文章对你有用,请随意赞赏