HP ilo4 serial console and Ubuntu 14.04
This is a quick run through on how to get the HP ilo4 VSP working with Ubuntu.
First we need to modify the grub config.
root@microserver:/home/jon# vim /etc/default/grub
Add the following to your config.
GRUB_CMDLINE_LINUX="text console=tty0 console=ttyS1,115200n8"
Because we have edited the grub config, we need to update grub.
root@microserver:/etc/init#update-grub
Now we just need to edit the tty1 config. I found it easier just to backup the old one and add in the new.
root@microserver:~# mv /etc/init/tty1.conf /etc/init/tty1.conf.old
Now we just need to edit the tty1 config. I found it easier just to backup the old one and add in the new.
root@microserver:~# mv /etc/init/tty1.conf /etc/init/tty1.conf.old
Now, create an new tty1.conf and paste the following into it.
root@microserver:~#vim /etc/init/tty1.conf
Paste in the following.
ttyS1 - getty # # This service maintains a getty on tty1 from the point the system is # started until it is shut down again. start on stopped rc RUNLEVEL=[2345] and ( not-container or container CONTAINER=lxc or container CONTAINER=lxc-libvirt) stop on runlevel [!2345] respawn exec /sbin/getty -8 115200 ttyS1
Now, log into the ilo in another console and reboot the server from your orignal console, you should it boot up through the ilo console.