Some basic steps for configuring IPMI from the cli for a supermicro server, but similar can be applied to any other.
Centos: yum install ipmitool.x86_64 modprobe ipmi_msghandler modprobe ipmi_devintf modprobe ipmi_si
FreeBSD: pkg install ipmitool echo 'ipmi_load="YES"' >> /boot/loader.conf kldload ipmi
Debian: modprobe ipmi_devintf; modprobe ipmi_si
bash# ipmitool lan set 1 ipsrc static bash# ipmitool lan set 1 ipaddr 192.168.1.211 Setting LAN IP Address to 192.168.1.211 bash# ipmitool lan set 1 netmask 255.255.255.0 Setting LAN Subnet Mask to 255.255.255.0 bash# ipmitool lan set 1 defgw ipaddr 192.168.1.254 Setting LAN Default Gateway IP to 192.168.1.254 bash# ipmitool lan set 1 arp respond on Enabling BMC-generated ARP responses bash# ipmitool lan set 1 auth ADMIN MD5 bash# ipmitool lan set 1 access on
Newer Supermicro IPMI interfaces come configured by default in “failover” mode which means that the IPMI will bind to either the dedicated IPMI NIC port or share with one the the machine NIC ports.
This can cause IPMI to payid withdrawal casinos australia come up on wrong NIC and hence be inaccessible if the dedicated NIC doesn’t detect a link.
You can use ipmitool to change this behavour
First query the current setting:
ipmitool raw 0x30 0x70 0x0c 0
The result will be one of the following
0x00 = Dedicated 0x01 = Onboard / Shared 0x02 = Failover
Next to configure it you can use one of the following.
For older models:
ipmitool raw 0x30 0x70 0x0c 1 1 0
For X9 and fairly new motherboards:
ipmitool raw 0x30 0x70 0x0c 1 0
Adding an extra user via the console
This assumes that this is the first new user other than the existing ADMIN
ipmitool -I open user set name 3 dave ipmitool -I open user set password 3 mypassword ipmitool -I open user priv 3 4 1