Revision 1 as of 2016-05-09 18:25:23

Clear message
Locked History Actions

IpmiRaiders

IPMI

Keywords

ipmi, ipmitool, raiders, linux, network, bmc, config

Install

# raiders1,5 / Ubuntu
sudo apt-get install ipmitool

Configure

# Enable the kernel modules, create devices, turn on OpenIPMI service
sudo service openipmi start
# Configure the network address
sudo ipmitool lan set 1 ipsrc static
sudo ipmitool lan set 1 ipaddr 192.168.75.2
sudo ipmitool lan set 1 netmask 255.255.255.0
##sudo ipmitool lan set 1 defgw 192.168.75.1
##sudo ipmitool lan set 1 defgw ipaddr 192.168.75.1
# Display the network config
sudo ipmitool lan print
# Set the password for the admin user
sudo ipmitool user set password 2 12BluePenguins
# Display user info
sudo ipmitool user list 1

Using ipmi

# Display chassis info
sudo ipmitool chassis status
# Display network config
sudo ipmitool lan print
# Power Cycle raiders1
ipmitool -I lan -U admin -H 192.168.75.2 chassis power cycle

Temporary access for raiders1,5

raiders1 bmc [192.168.75.2/24] => ilnfs3 onboard gbit2/eth4 [192.168.75.1/24] raiders5 bmc [192.168.76.2/24] => ilnfs3 onboard gbit0/eth2 [192.168.76.1/24]

# SETUP @ilnfs3
# Interfaces are not configured on boot
ifconfig eth2 192.168.76.1/24 up
ifconfig eth4 192.168.75.1/24 up

# TEST @ilnfs3
# raiders1
ipmitool -I lan -U admin -H 192.168.75.2 chassis status
# raiders5
ipmitool -I lan -U admin -H 192.168.76.2 chassis status

References

https://www.thomas-krenn.com/en/wiki/Configuring_IPMI_under_Linux_using_ipmitool

http://www.openfusion.net/linux/ipmi_on_centos