ILO Notes

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(Virtual Power Options)
Line 1: Line 1:
-
=== "Remote Console - in use" ===
+
== ssh console access ==
 +
 
 +
=== iLO ===
 +
 
 +
* To access a text console through the ssh iLO interface, use the '''remcons''' command.
 +
 
 +
=== iLO 2 ===
 +
 
 +
 
 +
 
 +
== "Remote Console - in use" ==
There does not appear to be an option within the ssh and Web interfaces of the iLO to reset the iLO and clear an "in use" remote console connection.
There does not appear to be an option within the ssh and Web interfaces of the iLO to reset the iLO and clear an "in use" remote console connection.
Line 7: Line 17:
With iLO, select '''Administration''', and then '''Network Settings'''. Click '''Apply''', and iLO will reset, freeing the remote console.
With iLO, select '''Administration''', and then '''Network Settings'''. Click '''Apply''', and iLO will reset, freeing the remote console.
-
=== OpenSSH problems with iLO ssh server ===
+
== 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.
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.
Line 26: Line 36:
As a workaround, use PuTTY.
As a workaround, use PuTTY.
-
=== Upgrading Firmware ===
+
== 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.
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.
Line 32: Line 42:
* [http://h18013.www1.hp.com/support/files/lights-out/us/locate/20_6220.html iLO 2 Firmware]
* [http://h18013.www1.hp.com/support/files/lights-out/us/locate/20_6220.html iLO 2 Firmware]
-
=== Using Virtual Media with the Command-Line Interface ===
+
== Using Virtual Media with the Command-Line Interface ==
The iLO 2 Virtual Media Java applet does not work well over a low-speed WAN[http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1111474&admit=-682735245+1193948869701+28353475]. My Linux ISOs would routinely not boot when using this Java applet.
The iLO 2 Virtual Media Java applet does not work well over a low-speed WAN[http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1111474&admit=-682735245+1193948869701+28353475]. My Linux ISOs would routinely not boot when using this Java applet.
Line 68: Line 78:
You will likely want to start a Remote Console via the iLO 2's HTTPS interface.
You will likely want to start a Remote Console via the iLO 2's HTTPS interface.
-
=== Rebooting iLO ===
+
== Rebooting iLO ==
To reboot iLO without unplugging the power to the system, run the following command on the SMASH interface.
To reboot iLO without unplugging the power to the system, run the following command on the SMASH interface.
Line 76: Line 86:
[http://lists.freebsd.org/pipermail/freebsd-proliant/2006-March/000068.html any way to reset ilo without disconnecting power?]
[http://lists.freebsd.org/pipermail/freebsd-proliant/2006-March/000068.html any way to reset ilo without disconnecting power?]
-
=== Virtual Power Options ===
+
== Virtual Power Options ==
From [http://h20000.www2.hp.com/bizsupport/TechSupport/CoreRedirect.jsp?redirectReason=DocIndexPDF&prodSeriesId=397989&targetPage=http%3A%2F%2Fbizsupport.austin.hp.com%2Fbc%2Fdocs%2Fsupport%2FSupportManual%2Fc00553302%2Fc00553302.pdf HP Integrated Lights-Out 2 User Guide for Firmware 1.35]:
From [http://h20000.www2.hp.com/bizsupport/TechSupport/CoreRedirect.jsp?redirectReason=DocIndexPDF&prodSeriesId=397989&targetPage=http%3A%2F%2Fbizsupport.austin.hp.com%2Fbc%2Fdocs%2Fsupport%2FSupportManual%2Fc00553302%2Fc00553302.pdf HP Integrated Lights-Out 2 User Guide for Firmware 1.35]:

Revision as of 16:29, 21 July 2008

Contents

ssh console access

iLO

  • To access a text console through the ssh iLO interface, use the remcons command.

iLO 2

"Remote Console - in use"

There does not appear to be an option within the ssh and Web interfaces of the iLO to reset the iLO and clear an "in use" remote console connection.

With iLO 2, select Administration, and then Network. Click Apply, and iLO 2 will reset, freeing the remote console.

With iLO, select Administration, and then Network Settings. Click Apply, and iLO will reset, freeing the remote console.

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 this Java applet.

As an alternative, ISOs may be loaded from an HTTP server using Virtual Media with the iLO 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 will likely want to start a Remote Console via the iLO 2's HTTPS interface.

Rebooting iLO

To reboot iLO without unplugging the power to the system, run the following command on the SMASH interface.

cd /map1
reset

any way to reset ilo without disconnecting power?

Virtual Power Options

From HP Integrated Lights-Out 2 User Guide for Firmware 1.35:

  • Momentary Press button provides behavior identical to pressing the physical power button.
  • Press and Hold is identical to pressing the physical power button for five seconds and then releasing it. This option provides the ACPI-compatible functionality that is implemented by some operating systems. These operating systems behave differently depending upon a short press or long press. The behavior of this option might circumvent any graceful shutdown features of the operating system.
  • Cold Boot of the system immediately removes power from the system. The system will restart after approximately six seconds. This option is not available when the server is powered down. This option circumvents graceful operating system shutdown features.
  • Reset System initiates a system reset. This option is not available when the server is powered down. The behavior of this option might circumvent any graceful shutdown features of the operating system.
Personal tools