How to setup IPMI on an appliance.
The IPMI-LAN interface can be used to remotely monitor and manage your Unitrends Appliance, this includes Power State, Sensor Monitoring & Alerting, This Out-of-Band Management solution gives you remote console access similar a to Network Enabled KVM, iDRAC, iLO) using an integrated baseboard management controller.
Use these instructions to enable and configuration IPMI on your system if it has the IPMI module or interface.
IPMI Set Up on OS eth0 NIC
Even if the OS is hung or not accessible, the system can be remotely diagnosed and/or restarted with IPMI LAN. Enable IPMI LAN on the appliance via local access, with one of these three methods:
- Option 1. Network Setup
- Option 3. Configure IPMI LAN
- Configure the IPMI LAN IP address, netmask, gateway and the password for the user ADMIN.
BIOS Settings: Reboot and press DEL during boot (password is backup), then select Advanced and IPMI or BMC option.
See IPMI-LAN Configuration from BIOS for Remote Management for details.
SSH via Command Line: You can use the command ipmiutil or ilan to configure IPMI. Below is an example of a command string used to fully configure IPMI: (ENSURE YOU CHOOSE AND SET A SECURE PASSWORD!)
ilan -e -I 192.168.106.14 -S 255.255.255.0 -G 192.168.106.1 -H 00:17:C5:B6:13:C8 -u ADMIN -p <yourChosenPassword> -y 2
-e = Enabled (-d to disable)
-I = IP Address -S = Subnet Mask -G = Router Gateway (IP v4)
-H = MAC Address of Router (only required for some routers)
-u = Username (Case sensitive and the default is ADMIN)
-p = Password (Case sensitive and the default is ADMIN)
-y = Interface connection (0=dedicated | 1=shared | 2=failover)
NOTE: If the option –y is not available (version < 2.9.1), you can choose using the smcoem lanport text value:
[[email protected] ~]# ipmiutil smcoem lanport failover
NOTE: The default user is ADMIN, and the default password is ADMIN. Choosing a different password is recommended (done when you use the -p option and specify the password).
(See note below additional options assigning the IPMI settings and port options.)
IPMI Set Up on Dedicated NIC (with setup via BIOS)
- Locate the IPMI port on the back of the appliance. There may be a black plug that needs to be popped out from the back, or it may be covered by a silver metal tab. In some cases, you may need to remove the top cover to push the plug out. This can be easily done with a flat head screwdriver.
- Plug in an ethernet cable from the appliance to the switch.
- On reboot of the appliance, press the Delete key to pull up the BIOS.
- The default password to enter is "backup"
- Go into the Advanced settings, then IPMI Configuration, then Set LAN Configuration. Enable IPMI, giving it a valid IP address.
- Once IPMI settings are enabled, connect a browser to the IP that was just given (e.g. http://192.168.134.52) to use the SuperMicro IPMI web menus. This includes the KVM Console function.
- Login with id: ADMIN / pw: ADMIN
- Once logged in to IPMI, go to the Remote Control tab and choose Console Redirection, then Launch Console.
To disable IPMI LAN and set its IP to 0.0.0.0 run this:
ipmiutil lan –d
Password reset without an Operating System.
IPMI does not have a jumper that allows you to clear the password, and the Motherboard BIOS does not offer the option to reset it. The only option is through the program called IPMICFG, which needs an OS to work from.
The steps below will show you how to create a bootable USB Flash Thumb Drive with Free-DOS with the IPMICFG program and files it in:
- Create a bootable DOS USB stick using Rufus.
- Download the latest IPMICFG utility released by Supermicro.
- Extract the archive and copy the contents of the 'DOS' folder on to your bootable DOS USB.
- Boot your server into DOS and navigate to the 'DOS' folder you copied on to the USB.
- Get the user ID of the IPMI user whose password you want to set:
ipmicfg -user list
Set a new password for that user (the ADMIN user typically has an ID of 2). Change the your_password_here to what you want (the default is ADMIN):
ipmicfg -user setpwd 2 your_password_here
- Login to the IPMI web GUI using the user of ADMIN and the password you just entered in step 6 above.
IPMI has three options - Failover, Shared (or On-Board), and Dedicated.
If you choose the On-Board or Failover, the only other port that IPMI use (other than the dedicated one) is LAN port 1. The other LAN ports on 2,3, or 4 are not wired for IPMI functionalities.