安装ipmi软件 yum install ipmitool OpenIPMI -y 加载到内核中 modprobe ipmi_watchdog modprobe ipmi_poweroff modprobe ipmi_devintf modprobe ipmi_si # 如果报错,则说明硬件不支持IPMI modprobe ipmi_msghandler

设置远控及改密码: ipmitool lan set 1 ipsrc static # 配置远控为静态 ipmitool lan set 1 ipaddr 10.10.10.10的 # 配置远控 IP ipmitool lan set 1 netmask 255.255.226.0 # 配置远控 掩码 ipmitool lan set 1 defgw ipaddr 10.10.10.1 # 配置远控 网关 ipmitool lan set 1 access on
ipmitool user set password 1 'xx' ipmitool user enable 1

ipmitool user list 1 # 列出用户 ipmitool user set name 1 admin # 设置用户名为admin ipmitool user set password 1 'xxxxx' # 设置用户密码 ipmitool user set password 2 'xxxxx' # 设置用户2 密码 ipmitool user enable 1 # 启动用户1 ipmitool user enable 2 # 启动用户2

重启重控 ipmitool -I lanplus -H 10.10.10.10 -U admin -P admin mc reset cold 从pxe启动 ipmitool -I lanplus -vvv -H 10.10.10.10 -U admin -P 'xxx' chassis bootdev pxe 从磁盘启动 ipmitool -I lanplus -vvv -H 10.10.10.10 -U admin -P 'xx' chassis bootdev disk 重启 ipmitool -I lanplus -H 10.10.10.10 -U root -P 'xx' power reset