HP Insight Control Software for Linux User Manual
Page 53
Therefore, configuring the managed system is a two-step process:
Step 1: Make the appropriate association on the system BIOS.
Depending on how you decide
to configure your system, you might not need to do anything. As a general rule, the factory
default system BIOS settings are as follows. If these default settings are suitable, you do not need
to access the BIOS on each managed system:
•
On HP BladeSystems, the virtual serial port is assigned to COM1
•
On Non-blade servers, the virtual serial port is assigned to COM2
Step 2: Configure the OS to use the correct serial port.
By default, Linux is not configured to
use any serial port as its console. Therefore, regardless of the BIOS configuration, you must
modify several files on each managed system for serial console monitoring to function.
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
wherever ttyS0 is shown in this procedure.
1.
Use a text editor to add the following line to the /etc/inittab file:
co:2345:respawn:/sbin/agetty ttyS0 115200,38400,19200,9600 vt100
2.
Save your changes and exit the text editor.
3.
Use a text editor to add the following line to the /etc/securetty file (if this line is not
already present in the file):
ttyS0
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 present 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
or not.
For managed systems that are not virtual hosts:
Look for the default= attribute and add console=ttyS0 to the default entry. For example:
default=3
# This entry (no. 3) added by Proliant HBA install script
# in package cpq_cciss-2.6.16-5.rhel4
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
1
The backslash (\) in this example indicates line continuation. Do not enter a
backslash character in your file.
2
Add console=ttyS0 here. Make sure you enter the number zero, not the letter
O.
For managed systems that are virtual hosts:
Look for the default= attribute, add com1=115200,8n1 to the kernel entry for HP
BladeSystems, and add console=ttyS0 to the module entry. For example:
default=0
timeout=5
4.4 Setting up managed systems for monitoring
53