Tuesday, November 27, 2012

IPMI SOL, newer AMI BIOS, and CentOS 6

SOL means "serial over LAN", but there are some similarities to the more popular interpretation. Here's the combination to get everything working with newer American Megatrends Inc. BIOSs.  First, set up the BIOS by enabling the "Serial Port for Out-of-Band Management/Windows Emergency Management Services (EMS)":
You don't need to customize anything in the Settings, but here's a screenshot anyway:
CentOS (well, and Redhat) 6 changed the configuration of serial ports from using /etc/inittab to using files in /etc/init.  So, create a /etc/init/ttyS1.conf that contains:
# ttyS1 - agetty
#
# This service maintains a agetty on ttyS1.

stop on runlevel [S016]
start on runlevel [23]

respawn
exec agetty /dev/ttyS1 19200 vt102
Do a "initctl start ttyS1" to start the getty.  Add ttyS1 to /etc/sercuretty if you want to allow root logins on that port (that bit didn't change).  You should then be able to use ipmitool for all your SOL needs.

No comments: