TECH

Enable Virtual Serial Port (VSP) for HP Servers iLO Running Linux

HP Integrated Lights-Out 3 (iLO 3) consists of an intelligent processor and firmware that lets you manage servers remotely. You can use iLO Virtual Serial Port (VSP) is one iLO method of accessing a remote server. By using the remote console, you can operate as if a physical serial connection exists on the remote server serial port.

Below are required steps to configure VSP for HP server running Reh Hat Linux 6.5:

1) Boot the Server into RBSU >> System options >> serial port options >> virtual serial port >> select COMM 2
2) Now go to “BIOS Serial Console and EMS” menu >> EMS console >> Select COMM 2

3) Save the changes and exit RBSU.

4) In RHEL 6.x

a) Create an init configuration file for ttyS1

# vi /etc/init/ttyS1.conf
start on runlevel [S345]
stop on runlevel [016]

respawn
instance /dev/ttyS1
exec /sbin/agetty ttyS1 115200 vt100-nav

b) Check the init configuration and start running the agetty process

#  initctl list | grep ttyS1
ttyS1 stop/waiting

# initctl start ttyS1
ttyS1 (/dev/ttyS1) start/running, process 38394

c) Test you have access to the System through vsp

</>hpiLO-> vsp
 
      Virtual Serial Port Active: COM2
 
      Starting virtual serial port.
      Press ‘ESC (‘ to return to the CLI Session.

 login:

d) Add Serial Port to securetty to allow login as rootNote:This is needed if we want root account to be able to log in through this serial console.

# echo “ttyS1” >> /etc/securetty 
e) Configure the Grub GRUB config file

  title Red Hat Enterprise Linux (2.6.32-220.el6.x86_64)
            root (hd0,0)
            kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=UUID=0084ea5e-39e2-       4994-aaa5-5abe8bf7eeb0 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8                 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M                         KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM console=tty0                         console=ttyS1,115200
        initrd /initramfs-2.6.32-220.el6.x86_64.img

If you need more info about HP virtual server port, you can read below document:

http://h10032.www1.hp.com/ctg/Manual/c00263709.pdf

I hope this is informative.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s