查看服务器设备信息
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin chassis status
查看用户
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin user list
增加新的用户
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin user set name 8 new
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin user list
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin user set password 8 new
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin user priv 8 20
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin user list
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U test1 -P new user list
使能和静止用户
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin user disable 8
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U test1 -P new user list
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin user enable 8
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U test1 -P new user list
查看服务器当前供电状态以及相关设置
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin power status
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin power on
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin power off
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin power cycle
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin power reset
查看服务器的传感器状态
所有传感器状态详细信息:
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin sensor
传感器SDR summary信息:
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin sdr info
传感器SDR 列表信息:
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin sdr list
FRU传感器SDR 列表信息:
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin sdr list fru
下载RAW SDR信息到文件:
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin sdr dump sdr.raw
查看服务器的FRU序列号信息
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin fru
/usr/bin/ipmitool -I lanplus -H xx.xx.xx.xx-U root -P admin fru print
系统下一次启动时为重启模式
ipmitool chassis bootdev pxe
ipmitool chassis power reset 硬重启
ipmitool chassis bootdev disk 从磁盘启动
ipmitool chassis bootdev cdrom 从光驱启动