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

Difference between revisions of "Out of Band Management"

From Livedoc - The Documentation Repository
Jump to: navigation, search
(create OOBM information with information on various systems in use in the lab)
(No difference)

Revision as of 16:47, 22 March 2014

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.

Host *-ilo
       HostKeyAlgorithms ssh-rsa
       MACs hmac-sha1
       KexAlgorithms diffie-hellman-group1-sha1
       Ciphers aes128-cbc,3des-cbc

Once you have connected to the iLO, you can use the command show to see a list of Targets, Properties, and Commands (Verbs) available. You can use the command cd 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
start /system1
power on
Power system off (ACPI)
stop /system1
power off
Power system off (Forced)
stop -f /system1
Reset system
reset /system1
power reset

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
vsp
start /system1/oemhp_vsp1
Leaving the VSP
ESC + (
Force-stop the VSP
stop /system1/oemhp_vsp1

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 show 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
start /SYS
Power system off (ACPI)
stop /SYS
Power system off (Forced)
stop -f /SYS
Reset system
reset /SYS

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
start /SP/console
Leaving the VSP
ESC + (
Force-stop the VSP
stop /SP/console

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 show command on the various targets under /SYS/.