hpasmcli stands for HP Server Management Application and Agents Command Line Interface
It comes with HP ProLiant Support Pack (PSP) and can be installed in HP ProLiant Servers to view, modify the BIOS / System settings such as hyper-threading, boot sequence control, and UID LEDs, etc. It can also be used to display hardware status of the HP ProLiant servers.
ASR is currently enabled.
To verify the boot order:
hpasmcli> show boot
First boot device is: CD-ROM.
One time boot device is: Not set.
To check the DIMM Information:
hpasmcli> show dimm
DIMM Configuration
------------------
Cartridge #: 0
Module #: 3
Present: Yes
Form Factor: 9h
Memory Type: 12h
Size: 1024 MB
Speed: 400 MHz
Status: Ok
Cartridge #: 0
Module #: 4
Present: Yes
Form Factor: 9h
Memory Type: 12h
Size: 1024 MB
Speed: 400 MHz
Status: Ok
To check the F1 Prompt:
hpasmcli> show f1
The POST F1 prompt is currently delayed.
To Verify the FANS:
hpasmcli> show fans
Fan Location Present Speed of max Redundant Partner Hot-pluggable
--- -------- ------- ----- ------ --------- ------- -------------
#1 PROCESSOR_ZONE Yes NORMAL 18% Yes 2 Yes
#2 PROCESSOR_ZONE Yes NORMAL 18% Yes 1 Yes
#3 I/O_ZONE Yes NORMAL 18% Yes 1 Yes
#4 I/O_ZONE Yes NORMAL 18% Yes 1 Yes
#5 PROCESSOR_ZONE Yes NORMAL 18% Yes 1 Yes
#6 PROCESSOR_ZONE Yes NORMAL 18% Yes 1 Yes
#7 POWERSUPPLY_BAY Yes NORMAL 18% Yes 1 Yes
#8 POWERSUPPLY_BAY Yes NORMAL 18% Yes 1 Yes
To Verify the HT Status:
hpasmcli> show ht
Processor hyper-threading is currently disabled.
To view the IML Logs:
hpasmcli> show iml
The IML Log is empty.
hpasmcli> show ipl
IPL (Standard Boot Order)
-------------------------
#0 CDROM
#1 Floppy
#2 USBKEY
#3 HDD
#4 PXE
To check the Power Supply Status:
hpasmcli> show powersupply
Power supply #1
Present : Yes
Redundant: No
Condition: Ok
Hotplug : Supported
Power supply #2
Power Supply not present
To check the PXE status of the network cards:
hpasmcli> show pxe
PXE boot status (2 Embedded NICs):
NIC1: PXE enabled
NIC2: PXE disabled
To check the Serial Port status:
hpasmcli> show serial bios
BIOS console redirection port is currently set to COM1/9600.
hpasmcli> show serial bios
Embedded serial port A: COM1
Embedded serial port B: Disabled
hpasmcli> show serial virtual
The virtual serial port is currently COM2.
To check the temperature of the server:
hpasmcli> show temp
Sensor Location Temp Threshold
------ -------- ---- ---------
#0 SYSTEM_BD - -
#1 CPU#1 51C/123F 80C/176F
#2 I/O_ZONE 52C/125F 62C/143F
#3 CPU#2 46C/114F 80C/176F
#4 PROCESSOR_ZONE 41C/105F 60C/140F
#5 POWER_SUPPLY_BAY 41C/105F 51C/123F
To check LED status:
hpasmcli> show uid
UID is currently off.
To check the Wake on LAN status:
hpasmcli> show wol
Wake-On-Lan is currently enabled.
To exit from hpasmcli:
hpasmcli> exit
It comes with HP ProLiant Support Pack (PSP) and can be installed in HP ProLiant Servers to view, modify the BIOS / System settings such as hyper-threading, boot sequence control, and UID LEDs, etc. It can also be used to display hardware status of the HP ProLiant servers.
It’s a scriptable command line interface for interacting with the hpasm management daemons.
hpasmcli is also usable for incorporating into shell scripts. Hpasmcli supports TAB completion of command names and has a history buffer that can be accessed using the up/down arrows.
To get the basic information about server:
hpasmcli> show server
System : ProLiant DL385 G1
Serial No. : SGH532X0KK
ROM version : A05 06/14/2005
iLo present : Yes
Embedded NICs : 2
NIC1 MAC: 00:14:38:4c:62:3e
NIC2 MAC: 00:14:38:4c:62:3d
Processor: 0
Name : AMD Opteron
Stepping : 2
Speed : 2200 MHz
Bus : 0 MHz
Socket : 2
Level2 Cache : 1024 KBytes
Status : Ok
Processor: 1
Name : AMD Opteron
Stepping : 2
Speed : 2200 MHz
Bus : 0 MHz
Socket : 1
Level2 Cache : 1024 KBytes
Status : Ok
Processor total : 2
Memory installed : 1024 MBytes
ECC supported : Yes
Verify the Automatic System Recovery values:
hpasmcli> show asr
ASR timeout is 10 minutes.ASR is currently enabled.
To verify the boot order:
hpasmcli> show boot
First boot device is: CD-ROM.
One time boot device is: Not set.
To check the DIMM Information:
hpasmcli> show dimm
DIMM Configuration
------------------
Cartridge #: 0
Module #: 3
Present: Yes
Form Factor: 9h
Memory Type: 12h
Size: 1024 MB
Speed: 400 MHz
Status: Ok
Cartridge #: 0
Module #: 4
Present: Yes
Form Factor: 9h
Memory Type: 12h
Size: 1024 MB
Speed: 400 MHz
Status: Ok
To check the F1 Prompt:
hpasmcli> show f1
The POST F1 prompt is currently delayed.
To Verify the FANS:
hpasmcli> show fans
Fan Location Present Speed of max Redundant Partner Hot-pluggable
--- -------- ------- ----- ------ --------- ------- -------------
#1 PROCESSOR_ZONE Yes NORMAL 18% Yes 2 Yes
#2 PROCESSOR_ZONE Yes NORMAL 18% Yes 1 Yes
#3 I/O_ZONE Yes NORMAL 18% Yes 1 Yes
#4 I/O_ZONE Yes NORMAL 18% Yes 1 Yes
#5 PROCESSOR_ZONE Yes NORMAL 18% Yes 1 Yes
#6 PROCESSOR_ZONE Yes NORMAL 18% Yes 1 Yes
#7 POWERSUPPLY_BAY Yes NORMAL 18% Yes 1 Yes
#8 POWERSUPPLY_BAY Yes NORMAL 18% Yes 1 Yes
To Verify the HT Status:
hpasmcli> show ht
Processor hyper-threading is currently disabled.
To view the IML Logs:
hpasmcli> show iml
The IML Log is empty.
hpasmcli> show ipl
IPL (Standard Boot Order)
-------------------------
#0 CDROM
#1 Floppy
#2 USBKEY
#3 HDD
#4 PXE
To check the Power Supply Status:
hpasmcli> show powersupply
Power supply #1
Present : Yes
Redundant: No
Condition: Ok
Hotplug : Supported
Power supply #2
Power Supply not present
To check the PXE status of the network cards:
hpasmcli> show pxe
PXE boot status (2 Embedded NICs):
NIC1: PXE enabled
NIC2: PXE disabled
To check the Serial Port status:
hpasmcli> show serial bios
BIOS console redirection port is currently set to COM1/9600.
hpasmcli> show serial bios
Embedded serial port A: COM1
Embedded serial port B: Disabled
hpasmcli> show serial virtual
The virtual serial port is currently COM2.
To check the temperature of the server:
hpasmcli> show temp
Sensor Location Temp Threshold
------ -------- ---- ---------
#0 SYSTEM_BD - -
#1 CPU#1 51C/123F 80C/176F
#2 I/O_ZONE 52C/125F 62C/143F
#3 CPU#2 46C/114F 80C/176F
#4 PROCESSOR_ZONE 41C/105F 60C/140F
#5 POWER_SUPPLY_BAY 41C/105F 51C/123F
To check LED status:
hpasmcli> show uid
UID is currently off.
To check the Wake on LAN status:
hpasmcli> show wol
Wake-On-Lan is currently enabled.
To exit from hpasmcli:
hpasmcli> exit