Brief
We can set our IPMI just with IPMITOOL.
Installation IPMITOOL
apt update -y
apt install -y ipmitool
Create User
- Assume username is
user_admin
- Assume password is
helloworld
ipmitool user list
ipmitool user set name 1 user_admin
ipmitool user set password 1 helloworld
ipmitool user enable 1
ipmitool channel setaccess 2 1 callin=on ipmi=on link=on privilege=4
HPE
- Assume Ip Addr we set is
172.20.255.253/16
with default Gateway172.20.0.1
ipmitool lan set 2 ipsrc static
ipmitool lan set 2 ipaddr 172.20.255.253
ipmitool lan set 2 netmask 255.255.0.0
ipmitool lan set 2 defgw ipaddr 172.20.0.1
ipmitool lan set 2 vlan id 0
ipmitool lan set 2 arp respond on
ipmitool lan set 2 snmp public
ipmitool lan set 2 auth ADMIN MD2,MD5,PASSWORD
ipmitool lan set 2 access on
ipmitool mc reset cold
- Access on
https://172.20.255.253
IBM
- Assume Ip Addr we set is
172.20.255.254/16
with default Gateway172.20.0.1
ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr 172.20.255.254
ipmitool lan set 1 netmask 255.255.0.0
ipmitool lan set 1 defgw ipaddr 172.20.0.1
ipmitool lan set 1 arp respond on
ipmitool lan set 1 snmp public
ipmitool lan set 1 auth ADMIN MD2,MD5,PASSWORD
ipmitool lan set 1 access on
ipmitool mc reset cold
- Access on
http://172.20.255.254
Reference
- https://portal.nutanix.com/page/documents/kbs/details?targetId=kA0600000008db6CAA
- https://computingforgeeks.com/how-to-configure-hp-proliant-ilo-ipmi-ip-address-via-esxi-cli/
- https://svennd.be/set-ipmi-to-use-dhcp/
- https://portal.nutanix.com/page/documents/kbs/details?targetId=kA0600000008db6CAA
- https://docs.oracle.com/en/database/oracle/oracle-database/19/cwlin/example-of-bmc-configuration-using-ipmitool.html#GUID-11E563E0-3688-4FE9-8440-81402A7AC23A
- https://www.tyler-wright.com/setup-ilo-network-settings-via-ipmitool/