A P P E N D I X C |
ShMM CLI and Commands |
This appendix provides information about using the ShMM CLI and most commonly used ShMM commands.
This appendix contains the following topics:
The Shelf Manager command-line interface (CLI) can be used to communicate with the intelligent management controllers of the shelf, with blade servers, and with the Shelf Manager itself, through text commands. The CLI is an IPMI-based set of commands that can be accessed directly or through a higher-level management application or a script. Administrators can access the CLI through a Telnet connection or the shelf management card serial port. Using the CLI, operators can access information about the current state of the shelf including current FRU population, current sensor values, threshold settings, recent events, and overall shelf health.
To Start the Command-Line Interface |
1. To use the CLI, first log on to the Linux operation system on the shelf management card.
2. Once logged in, run the executable clia from the command line with specific parameters.
The first parameter is the command verb. The clia executable is located on the virtual root file system maintained by Linux running on the shelf management card. The clia executable connects to the main Shelf Manager software process, passes the command information to it, and retrieves the results. The Shelf Manager must be running prior to starting the CLI. For example:
If started without parameters, clia enters an interactive mode. In that mode, the program repeatedly issues a prompt to the terminal, accepts user input as the next command with parameters, executes that command, and shows the results on the terminal, until the user types the command exit or quit. For example:
The Shelf Manager CLI implements the following commands. They are described in detail in the Netra CT 900 Server System Administration Manual (819-1177), with a subsection for each command, in alphabetical order of the command names. For the web site URL, see Related Documentation.
Most informational commands support brief and verbose modes of execution, differing in the amount of information provided. Brief mode is the default (standard); verbose mode is selected by using the option -v in the command line, directly after the command and before the positional arguments. Commands that are executed on the backup Shelf Manager can only access objects (such as sensors, FRUs, IPM controllers) that are local to the backup Shelf Manager.
To help the user to determine whether a specific command is being executed on the active or on the backup Shelf Manager, the following message is issued when a CLI command is executed on the backup Shelf Manager: Running on the Backup Shelf Manager, with limited functionality.
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.