安装 IPMITool
- yum -y install ipmitool
启动相应驱动模块
- modprobe ipmi_msghandler
- modprobe ipmi_devintf
- modprobe ipmi_si
- modprobe ipmi_poweroff
- modprobe ipmi_watchdog
修改密码
- #修改用户1 root 的密码为 abcdefg
- ipmitool user set password 1 abcdefg
- #修改用户2 admin 的密码为 abcdefg
- ipmitool user set password 2 abcdefg
其它功能
- #恢复默认值
- ipmitool raw 0x32 0x66
- #设置IPMI为静态IP模式
- ipmitool lan set 1 ipsrc static
- #设置IPMI IP地址
- ipmitool lan set 1 ipaddr 192.168.0.1
- #设置IPMI 子网掩码
- ipmitool lan set 1 netmask 255.255.255.0
- #设置IPMI 网关
- ipmitool lan set 1 defgw ipaddr 192.168.0.1