Configuring the ilo virtual serial port for linux, Configuring the ilo virtual – HP Integrated Lights-Out 4 User Manual

Page 213

Advertising
background image

Configuring the iLO Virtual Serial Port for Linux

You can manage Linux servers remotely using console redirection. To configure Linux to use console
redirection, you must configure the Linux boot loader (GRUB). The boot-loader application loads
from the bootable device when the server system ROM finishes POST. Define the serial interface
(ttyS0) as the default interface so that if no input arrives from the local keyboard within 10 seconds
(the default timeout value), the system will redirect output to the serial interface (iLO Virtual Serial
Port).

NOTE:

ttyS0 and unit 0 are for com1 and ttyS1 and unit 1 are for com2.

The following configuration example uses Red Hat Linux and com1:

serial -unit=0 -speed=115200
terminal -timeout=10 serial console
default=0
timeout=10
#splashimage=(hd0,2)/grub/splash.xpm.gz
title Red Hat Linux (2. 6.18-164.e15)
root (hd0,2)
9
kernel /vmlinux-2.6.18-164.e15 ro root=/dev/sda9 console=tty0 console=ttyS0,115200
initrd /initrd-2.6.18-164.e15.img

If com2 was selected, the configuration example would be as follows:

serial -unit=1 -speed=115200
terminal -timeout=10 serial console
default=0
timeout=10
#splashimage=(hd0,2)/grub/splash.xpm.gz
title Red Hat Linux (2. 6.18-164.e15)
root (hd0,2)
9
kernel /vmlinux-2.6.18-164.e15 ro root=/dev/sda9 console=tty0 console=ttyS1,115200
initrd /initrd-2.6.18-164.e15.img

After Linux is fully booted, a login console can be redirected to the serial port.

If configured, the /dev/ttyS0 and /dev/ttyS1 devices enable you to obtain serial TTY
sessions through the iLO Virtual Serial Port. To begin a shell session on a configured serial
port, add the following line to the /etc/inittab file to start the login process automatically
during system boot.

The following example initiates the login console on /dev/ttyS0:

S0:2345:respawn:/sbin/agetty 115200 ttyS0 vt100

The following example initiates the login console on dev/ttys1:

S1:2345:respawn:/sbin/agetty 115200 ttyS1 vt100

Use SSH to connect to iLO, and then use the iLO CLP command start
/system1/oemhp_vsp1

to view a login session to the Linux operating system.

Configuring the iLO Virtual Serial Port for the Windows EMS Console

iLO enables you to use the Windows EMS Console over the network through a web browser. EMS
enables you to perform emergency management services when video, device drivers, or other
operating system features prevent normal operation and normal corrective actions from being
performed.

When using the Windows EMS Console with iLO, note the following:

You must configure the Windows EMS console within the operating system before you can
use the iLO Virtual Serial Port. For information about how to enable the EMS console, see

Using the text-based Remote Console

213

Advertising