Command Line Interface Scripting - HP ntegrity iLO 2 MP Operation Manual

Table of Contents

Advertisement

Table 6-5 Command Menu Commands (continued)
Command
SA
SNMP
SO
SS
SYSREV
TC
TE
UC
WHO
XD
The following is a quick reference list that provides MP Command mode activities:
To access the Command menu, enter CM at the MP Main Menu.
To see all the available commands, enter HE LI at the MP:CM> prompt.
To access the Command menu help, enter HE at the MP:CM> prompt. The Command menu help
provides information on all the Command menu items.
To modify the inactivity timeout, enter the IT command. The inactivity timer aborts a command
if you do not complete it within a certain time period.
To abort most commands, enter Q at the point when the iLO 2 MP is asking for input.
To return to the MP Main Menu from any of these commands, press Ctrl-B.

Command Line Interface Scripting

A command line interface is provided for all commands to assist you in scripting. This section
provides syntax examples used in the iLO 2 MP command-line or scripted interface.
Typically, tools like Expect (see
are used to string together several commands to accomplish a task. These scripting tools enable
you to write a script for one iLO 2 MP, and use it to apply the same commands to additional iLO
2 MPs. Scripting tools have capabilities that enable you to do the following:
Write scripts that make decisions based on the output of commands
Use variables in the script to customize it for each target automatically
Compensate for delays in output
Scripting tools and the command-line interfaces enable you to carry out commands to multiple
iLO 2 MPs such as setting the IP address on 10 iLO 2 MPs pulled from a list of 10 IP addresses
read from a file local to your script. To automatically administer any part of the system during
any stage of its operation, you can use the scripting tool to log in to the iLO 2 MP, access the
console, and send and receive commands in EFI or the OS.
64
Using iLO 2 MP
Sets access options
Configures SNMP parameters
Configures security options
Displays system processor status
Displays all firmware revisions
Resets through transfer of control (TOC)
"Tell" (sends a message to other users)
Displays a user configuration
Displays connected the iLO 2 MP users
Diagnoses or resets the iLO 2 MP
"Expect Script Example" (page
Description
65)) and (http://expect.nist.gov/)

Advertisement

Table of Contents
loading

Table of Contents