Server Serial-Over-LAN (SOL) Configuration and Access
This guide outlines the prerequisites and steps for establishing a connection to a server’s serial console using IPMI’s Serial-Over-LAN.
Prerequisites and Configuration
To ensure SOL connectivity, the following components must be correctly configured:
BIOS Configuration:
Enable the serial port;
Set the appropriate baud rate (typically defaults to
115200n8);Enable Serial Console Redirection.
GRUB Settings Configuration (for OS Output):
Edit the GRUB configuration file (
/etc/default/grub);Add the kernel parameter
console=ttyS0,115200n8;Note
The serial console baud rate must match the BIOS setting. A mismatch will prevent GRUB and OS output from appearing after the POST screen.
Remove the
quietkernel parameter if present.
Update GRUB:
Debian-based:
sudo update-grub2RHEL-based:
sudo grub2-mkconfig -o <GRUB BOOT CONF>
IPMI/BMC Serial Console Settings:
Verify and update the Serial-Over-LAN settings within the server’s IPMI/BMC interface (iLO for HPE, iDRAC for Dell).
Confirm IPMI Availability
Check the IPMI Management IP:
ipmitool lan print // Check for the "IP Address" fieldVerify Reachability:
Check that the IPMI management IP is reachable from the node that will initiate the SOL connection.
ping -c3 <IPMI_management_IP>
Connecting to the Serial-Over-LAN Console
Initiate the SOL session:
ipmitool -I lanplus -H <IPMI_management_IP> -U <user> -P <pass> sol activate
Note
If the connection fails due to a cipher suite mismatch with the IPMI module, force a specific cipher suite using the -C flag (e.g., -C3).
ipmitool -I lanplus -H <IPMI_management_IP> -U <user> -P <pass> -C3 sol activate
Once connected, a serial terminal session is established, allowing console access. The POST output should appear first, then GRUB and the operating system messages.
To terminate the serial console session, use the IPMI escape sequence: ~~..
The IPMI module will intercept this sequence and close the SOL connection.
For detailed information on adjusting kdump settings and modifying GRUB kernel parameters, please check Adjusting kdump settings and GRUB kernel parameters.