beautypg.com

HP Insight Control Software for Linux User Manual

Page 84

background image

If you are installing Xen on a managed system or if you do not specify the console assignment,
you must modify several files on each managed system for serial console monitoring to function,
provided that the BIOS is configured as described in step 1 above. These files are:

/boot/grub/menu.lst

/etc/inittab

/etc/securetty

NOTE:

The following procedure assumes that COM1 is assigned to the virtual serial port in the

BIOS, thus, ttyS0 is being used. If your virtual serial port is assigned to COM2, substitute ttyS1
for ttyS0 in this procedure.

1.

Use a text editor to add the appropriate line to the /etc/inittab file:

For RHEL5, SLES10, and SLES11 operating systems:

co:2345:respawn:/sbin/agetty ttyS0 115200,38400,19200,9600 vt100

NOTE:

For RHEL 6 operating systems, the /etc/inittab file is unchanged.

For a Xen virtual host:

S0:12345:respawn:/sbin/agetty -L 115200 console vt100

2.

Save your changes and exit the text editor.

3.

Use a text editor to add the appropriate line to the /etc/securetty file (if this line is not
already in the file):

For RHEL5, SLES10, and SLES11 operating systems:

ttyS0

NOTE:

For RHEL 6 operating systems, the /etc/securetty file is unchanged.

For a Xen virtual host:

console

4.

Save your changes and exit the text editor.

5.

Use a text editor to add console=ttyS0 to the default entry in the /boot/grub/menu.lst
file (if this entry is not already in the file).

NOTES:

The /boot/grub/menu.lst file might be a symbolic link to the /boot/grub/
grub.conf

file.

The entries differ depending whether the managed system is a

virtual host

or not.

For managed systems that are not virtual hosts:

Look for the default= attribute and add either console=ttyS0 for HP BladeSystems or
console=ttyS1

for non-blade systems to the default entry. This example is for a BladeSystem

server:

default=3
# This entry (no. 3) added by ProLiant HBA install script
# in package cpq_cciss-2.6.16-5.rhel6
title HP-2.6.9-42.ELsmp
root (hd0,0)
kernel /vmlinuz-2.6.9-42.ELsmp ro root= \

1

/dev/VolGroup00/LogVol00 rhgb \
quiet clock=pmtmr pci=nommconf console=ttyS0

2

initrd /HP-initrd-2.6.9-42.ELsmp.img

84

Setting up managed systems