Centro de Soporte de Hpe: Hpe Proliant Servers - Hpasmcli Commands
Centro de Soporte de Hpe: Hpe Proliant Servers - Hpasmcli Commands
Details
The HPASMCLI is included in the HP ProLiant Support Pack (PSP), and is available once PSP is installed on the Linux operating system.
The user must be at root to invoke the command. By typing hpasmcli, the prompt is changed to hpasmcli.
Name:
hpasmcli : HP management CLI
Synopsis:
hpasmcli [:s "<command1>;<command2>;...<commandN>"]
Description:
hpasmcli is a scriptable command line interface for interacting with the hpasmd or hpasmxld management daemons. It is used to
view/set/mod ify BIOS settings such as hyperthreading, boot control, and UID LEDs.
It can also be used to display hardware status, such as fans, power supplies, etc. The CLI supports TAB completion of command names
and has a history buffer that can be accessed using the up/down arrows.
In addition to the command line interface, hpasmcli also supports a mode that is usable for incorporating into basic shell scripts.
The return value of hpasmcli in script mode can be used to verify a command executed successfully. If multiple commands are executed,
only the status of the last command is returned to the shell. As an example, the following first executes the SHOW SERVER command to
retrieve basic system information, and next reads the status of the UID:
hpasmcli :s "show server; show uid"
OPTIONS :s "<command1>;<command2;...<commandN>"
Enables script mode. hpasmcli will execute the commands listed as arguments in the order written. At least one command must be
specified.
Commands:
[ CLEAR | DISABLE | ENABLE | EXIT | HELP | QUIT | SET | SHOW ]
CLEAR [ IML ]
Set the BIOS serial COM port baud rate. Baud rate must be either 9600, 19200, 57600 or 115200.
SET SERIAL EMBEDDED [ PORTA | PORTB ]
Set the embedded serial port to COM1, COM2, COM3, COM4, or DISABLED.
SET SERIAL VIRTUAL [ COM1 | COM2 | DISABLED ]