Proliant Support Pack CLI on Linux

A Cheat sheet for PSP tools on Linux – specifically hpasmcli & hpacucli.

hpasmcli – Hardware Check

Usage: hpasmcli -s “show <options>”
show asr
show boot
show dimm
show f1
show fans
show ht
show iml
show ipl
show name
show powersupply
show pxe
show serial [ bios | embedded | virtual ]
show server
show temp
show uid
show wol

hpacucli – HP array configuration

Usage: hpacucli <target> <command> [param=value]
Examples:

hpacucli slot=0 pd all show
hpacucli slot=0 ld all show
hpacucli slot=0 create type=ld dreives=2:0,2:1 raid=1
hpacucli ctrl all show status
hpacucli ctrl slot=1 show
hpacucli ctrl slot=1 pd all show status

<target> – Path to a device. Example:

ctrl all – specifies all controllers
ctrl slot=3 – specifies a single controller

<command> options

set target
help
create
delete
modify
remove
show
rescan

[Parameters] – Optional

[drives=#:#|all|allunassigned]
[raid=ADG|5|4|1+0|1|0|?]
[stripesize=8|16|32|64|128|256|default|?] Units in KB
[size=#|max|?] Units in MB
[sectors=32|63|default]
[arrayaccelerator=enable|disable]

Abbreviations

aa = arrayaccelerator
ai = adapterid
ch = chassisname (also known as boxname or raidarrayid)
cn = connectionname
cr = cacheratio
ctrl = controller
dt = drivetype
ep = expandpriority
ld = logicaldrive
pd = physicaldrive
ps = parallelscsi
rp = rebuildpriority
ssd = surfacescandelay
sn = serialnumber
ss = stripesize
td = tapedrive

More HERE