beautypg.com

3 hp insight cmu remote hardware control api – HP Insight Cluster Management Utility User Manual

Page 145

background image

8.3 HP Insight CMU remote hardware control API

As of version 5.0, HP Insight CMU supports a remote hardware control API. This hardware API
makes it possible to integrate HP Insight CMU power and UID control with any computer that has
remote power control capability. The /opt/cmu/bin/cmu_power command interacts with this
API to provide remote power and UID control for HP Insight CMU.

The existing hardware APIs are:

ILO

The most common method of interacting with HP BL/DL/SL servers.

lo100i

The legacy method of interacting with low-end HP servers.

None

The fallback method of interacting with workstations and other servers that do not provide
remote power control.

IPMI

The industry standard method, useful with non-HP (or non-iLO HP) hardware.

ILOCM

The method for integration with HP Moonshot Chassis.

The HP Insight CMU hardware API consists of a collection of programs that reside in /opt/cmu/
hardware/

<HW_TYPE>/ where <HW_TYPE> refers to the name of the hardware API. For example

the iLO API programs reside in the /opt/cmu/hardware/ILO/ directory.

The name of the API programs in the hardware API directory must conform to the following format:

cmu_

<HW_TYPE>_power_<ACTION>

Where <ACTION> is one of:

off

Remove power from the server.

on

Apply power to the server.

osoff

Attempt a graceful shutdown of the OS before removing power.

uid_off

Turn off the UID light.

uid_on

Turn on the UID light.

These are the five basic actions required by HP Insight CMU.

NOTE:

A boot command from HP Insight CMU is comprised of the osoff action followed by

the on action.

The following additional actions are supported by the /opt/cmu/bin/cmu_power command,
but are not required by HP Insight CMU:

status

Provide a power status for the given node, either on or off.

press

Simulate a "momentary press" of the power button.

To recap: the following programs are required when implementing a new FOO hardware API:

/opt/cmu/hardware/FOO/cmu_FOO_power_off
/opt/cmu/hardware/FOO/cmu_FOO_power_on

8.3 HP Insight CMU remote hardware control API

145