How to re-configure /configure IPMI using ipmitool in ESXi

March 19, 2020 at 1:11 pm 2 comments

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.

How can I create a disk partition on a disk that is greater than 2TB in size on Red Hat Enterprise Linux? VMware PowerCLI

2 Comments Add your own

  • 1. Wai Wong's avatar Wai Wong  |  January 15, 2024 at 1:58 pm

    That’s very useful as my nutanix esxi host lose all the ipmi configuration during the Nutanix LCM BCM refresh so i have to config them all manually via the CVM and esxi host. Thank you so much for your post and help

    Reply
    • 2. Muralee's avatar Muralee  |  January 16, 2024 at 8:11 am

      Hi Wai

      I am glad to know that it was useful and thank you for acknowledging.

      Regards
      Muralee

      Reply

Leave a reply to Wai Wong Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Trackback this post  |  Subscribe to the comments via RSS Feed


Archives

Categories

Follow Hope you like it.. on WordPress.com

Blog Stats

  • 92,856 hits