ILO Notes

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(Using Virtual Media with the Command-Line Interface)
m (Using Virtual Media with the Command-Line Interface)
Line 33: Line 33:
hutch@hutch:~$ '''ssh admin@''iLO'''''
hutch@hutch:~$ '''ssh admin@''iLO'''''
-
admin@t''iLO'''s password:
+
admin@''iLO'''s password:
User:admin logged-in to ''iLO''(10.215.14.5)
User:admin logged-in to ''iLO''(10.215.14.5)
iLO Advanced 1.42 at 08:37:01 Oct 03 2007
iLO Advanced 1.42 at 08:37:01 Oct 03 2007

Revision as of 20:37, 1 November 2007

OpenSSH problems with iLO ssh server

The OpenSSH client on my Ubuntu 7.10 system is incompatible with the ssh server on an iLO system with 1.91 firmware. There may be problems with other OpenSSH/iLO versions.

$ ssh -V
OpenSSH_4.6p1 Debian-5build1, OpenSSL 0.9.8e 23 Feb 2007

$ echo "QUIT" | nc iLO 22
SSH-2.0-mpSSH_0.0.1

$ ssh admin@iLO
admin@iLO's password: 
dispatch_protocol_error: type 100 seq 9
dispatch_protocol_error: type 100 seq 10
buffer_get_ret: trying to get more bytes 4 than in buffer 0
buffer_get_int: buffer error

As a workaround, use PuTTY.

Upgrading Firmware

To upgrade iLO/iLO 2 firmware through the iLO HTTPS interface, download the Online ROM Flash Component for Windows, Extract the files, and Send firmware image of the appropriate firmware file (e.g., ilo191.bin). Note that wine for UNIX systems works with the self-extracting .exe file.

Using Virtual Media with the Command-Line Interface

The iLO 2 Virtual Media Java applet does not work well over a low-speed WAN[1]. My Linux ISOs would routinely not boot when using the Java applet.

As an alternative, ISOs may be loaded from an HTTP server using Virtual Media with the command-line interface.

Example:

hutch@hutch:~$ ssh admin@iLO
admin@iLO's password:
User:admin logged-in to iLO(10.215.14.5)
iLO Advanced 1.42 at 08:37:01 Oct 03 2007
Server Name: CZC7124NST00
Server Power: On

</>hpiLO-> vm cdrom insert http://10.215.0.35/kickstart/boot_isos/5Server-i386_boot.iso

(Note: use IPs when specifying an HTTP server)

</>hpiLO-> vm cdrom get
VM Applet = Disconnected
Boot Option = NO_BOOT
Write Protect = Yes
Image Inserted = Connected
Image URL = http://10.215.0.35/kickstart/boot_isos/5Server-i386_boot.iso

(Note: the "NO_BOOT" means that the system will not boot off the "connected" image)

</>hpiLO-> vm cdrom set boot_once

(Note: The next boot will be from the connected image) 

</>hpiLO-> power reset

You may still want to start a Remote Console via the iLO 2's HTTPS interface.

Personal tools