IDRAC serial console over SSH

IDRAC usually includes a HTML5 and/or Java-based GUI to access the serial console – but what about just using SSH instead?

This applies to Debian & Ubuntu based distros, but the process should be similar for others.

Edit /etc/default/grub, setting the following variables:

GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,115200n8"
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"

Run update-grub to apply the changes.

SSH into IDRAC, then with racadm, run the following commands to configure your BIOS appropriately on reboot:

set BIOS.SerialCommSettings.ConTermType Vt100Vt220
set BIOS.SerialCommSettings.RedirAfterBoot Enabled
set BIOS.SerialCommSettings.SerialPortAddress Serial1Com2Serial2Com1
set BIOS.SerialCommSettings.SerialComm OnConRedirCom2
set BIOS.SerialCommSettings.FailSafeBaud 115200
jobqueue create BIOS.Setup.1-1

Powercycle the server with serveraction powercycle. Enter racadm, then use console com2 to connect to the serial console.

2 Replies to “IDRAC serial console over SSH”

  1. The last sentence says, “Exit racadm, then use console com2 to connect to the serial console.” But the console command only exists inside the racadm prompt.

    So I think you meant to say, “Enter racadm, then use console com2 to connect to the serial console.”

Leave a Reply

Your email address will not be published. Required fields are marked *