Warning Livedoc is no longer being updated and will be deprecated shortly. Please refer to https://documentation.tjhsst.edu.

Changes

Jump to: navigation, search

Out of Band Management

5,002 bytes added, 15:47, 22 March 2014
create OOBM information with information on various systems in use in the lab
Out of Band Management (OOBM) is a generic term for any system for providing access to a server or network device without relying on software running on that system. It is generally used for setup and maintenance tasks that require substantial reconfiguration of the system.

The primary OOBM systems in use in the CSL are HP's iLO, Sun's ALOM/iLOM, and serial consoles through [[gman]].

==HP iLO==
HP's iLO (integrated Lights-Out) consists of a separate CPU and network interface mounted onto the system board of most HP servers. In line with most server OOBM solutions, it provides remote control over system power, a remote console, and various information and environmental statistics.

iLO can be accessed either through an SSH command line or through a web browser frontend. The instructions below primarily cover management via the CLI as it tends to be faster and more convenient.

===SSH CLI===
To access the SSH CLI, you will first need to add the following lines to your .ssh/config file. This is due to a limitation in the amount of memory HP iLO has to negotiate SSH parameters with. Note that this assumes that all of your iLO devices are named similar to the CSL scheme of <hostname>-iLO.
<code>
Host *-ilo
HostKeyAlgorithms ssh-rsa
MACs hmac-sha1
KexAlgorithms diffie-hellman-group1-sha1
Ciphers aes128-cbc,3des-cbc
</code>

Once you have connected to the iLO, you can use the command <code>show</code> to see a list of Targets, Properties, and Commands (Verbs) available. You can use the command <code>cd</code> to change the current Target. The two main target trees are system1 (information/control of the server) and map1 (information/control of the iLO itself).

====Power Control====
Power can be managed either through commands issued against the system target or using the power alias.

; Power system on
: <code>start /system1</code>
: <code>power on</code>
; Power system off (ACPI)
: <code>stop /system1</code>
: <code>power off</code>
; Power system off (Forced)
: <code>stop -f /system1</code>
; Reset system
: <code>reset /system1</code>
: <code>power reset</code>

====Console Access====
iLO provides console access to the server through the virtual serial port. For CSL servers, this is typically configured to be the first serial port on the server (ttyS0 in linux). Only one person can use the VSP at a time so if sharing is needed, the iLO should be accessed through screen or tmux. While iLO can also provide a VGA console, this requires an advanced license and is generally not used in the CSL.

; Starting the VSP
: <code>vsp</code>
: <code>start /system1/oemhp_vsp1<code>
; Leaving the VSP
: <code>ESC + (</code>
; Force-stop the VSP
: <code>stop /system1/oemhp_vsp1</code>

NOTE - force-stopping the VSP should only be done after making sure that the session currently tying up the VSP is either not in use or has crashed. It will forcibly disconnect that session from the iLO without warning or notification.

====System Information====
A wealth of server information is accessible by using the <code>show</code> command on the various targets under /system1/. In particular, detailed memory module information is available in /system1/memory[1-18] and detailed temperature information in /system1/sensor[1-30]

==Sun iLOM==
Sun's iLOM is very similar to HP's iLO and is found in most of their modern server systems. Like iLO, it can be accessed via either SSH or Web Browser, however, the browser interface has problems in most modern browsers and is not recommended for use.

===SSH CLI===
To use iLOM via SSH, simply SSH username@<hostname>-lom. Note - because iLOM does not support numbers at the beginnings of usernames, new student accounts need the class year removed from the username.

====Power Control====
Power is managed through commands issued against the SYS target.

; Power system on
: <code>start /SYS</code>
; Power system off (ACPI)
: <code>stop /SYS</code>
; Power system off (Forced)
: <code>stop -f /SYS</code>
; Reset system
: <code>reset /SYS</code>

====Console Access====
iLOM provides console access to the server through a serial console which connects to the first serial port on the server (ttyS0 in linux). Only one person can use the console at a time so if sharing is needed, the iLOM should be accessed through screen or tmux. iLOM also provides a VGA console through the web interface and a java applet, however, this is generally not used.

; Starting the serial console
: <code>start /SP/console</code>
; Leaving the VSP
: <code>ESC + (</code>
; Force-stop the VSP
: <code>stop /SP/console</code>

NOTE - force-stopping the console should only be done after making sure that the session currently tying up the console is either not in use or has crashed. It will forcibly disconnect that session from the console without warning or notification.

====System Information====
Various server information is accessible by using the <code>show</code> command on the various targets under /SYS/.

Navigation menu