IPMI

From Wikitech
(Difference between revisions)
Jump to: navigation, search
m (Initial Setup)
Line 1: Line 1:
 +
== In General ==
 +
IPMI is how we remotely manage our servers at the lower levels. It allows things like startups, shutdowns, sensors, and serial console access. All servers that have IPMI cards have an ip according to [[Management IPs]]. The username is always ADMIN and the password is always ADMIN.
 +
 
== Initial Setup ==
 
== Initial Setup ==
 
*Take any server, insert the SuperMicro IPMI cd, reboot.
 
*Take any server, insert the SuperMicro IPMI cd, reboot.
Line 6: Line 9:
 
== Controlling A Server ==
 
== Controlling A Server ==
 
=== The GUI way ===
 
=== The GUI way ===
java -jar IPMIview.jar
+
java -jar IPMIview.jar <br>
 
IPMIview is pretty self explainitory.  
 
IPMIview is pretty self explainitory.  
  
 
=== The CLI way ===
 
=== The CLI way ===
use SuperMicro's provided ipmicli.
+
use SuperMicro's provided ipmicli. There is also a 64 bit version available.
./ipmicli
+
 
open (ip address)
+
*./ipmicli
(Type help for all available commands)
+
*open (ip address)
 +
*(Type help for all available commands)
  
 
=== IPMI tool ===
 
=== IPMI tool ===

Revision as of 06:06, 1 November 2006

Contents

In General

IPMI is how we remotely manage our servers at the lower levels. It allows things like startups, shutdowns, sensors, and serial console access. All servers that have IPMI cards have an ip according to Management IPs. The username is always ADMIN and the password is always ADMIN.

Initial Setup

  • Take any server, insert the SuperMicro IPMI cd, reboot.
  • Choose "IPMI 2.0" -> "RCMP" -> "H8DAR-T Rev. 2.0 or later" (On the third page).
  • After its done flashing, run ipnmac.exe. Type in the ip address you want for the interface. And retype the MAC.

Controlling A Server

The GUI way

java -jar IPMIview.jar
IPMIview is pretty self explainitory.

The CLI way

use SuperMicro's provided ipmicli. There is also a 64 bit version available.

  • ./ipmicli
  • open (ip address)
  • (Type help for all available commands)

IPMI tool

Ipmitool can be used to configure and use the IPMI cards. We need version 1.8.8 or later.

The IPMI card can be used from the host machine itself, or from the network. To use the card from the host machine, the IPMI drivers from a recent 2.6 kernel are required. We use 2.6.17.3 with good results.

Initial configuration needs to be done from the host machine, because the network settings need to be sensible before network access is possible.

Our machines are made by Supermicro, which means that the IPMI ethernet controller is actually a separate ethernet controller that shares one of the onboard network sockets. As a consequence, the IPMI interface needs to have a separate IP and MAC address from the onboard ethernet controller the OS sees.

The wire is shared with the first NIC on the mb, which has the lowest MAC address. The NIC is also marked as eth1 in the back of the machine. It's the left one if you stand behind the machine.


 IPMI_PASSWORD=<yourpassword> ./ipmitool -H <ipmi_box_ip> -I lan -U ADMIN -E lan print

SOL: bios is set to COM2, 19200n8

 IPMI_PASSWORD=<yourpassword> ./ipmitool -H <ipmi_box_ip> -I lanplus -U ADMIN -E sol activate

Error: Unable to establish IPMI v2 / RMCP+ session Error: No response activating SOL payload

This is an ipmitool v1.8.8/v1.8.9rc1 problem. With the ipmicli tool from supermicro, remote serial just works. There is a caveat: after the bios is done, and hands over to grub, you won't see the 'press any key...' prompt because of redrawing issues. Just press a key for the grub menu!

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox