Table of Contents

HPE ProLiant Server CLI Commands

hpacucli - How to use hpacucli command on HPE Proliant Server



Installing

ACU-CLI

# rpm -ivh hpacucli-x.x-x.xxxx.rpm


GUI Mode

  1. Start Remote Service
    cpqacuxe -R
  2. System Managemnet Homepage
    http://xx.xxx.xx.xx:2301
  3. Stop Remote Access for acu-cli.
    cpqacuxe -stop


CUI Mode

Commands Keyword abbreviation
controller ctrl
logicaldrive ld


Console mode

login/logout/help commands

Commands Note
hpacucli To start the HP ACU-CLI application
help a list of supported commands
exit close the console.
Starting the HP ACU-CLI application

Linux

# hpacucli

HP Array Configuration Utility CLI Version x.x.x 
Detecting Controllers...Done. 
Type "help" for a list of supported commands. 
Type "exit" to close the console.
=>

Windows

C:\Program Files\Compaq\Hpacucli\Bin\hpacucli.exe

Show commands

Commands Note
controller all show Show HBA list
controller all show status Show HBA list in exact detail
controller slot=0 show Show HBA in exact detail
controller slot=0 physicaldrive all show show physical drive status
controller slot=0 array all show show array status
controller slot=0 logicaldrive all show show logical drive status

Configuration commands

Commands Note
rescan
controller slot=0 create type=logicaldrive drives=0:0,0:1 raid=1 size=max
controller slot=0 array A create type=logicaldrive
controller slot=0 array A add spares=0:2


Command mode

Show command

Commands Note
hpacucli help
hpacucli ctrl all show config
hpacucli ctrl all show status
hpacucli ctrl slot=0 pd all show Show physicaldrive
hpacucli controller slot=0 show ssdinfo
hpacucli controller slot=0 show ssdinfo detail

Configuration command

Commands Note
hpacucli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1 Create logicaldrive


Check HDD Status
# hpacucli ctrl all show config

Smart Array P410i in Slot 0 (Embedded)    (sn: 500143800XXXXXXX)

   array A (SAS, Unused Space: 0 MB)


      logicaldrive 1 (136.7 GB, RAID 1, OK)

      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)

#
# hpacucli ctrl all show config detail

Smart Array P410i in Slot 0 (Embedded)
   Bus Interface: PCI
   Slot: 0
   Serial Number: 50014380069D34C0
   RAID 6 (ADG) Status: Disabled
   Controller Status: OK
   Chassis Slot:
   Hardware Revision: Rev C
   Firmware Version: 2.74
   Rebuild Priority: Medium
   Expand Priority: Medium
   Surface Scan Delay: 15 secs
   Wait for Cache Room: Disabled
   Surface Analysis Inconsistency Notification: Disabled
   Post Prompt Timeout: 0 secs
   Cache Board Present: False
   Drive Write Cache: Disabled
   SATA NCQ Supported: True

   Array: A
      Interface Type: SAS
      Unused Space: 0 MB
      Status: OK



      Logical Drive: 1
         Size: 136.7 GB
         Fault Tolerance: RAID 1
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 35132
         Stripe Size: 128 KB
         Status: OK
         Array Accelerator: Disabled
         Unique Identifier: 600508B1001030363944463232300D00
         Disk Name: /dev/cciss/c0d0
         Mount Points: / 132.8 GB
         Logical Drive Label: A00010B650014380069DF220D972
         Mirror Group 0:
            physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
         Mirror Group 1:
            physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)

      physicaldrive 1I:1:1
         Port: 1I
         Box: 1
         Bay: 1
         Status: OK
         Drive Type: Data Drive
         Interface Type: SAS
         Size: 146 GB
         Rotational Speed: 10000
         Firmware Revision: HPDC
         Serial Number: 3SD218Y300009019V2U6
         Model: HP      DG0146FAMWL
         PHY Count: 2
         PHY Transfer Rate: 6.0GBPS, Unknown
      physicaldrive 1I:1:2
         Port: 1I
         Box: 1
         Bay: 2
         Status: OK
         Drive Type: Data Drive
         Interface Type: SAS
         Size: 146 GB
         Rotational Speed: 10000
         Firmware Revision: HPDC
         Serial Number: 3SD20BMK00009019PGP2
         Model: HP      DG0146FAMWL
         PHY Count: 2
         PHY Transfer Rate: 6.0GBPS, Unknown
# hpacucli ctrl all show status

Smart Array P400i in Slot 0
   Controller Status: OK
   Cache Status: OK

#