NE-ONE: How to set up the BMC/IPMI on Supermicro and do IPMI View

NE-ONE: How to set up the BMC/IPMI on Supermicro and do IPMI View

Where you see <username> and <password> use the credentials you have set.

If you do not know these please contact support.

Beginning November 2019, Supermicro will begin implementing a new security feature for the BMC firmware stack on all new X10, X11, H11, H12, and all future generation Supermicro products. Supermicro will no longer use the default password “ADMIN” for new devices or systems. All affected systems will begin to ship with a “Unique Pre-Programmed Password” for user admin on every hardware device with BMC.

https://www.supermicro.com/support/BMC_Unique_Password_Guide.pdf

Setting a Static IPMI address

Here are the commands:

  • Enter docker: sudo docker exec -it ippe bash

  • Turn off DHCP: /ippe/bin/ipmicfg -dhcp off

  • Set IPMI address: /ippe/bin/ipmicfg -m <ipaddress>

  • Set IPMI Gateway: /ippe/bin/ipmicfg -g <gwadddress>

  • Set IPMI Subnetmask: /ippe/bin/ipmicfg -k <subnetmask>

e.g.

root@NEONE-Enterprise:~$ /ippe/bin/ipmicfg -dhcp off

Successfully disable DHCP.

root @ NEONE -Enterprise:~$ /ippe/bin/ipmicfg -m 192.168.203.114

IP=192.168.203.114

root@ NEONE -Enterprise:~$ /ippe/bin/ipmicfg -g 192.168.203.1

Gateway=192.168.203.1

root@ NEONE -Enterprise:~$ /ippe/bin/ipmicfg -k 255.255.255.0

Subnet Mask=255.255.255.0

 

When the IPMI address, subnetmask and gateway are set they are immediately written to non volatile memory, unlike Cisco routers, for example, where a save to nv memory command is required.  We have verified this with a full removal of power from the system it retains the IPMI address you set.

Resetting your IPMI Password

Run the commands below to reset IPMI password.

  • sudo docker exec -it ippe bash

  • /ippe/bin/ipmicfg -user list

  •  /ippe/bin/ipmicfg -user setpwd <user ID> <new password>

How do you find the IPMI address if the system is booted into Linux?

Using Supermicro’s ipmicfg

From INE V9.0.3016 and NE-ONE V5.0.6 onwards we supply supermicro’s tool called ipmicfg in /ippe/bin/

You can find out the IP address, Mask and gateway (and set them with this tool).  Here are just a few commands from the tool’s -help option:

IPMICFG Version 1.31.1 (Build 200623)

Copyright(c) 2020 Super Micro Computer, Inc.

Usage: IPMICFG params (Example: IPMICFG -m 192.168.1.123)

 -help                      Display a list of commands

 -m                         Shows IPv4 address and MAC.

 -m <ip>                    Sets IPv4 address (format: ###.###.###.###).

 -a <mac>                   Sets MAC (format: ##:##:##:##:##:##).

 -k                         Shows Subnet Mask.

 -k <mask>                  Sets Subnet Mask (format: ###.###.###.###).

 -dhcp                      Gets the DHCP status.

 -dhcp on                   Enables the DHCP.

 -dhcp off                  Disables the DHCP.

 -g                         Shows a Gateway IP.

 -g <gateway>               Sets a Gateway IP (format: ###.###.###.###).

 

Example:

root@ NEONE -Enterprise:~$ /ippe/bin/ipmicfg -m

IP=192.168.202.47

MAC=AC:1F:6B:4A:E2:83

root@ NEONE -Enterprise:~$ /ippe/bin/ipmicfg -k

Subnet Mask=255.255.255.0

root@ NEONE -Enterprise:~$ /ippe/bin/ipmicfg -g

Gateway=192.168.202.254

The command ipmicfg was downloaded from Supermicro’s support site; you get a package called: IPMICFG_1.31.1_build.200623.zip  it contains the documentation and lots of exe’s for Windows, Linux etc.  I just took the single exe from the Linux 64bit folder called IPMICFG-Linux.x86_64 and copied it to /ippe/bin/ as ipmicfg.

Using ipmitool - which is not installed as standard and needs the internet to install it

The command:

$ sudo ipmitool lan print  | grep "IP Address"

If you don’t have ipmitool installed then get it:

$ sudo apt-get update

$ sudo apt-get install ipmitool

Or you can use:

$ sudo /ippe/bin/ipmicfg -m from INE 9.0.3016 onwards and NE-ONE V5.0.6 onwards - see above

For INE version 8.5 or NE-ONE V4.x you can obtain ipmicfg directly from NE-ONE and will need to scp or sftp it to the system

On a modern Supermicro you can now web into the IPMI (BMC)

Default username/password ADMIN/ADMIN (yes - caps) as above

Beginning November 2019, Supermicro will begin implementing a new security feature for the BMC firmware stack on all new X10, X11, H11, H12, and all future generation Supermicro products. Supermicro will no longer use the default password “ADMIN” for new devices or systems. All affected systems will begin to ship with a “Unique Pre-Programmed Password” for user admin on every hardware device with BMC.

https://www.supermicro.com/support/BMC_Unique_Password_Guide.pdf

From the Jumphost you should now be able to web into the IPMI console:

And login (default user ADMIN, default password ADMIN) which gets you to the main IPMI screen.

Beginning November 2019, Supermicro will begin implementing a new security feature for the BMC firmware stack on all new X10, X11, H11, H12, and all future generation Supermicro products. Supermicro will no longer use the default password “ADMIN” for new devices or systems. All affected systems will begin to ship with a “Unique Pre-Programmed Password” for user admin on every hardware device with BMC.

https://www.supermicro.com/support/BMC_Unique_Password_Guide.pdf

NOTE on this screen you’ll see the term BMC (Baseboard Management Controller) referenced - for this purpose this is equivalent to the IPMI

And from the Remote Control Menu choosing iKVM/HTML5 gives:

Click the iKVM/HTML5 button and it will launch a new web browser window to the console itself:

Virtual Media

You don’t need a USB stick - but you do need a SMB server (Windows filesharing).  Set up the Virtual media like this:

Note the first folder in the path is your share name.  Dont forget to press [Save]

Then click [Mount] and check the Device 1 status (above) which should say: There is an ISO file mounted

Reboot the box using Power Controls in IPMI

Use Del to interrupt the boot

Choose USB CD/DVD:ATEN Virtual…  (Emulated USB CDROM)  as your first boot device:

Choose Save & Exit and it reboots using your chosen device.  Now install as though you were using USB or CDROM media