![HP HPE iLO 5 User Manual Download Page 123](http://html.mh-extra.com/html/hp/hpe-ilo-5/hpe-ilo-5_user-manual_164420123.webp)
Configuring Linux 6 to use the iLO Virtual Serial Port
Procedure
1.
Configure GRUB based on the following configuration examples.
NOTE:
In the following configuration examples, ttyS0 and unit 0 are for com1 and ttyS1 and unit 1 are for
com2.
The following configuration example uses Red Hat Enterprise Linux 6 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.
2.
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
3.
Use SSH to connect to iLO, and then use the iLO CLP command
start /system1/oemHPE_vsp1
to view a login session to the Linux operating system.
Configuring Red Hat Enterprise Linux 7 to use the iLO Virtual Serial Port
Procedure
1.
Open
/etc/sysconfig/grub
with a text editor.
Configuring Linux 6 to use the iLO Virtual Serial Port
123