IPMI

From Wikitech
Revision as of 06:03, 1 November 2006 by Solar (Talk | contribs)

Jump to: navigation, search

Contents

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. ./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