Professional Documents
Culture Documents
Table of Contents
1. Setting Up IPMI ........................................................................................................................................................2 1.1. Introduction ....................................................................................................................................................2 1.2. Pre-requisites ..................................................................................................................................................2 1.3. Denitions ......................................................................................................................................................2 1.4. Building and Installing ipmi...........................................................................................................................2 1.5. Testing the Installation ...................................................................................................................................3 1.6. Setting IPMI to Start at Boot..........................................................................................................................3 2. Setting up Serial Over LAN .....................................................................................................................................4 2.1. BIOS settings..................................................................................................................................................4 2.2. Kernel Console Setup.....................................................................................................................................4 2.3. Setting up Login Permissions.........................................................................................................................4 2.4. Adding agetty to /etc/inttab ............................................................................................................................4 2.5. Discard Port 623/UDP....................................................................................................................................5 2.6. Activating SOL in ipmitool ............................................................................................................................5
1. Setting Up IPMI
1.1. Introduction
This document outlines the installation and setup of IPMI and console redirection as well as serial login using IPMI Serial Over LAN.
1.2. Pre-requisites
You must have a machine that supports IPMI. If you have any questions about the compatibility of your hardware with IPMI please contact Penguin Computing Technical Support. You must have ipmitool version 1.8.3 minimum (http://ipmitool.sf.net) and Sol_Cong.sh (available from Penguin Computing Technical Support.) The example in this document uses ipmitool version 1.8.6, available from the ipmitool project page or from Penguin Computing Technical Support.
1.3. Denitions
IPMI Intelligent Platform Management Interface or IPMI is an open standard designed to Enable remote monitoring and control of the server platform. The IPMI specication was originally proposed in 1998 and is now mainstream.
BMC The Baseboard Management Controller (BMC) is the small processor embedded into the server platform. It operates independently of the host processor in order to extend the systems management. The BMC provides remote power reset, sensor monitoring and event handling.
Setting up IPMI and Serial Over LAN on Red Hat Enterprise Linux 3 and 4
3. Load the IPMI Modules For RHEL 3 (2.4 kernel) modprobe ipmi_kcs_drv modprobe ipmi_devintf For RHEL 4 (2.6 kernel) modprobe ipmi_si modprobe ipmi_devintf
4. Create the IPMI Device mknod /dev/ipmi0 c cat /proc/devices | grep ipmidev | awk {print $1} 0 To congure you server for ipmi and serial over LAN you should run SolCong.sh ./SolCong.sh -A eth0
Setting up IPMI and Serial Over LAN on Red Hat Enterprise Linux 3 and 4
Warning
Dont try to use ipmitool directly to set the network conguration. Some versions pause before actually applying changes and if you set multiple things at once you can put the BMC in an undened state. For best results use the Sol_Config.sh script instead. If it is necessary to reset the BMC, unplug the system for 10 seconds.
Append the following to any "kernel" lines. The ttyS0 value should match your Console Serial Device attribute value:
console=ttyS0,9600n8 console=tty0
Setting up IPMI and Serial Over LAN on Red Hat Enterprise Linux 3 and 4
This causes init to run an agetty on the ttyS0 port at 9600 baud.
= = = = = = = =
You cannot log in as root. You must log in as a normal user (so be sure to create one).
Setting up IPMI and Serial Over LAN on Red Hat Enterprise Linux 3 and 4
Important Things to Consider: SOL is handled by the NIC and BMC. If you are connected to the console through SOL and the kernel panics you will see the panic output (assuming that youve congured the kernel to display messages to the serial port). The OS need not be on for IPMI to work. You can send the machine a command to power on/off and attach to the console to see the machine come up and log in if its been congured to do so. If you have congured everything properly and double checked your settings and you get this error when you try to connect:
Error: Unable to establish LAN session Get Device ID command failed Unable to open SDR for reading
It is possible that your BMC or rmware is out of date. Please contact Penguin Computing Technical Support for the latest rmware. You will need to have access to a USB key that you can install freedos on.