How to re-configure /configure IPMI using ipmitool in ESXi
March 19, 2020 at 1:11 pm Leave a comment
This post covers the steps needed to assign / change IP address for IPMI without logging in to IPMI Portal or restarting the server. The tool we are going to use is ipmitool builtin to ESXi.
To get the current IPMI IP Details
#/ipmitool lan print 1
[root@esxi]# /ipmitool lan set 1 ipsrc static
[root@esxi]# /ipmitool lan set 1 ipaddr x.x.x.x
Setting LAN IP Address to x.x.x.x
[root@esxi]# /ipmitool lan set 1 netmask x.x.x.x
Setting LAN Subnet Mask to x.x.x.x
[root@esxi]# /ipmitool lan set 1 defgw ipaddr x.x.x.x
Setting LAN Default Gateway IP to x.x.x.x
[root@esxi]# /ipmitool lan set 1 defgw macaddr xx:xx:xx:xx:xx:xx
Setting LAN Default Gateway MAC to xx:xx:xx:xx:xx:xx
[root@esxi]# /ipmitool lan set 1 arp respond on
Enabling BMC-generated ARP responses
[root@esxi]# /ipmitool lan set 1 snmp public
Setting LAN SNMP Community String to public
Change the IPMI Password
[root@esxi]# /ipmitool user list (Note down the user ID in mycase it is 2)
[root@esxi]# /ipmitool user set password 2
[root@esxi]# /ipmitool lan set 1 access on
Update1:
To recreate the SSL certificate(Incase if the IPMI Page self-signed certificate is expired
./ipmitool raw 0x30 0x68 0x0
Source:https://portal.nutanix.com/#page/kbs/details?targetId=kA0600000008db6CAA
Entry filed under: Nutanix.
Trackback this post | Subscribe to the comments via RSS Feed