
HP Array Configuration Utility Commandline (CLI)
Setting up HP RAID with the Array Configuration Utility (ACU) on the command line.
Using the ACU
Recently I had the dubious pleasure of (re)creating a RAID array on a Windows Server Core installation on an HP ProLiant server.
Since the HP Array Configuration Utility (ACU) is not exactly self-explanatory on the command line (CLI), I took notes for the next “encounter”:
After installing the HP Array Configuration Utility, the command line utility “hpacucli.exe” is located in the following directory: <C:\Program Files\Compaq\Hpacucli\Bin>.
Basically, the ACU knows the “variables” target and command and is always called according to the following scheme:
<target> <command> [parameter=value]
target can mean all sorts of things - a controller, an array, a disk or a combination of these. The command variable specifies which action we want to perform on the “target”, e.g. “create”, “delete” or “modify”.
A few basic commands:
#Show array:
controller slot=<X> physicaldrive all show
#Create a new array:
controller slot=<X> create type=ld drives=1:5,1:6,1:7,1:8 raid=5
#Show the logical drive configuration for controller X:
controller slot=<X> ld all show
#Add a hot spare disk to array Y:
controller slot=<X> array <Y> add spares=allunassigned
Source
- HP website: HP Array Configuration Utility User Guide [PDF]