In order to install the HP Array Controller CLI on Debian Wheezy you must connect with PuTTy or login to the terminal on the desired Debian Server. Next you will run the commands below to add the Debian HP/Proliant repository to your system and install hpacucli. New to the HP Array Configuration Utility? Hpacucli> ctrl slot=0 create type=ld drives=1:12 raid=0. 3 Thoughts on β HP Array Configuration Utility Command. Hpacucli is used to create, delete and repair the logical and physical drives on the smart array controllers in HP servers. To use hpacucli, download and install the latest version of hpacucli rpm from the HP website on your Linux server. First, I checked on HP website and there was some promising download: Look, a VIB file! π I downloaded it and installed in the usual way on my ESXi 5.1 server (even if the package is officially listed for ESXi 5.0). Is it correct when I assume I need to install hpacucli to add the HD or partitions? Not of Hewlett Packard Enterprise. By using this site. Has anyone used the HP Array Configuration Utility Command Line Interface (hpacucli.exe) to get physical disk information into a file? HP ACU CLI Examples.
New to the HP Array Configuration Utility? Me too, so I did some Googling and found an awesome cheat sheet. I donβt want to steal any credit from its original authors, but I do think it should be reposted for archival. Iβd like a copy of it for my own reference, so I decided to toss it here on Binary Impulse so others might stumble across it.
Hereβs the original article: http://www.datadisk.co.uk/html_docs/redhat/hpacucli.htm
Abbreviations | chassisname = ch controller = ctrl logicaldrive = ld physicaldrive = pd drivewritecache = dwc |
hpacucli utility | |
hpacucli | # hpacucli # hpacucli help Note: you can use the hpacucli command in a script |
Display (detailed) | hpacucli> ctrl all show config hpacucli> ctrl all show config detail |
Status | hpacucli> ctrl all show status |
Cache | hpacucli> ctrl slot=0 modify dwc=disable hpacucli> ctrl slot=0 modify dwc=enable |
Rescan | hpacucli> rescan Note: detects newly added devices since the last rescan |
Physical Drive Commands | |
Display (detailed) | hpacucli> ctrl slot=0 pd all show hpacucli> ctrl slot=0 pd 2:3 show detail Note: you can obtain the slot number by displaying the controller configuration (see above) |
Status | hpacucli> ctrl slot=0 pd all show status hpacucli> ctrl slot=0 pd 2:3 show status |
Erase | hpacucli> ctrl slot=0 pd 2:3 modify erase |
Blink disk LED | hpacucli> ctrl slot=0 pd 2:3 modify led=on hpacucli> ctrl slot=0 pd 2:3 modify led=off |
Display (detailed) | hpacucli> ctrl slot=0 ld all show [detail] hpacucli> ctrl slot=0 ld 4 show [detail] |
Status | hpacucli> ctrl slot=0 ld all show status hpacucli> ctrl slot=0 ld 4 show status |
Blink disk LED | hpacucli> ctrl slot=0 ld 4 modify led=on hpacucli> ctrl slot=0 ld 4 modify led=off |
re-enabling failed drive | hpacucli> ctrl slot=0 ld 4 modify reenable forced |
Create | # logical drive β one disk hpacucli> ctrl slot=0 create type=ld drives=1:12 raid=0 # logical drive β mirrored # logical drive β raid 5 Note: |
Remove | hpacucli> ctrl slot=0 ld 4 delete |
Expanding | hpacucli> ctrl slot=0 ld 4 add drives=2:3 |
Extending | hpacucli> ctrl slot=0 ld 4 modify size=500 forced |
Spare | hpacucli> ctrl slot=0 array all add spares=1:5,1:7 |
Display (detailed) | hpacucli> ctrl all show config hpacucli> ctrl all show config detail |
Status | hpacucli> ctrl all show status |
Cache | hpacucli> ctrl slot=0 modify dwc=disable hpacucli> ctrl slot=0 modify dwc=enable |
Rescan | hpacucli> rescan Note: detects newly added devices since the last rescan |