| Enable serial console support |
|
What is serial console support?Serial console will allow you to send all text based output to one of the onboard serial ports. When combined with a remote console device like a terminal server, will allow you to remotely administrate the machine even if the network has failed or crashed. Enabling console redirection in the BIOSConsole redirection in the BIOS allows you to access all setup features, and any diagnostic information that is normally printed to the screen when your system boots. Most nodes from Advanced Clustering enable serial console support, but not all do. If you have questions please contact support.
Enable serial redirection in the GRUB boot loader
serial --unit=0 --speed=115200
Enabling serial output from the Linux kernelTo enable serial output from the Linux kernel an argument must be given, this too is done via the /boot/grub/menu.lst file. On the "kernel" lines in the file append the following arguments: console=tty0 console=ttyS0,115200 When multiple console= options are listed like above, the Linux kernel will output to both when possible. Once the kernel has loaded the device /dev/console will be linked to the last console= device listed. Logging in via the serial consoleThe last step to setting up the serial console setup is to allow logins via the serial device. This can be done by running a getty process on the serial port device. To enable this you will need to edit /etc/inittab and add a line like below. Many times a very similar line has already been entered in the inittab file but just commented out. S0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
|
| Last Updated on Monday, 07 July 2008 16:09 |