hpasmcli(4) hpasm commands hpasmcli(4) NAME hpasmcli - HP management CLI SYNOPSIS hpasmcli [-s ";;..."] DESCRIPTION hpasmcli is a scriptable command line interface for interacting with the hpasmd or hpasmxld or hpasmlited management daemons depending on host Proliant server. It is used to view/set/modify BIOS settings such as hyperthreading, boot control, and UID LEDs. It can be used to dis- play hardware status, such as fans, power supplies, etc. It also can show, repair, and clear the IML. 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 sta- tus of the last command is returned to the shell. As an example, the following first executes the command to retrieve basic system information, and next reads the status of the UID: hpasmcli -s "show server; show uid" OPTIONS -s ";" Enables script mode. hpasmcli will execute the commands listed as argu- ments in the order written. At least one command must be specified. COMMANDS [ CLEAR | DISABLE | ENABLE | EXIT | HELP | NOTE | QUIT |REPAIR | SET | SHOW ] CLEAR [ IML ] Clears the specified feature. DISABLE [ ASR | HT | PXE [ NIC1 | NIC2 | NIC3 | NIC4 | NIC5 ] | WOL ] Disables the specified feature. ASR - Disables Automatic Server Recovery. HT - Disables Processor Hyper-Threading. PXE - Disables PXE BOOT on specified NIC. WOL - Disables Wake-On-Lan feature. ENABLE [ ASR | HT | PXE [ NIC1 | NIC2 | NIC3 | NIC4 | NIC5 ] | WOL ] Enables the specified feature. ASR - Enables Automatic Server Recovery. HT - Enables Processor Hyper-Threading. PXE - Enables PXE BOOT on specified NIC. WOL - Enables Wake-On-Lan feature. EXIT - Quit the program. HELP - Provides assistance on the available commands. NOTE [ IML ] IML - Add a maintenance note to the IML. QUIT - Exit the program. REPAIR [ IML ] IML - Mark an IML entry as repaired. SET [ ASR | BOOT [ FIRST [ CDROM | FLOPPY | HDD | PXE | USBKEY ] | ONCE [ CDROM | FLOPPY | HDD | PXE | RBSU ] ] | F1 [ ENABLED | DELAYED | DISABLED ] | NAME | SERIAL [ BIOS | EMBEDDED | VIRTUAL ] | UID [ ON | OFF ] Sets or configured the feature as specified. ASR sets the timeout value of ASR. BOOT sets the first boot device or the onetime boot option. FIRST sets the first boot device. ONCE sets the next boot device. F1 sets the desired POST F1 prompt behavior. ENABLED means to enable POST F1 prompt. DELAYED means to enable F1 prompt but timeout and continue booting if no input. DISABLED means don't stop POST at F1. NAME - Set the system name. SET SERIAL BIOS [ COM1 BAUD | COM2 BAUD | DISABLED ] - 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 ] - Set virtual COM port to COM1, COM2, or DISABLED. UID [ ON | OFF ] - Turn the UID on/off. In blinking state set uid on/off command will take effect but will continue to show UID as blinking till Remote Insight is closed. SHOW [ ASR | BOOT | DIMM | F1 | FANS | HT | IML | IPL | NAME | PORTMAP | POWERSUPPLY | PXE | SERIAL [ BIOS | EMBEDDED | VIRTUAL ] | SERVER | TEMP | UID | WOL ] Show the current status or configuration of the selected feature. ASR - Displays the Automatic System Recovery status and timeout. BOOT - Displays the current first boot device and one time boot option. DIMM - Displays the current memory dimm configuration. Optionally will dump the SPD bytes if available. F1 - Displays the configuration of the POST F1 prompt. FANS - Displays the current status and fan configuration. HT - Displays the status of Processor Hyper-Threading. IML - Displays the Integrated Management Log. IPL - Displays the current boot order. NAME - Displays the System Name. PORTMAP - Displays the NIC port Mapping information. POWERSUPPLY - Displays current Powersupply status and configura- tion. PXE - Displays the PXE configuration of each embedded NIC. SERIAL BIOS - Displays the current BIOS console redirection port setting. SERIAL EMBEDDED - Displays the current embedded serial port set- ting. SERIAL VIRTUAL - Displays the current virtual serial port setting. SERVER - Displays various information about the system. TEMP - Displays the current status of the temperature sensors. UID - Displays the current status of the UID LED. WOL - Displays the current Wake-On-Lan configuration. EXAMPLES Show the system fan and temp status. hpasmcli -s Turn the UID on. hpasmcli -s LIMITATIONS This utility requires the health driver (hpasmd, hpasmxld or hpasm- lited) to be loaded. Some commands may not be supported on all servers. This includes commands that use features only available on servers with an iLo chip. Other commands may only make sense on certain specific Proliant servers. AUTHOR Hewlett-Packard Company . COPYRIGHT Copyright (c) 2011 Hewlett-Packard Development Company, L.P. Version 8.2.0 Aug 05, 2008 hpasmcli(4)