HPACUCLI or HP Array Configuration Utility is the tool to use when it comes to HP Array controllers on HP servers. The tools helps configure all the specifics and parameters related to the array controller of the server. It is available in CLI and GUI and has quite a few useful commands.
First off, abbreviations you should know about:
drivewritecache = dwc
controller = ctrl
logicaldrive = ld
physicaldrive = pd
chassisname = ch
HPACUCLI INSTALL
On linux machines, the tool can be installed by getting the rpm from the HP site.
HPACUCLI COMMANDS
* Access the command prompt
hpacucli
* List controller commands
hpacucli help
* Show controller details and configuration
ctrl all show config ctrl all show config detail
* Show current controller status
ctrl all show status
* Turn Write Cache ON or OFF
ctrl slot=0 modify dwc=enable ctrl slot=0 modify dwc=disable
* Rescan devices
rescan
Physical drives commands
* Show details for physical attached drives
ctrl slot=0 pd all show
* Show details for a specific physical attached drive
ctrl slot=0 pd 1:5 show detail
* Show the status of physical attached drives
ctrl slot=0 pd all show status
* Show the status of a specific physical attached drive
ctrl slot=0 pd 1:4 show status
* Erase a physical drive
ctrl slot=0 pd 1:3 modify erase
* Locate physical drive using LED
ctrl slot=0 pd 1:3 modify led=on ctrl slot=0 pd 1:3 modify led=off
Logical drives commands
* Show detailed status for logical drives
ctrl slot=0 ld all show
* Show detailed status for specific logical drive
ctrl slot=0 ld 1 show
* Enable a failed logical drive
ctrl slot=0 ld 1 modify reenable forced
* Create a RAID 0 logical drive
ctrl slot=0 create type=ld drives=1:2 raid=0
* Create a RAID 1 logical drive
ctrl slot=0 create type=ld drives=2:4,2:5 size=500 raid=1
* Create a RAID 5 logical drive
ctrl slot=0 create type=ld drives=1:3,1:4,1:5,1:6,1:7 raid=5
* Delete logical drive
ctrl slot=0 ld 1 delete
* Expand logical drive by adding a drive
ctrl slot=0 ld 2 add drives=1:4
* Extend the size of a logical drive
ctrl slot=0 ld 2 modify size=700 forced
* Add spare drives
ctrl slot=0 array all add spares=1:5,1:6
Enjoy!