ipmitool centos
时间: 2023-10-11 15:12:45 浏览: 118
ipmitool是一个在CentOS系统下进行IPMI(Intelligent Platform Management Interface)管理的工具。在CentOS 7系统下配置管理IP的步骤如下:
1、下载安装ipmitool:
# yum -y install ipmitool
2、加载内核模块:
# modprobe ipmi_msghandler
# modprobe ipmi_devintf
# modprobe ipmi_si
3、查看ipmi用户名:
# ipmitool user list 1
4、设置IP和网关:
# ipmitool lan set 1 ipaddr 192.168.0.9
# ipmitool lan set 1 netmask 255.255.255.0
# ipmitool lan set 1 defgw ipaddr 192.168.0.1
如果你需要在物理机上部署ipmitool环境,可以按照以下步骤进行:
1、安装相关软件:
# yum install -y OpenIPMI ipmitool
2、加载模块:
# modprobe ipmi_watchdog
# modprobe ipmi_poweroff
# modprobe ipmi_devintf
# modprobe ipmi_msghandler
# modprobe ipmi_si
3、启动服务:
# systemctl start ipmievd.service
# systemctl status ipmievd.service
阅读全文