# hpacucli usage Category: Guide ## Install ``` echo "deb http://downloads.linux.hpe.com/SDR/downloads/MCP/Debian/ wheezy/current non-free" | sudo tee /etc/apt/sources.list.d/hp.listwget -qO- http://downloads.linux.hpe.com/SDR/downloads/MCP/GPG-KEY-mcp | sudo apt-key add -wget http://downloads.linux.hpe.com/SDR/add_repo.sh && chmod +x add_repo.shsudo ./add_repo.sh mcpsudo apt apt update && sudo apt install hpacucli ``` ## Usage - Set target controller for all commands `set target controller slot=4` - Show details of array X `array X show` - Show controller config `show config` `show config detail` - Show all controllers' status `controller all show status` `controller all show detail` - Status of all disks `physicaldrive all show status` - Show all disks `physicaldrive all show detail` - Details for single disk `physicaldrive 1I:1:1 show detail` - Show all logical drives `logicaldrive all show` - Re-enable failed LD `logicaldrive X modify reenable forced`