Skip to content
Welcome To Charanjit Cheema Blog

Welcome To Charanjit Cheema Blog

An Open Source and Cloud Blog

Menu
  • Home
  • About Me!
  • Way to my Technical Blog
  • Contact me
  • Privacy Policy
Menu

HPACU Utility Tips for Linux

Posted on April 6, 2018 by Charanjit Cheema

HPE has Provided very good utility called hpacu or (HP Array Configuration Utility) which is available in GUI and CLI for managing Local Hard disks of all HPE Servers and connected DAS (Direct Attached Storage) like HPE MDS 600.

It can easily be downloadable from HPE Driver and Firmware Website or also can come in SPP (Service Pack for Proliant) which ship with HPE Server. For more detail check your HPE Server documentation.

One can easily add, delete, identify and repair logical and physical disks on smart array controller. This utility also can be use to get diagnostic report for identifying the fault of either Hard Disk(s), RAID or Smart Array controller.

In Linux world HP has provided hpacu cli version called hpacucli, here I am sharing you some useful commands of hpacucli.

hpacucli utility:

#hpacucli

#hpacucli help

  • Controller commands:

    hpacucli> ctrl all show config ## Display detail of Controller

    hpacucli> ctrl all show config detail

    hpacucli> ctrl all show status ## Display status of Controller

    hpacucli> ctrl slot=0 modify dwc=disable ## Enable or Disable the cache

    hpacucli> ctrl slot=0 modify dwc=enable

    hpacucli> rescan ## Detects newly added devices since the last rescan

  • Physical drive commands:

    hpacucli> ctrl slot=0 pd all show ## Display detail information of PhysicalDrive hpacucli> ctrl slot=0 pd 2:3 show detail

    hpacucli> ctrl slot=0 pd all show status ## Display Status of physicalDrive hpacucli> ctrl slot=0 pd 2:3 show status

    hpacucli> ctrl slot=0 pd 2:3 modify erase ## To Erase the physicalDrive

    hpacucli> ctrl slot=0 pd 2:3 modify led=on ## To enable or Disable the LED hpacucli> ctrl slot=0 pd 2:3 modify led=off

  • Logical drive commands:

    hpacucli> ctrl slot=0 ld all show ## Display detail information of LogicalDrive hpacucli> ctrl slot=0 ld 4 show

    hpacucli> ctrl slot=0 ld all show status ## Display Status of LogicalDrive hpacucli> ctrl slot=0 ld 4 show status

    hpacucli> ctrl slot=0 ld 4 modify reenable forced ## To re-enabling failed drive

Configuring RAID level:

  • Create LogicalDrive with RAID 0 using one drive:

    hpacucli> ctrl slot=0 create type=ld drives=1:12 raid=0

  • Create LogicalDrive with RAID 1 using two drives:

    hpacucli> ctrl slot=0 create type=ld drives=1:13,1:14 size=300 raid=1

  • Create LogicalDrive with RAID 5 using five drives:

    hpacucli> ctrl slot=0 create type=ld drives=1:13,1:14,1:15,1:16,1:17 raid=5

  • Expand, Extend, add spare and deleting Logical drives in existing RAID:

    hpacucli> ctrl slot=0 ld 4 delete
    ## To Delete LogicalDrives

    hpacucli> ctrl slot=0 ld 4 add drives=2:3
    ## Expanding ld by adding one more drive

    hpacucli> ctrl slot=0 ld 4 modify size=500 forced
    ## Extending the LogicalDrives

    hpacucli> ctrl slot=0 array all add spares=1:5,1:7
    ## Add two Spare disks

Fetching Smart Array Configuration Diagnostic report:

#hpacucli ctrl all diag file=/tmp/ADUReport.zip

Source:

https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03493210

http://www.datadisk.co.uk/html_docs/redhat/hpacucli.htm

 

Loading

  • Author
  • Recent Posts
Charanjit Cheema
Follow him
Charanjit Cheema
Charanjit is currently working as a Cloud Architect at Mphasis, with 17 years of experience in IT infrastructure projects, implementation, and support. While his main role is as a DevOps engineer, he holds a Cloud Architect position and has strong skills in cloud technologies and automation. His expertise includes Terraform, Ansible, AWS, Azure DevOps, Azure Cloud, VMware, and Linux systems.

Charanjit is passionate about automating tasks and improving processes. He uses tools like Terraform and Azure DevOps to build and manage cloud infrastructure and streamline deployment. He also enjoys using Shell scripts and Ansible playbooks to make systems run more efficiently.

In his free time, Charanjit enjoys learning about new technologies and sharing his knowledge through his blog. When he’s not working, he likes listening to music, having a cup of coffee, and relaxing in nature.

You can connect with Charanjit on Twitter, Facebook, LinkedIn, or email him at charanjit.cheema@cjcheema.com.
Charanjit Cheema
Follow him
Latest posts by Charanjit Cheema (see all)
  • How to optimize the performance of Ansible Automation Platform or Ansible Tower - July 16, 2023
  • How to fix code and text file linting errors with the help of Visual Studio Code - June 27, 2023
  • How to migrate existing WordPress blog from AWS EC2 instance to Amazon Lightsail - May 29, 2023

Like this:

Like Loading...

Related

2 thoughts on “HPACU Utility Tips for Linux”

  1. Aswani Kumar says:
    April 10, 2018 at 2:53 pm

    Yes, Its very informative

    Loading...
    Reply
    1. Charanjit Cheema says:
      May 11, 2018 at 1:31 am

      Thanks Aswani.

      Loading...
      Reply

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Tags

AWS Cloud Computing Dockers Networking Open Networking OpenSource RHEL-CentOS SDN Server Hardware SLES tcpdump Ubuntu WSL

Follow me @

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 2 other subscribers

Recent Posts

  • How to Deploy Docker Containers with NGINX on AWS EC2 Using Ansible and GitHub Actions
  • No More DynamoDB! Use Native S3 locking for Terraform State
  • How to Bring and Manage Manually Created AWS Resources Under Terraform Management
  • Iterating Cloud Resource Provisioning Using Terraform Count and For_Each Meta-Arguments
  • Terraform and Ansible Collaboration for AWS Cloud Deployment

Recent Comments

  1. Charanjit Singh on Terraform and Ansible Collaboration for AWS Cloud Deployment
  2. christinatodd2020aeaa798563 on Terraform and Ansible Collaboration for AWS Cloud Deployment
  3. Charanjit Singh on How to Set password policy in CentOS or RHEL system
  4. SAURABH on How to recover or rebuild initramfs in CentOS 7 Linux
  5. Sangita on How to Set password policy in CentOS or RHEL system

Archives

  • April 2025
  • February 2025
  • January 2025
  • August 2024
  • July 2024
  • June 2024
  • January 2024
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • September 2022
  • August 2022
  • July 2020
  • May 2020
  • February 2020
  • November 2019
  • June 2019
  • May 2019
  • March 2019
  • February 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • June 2018
  • May 2018
  • April 2018

Categories

  • Automation
  • Cloud Computing
  • Coding
  • CyberSecurity
  • Networking
  • OpenSource
  • RHEL-CentOS
  • Server Hardware
  • SLES
  • Technical Blog
  • Ubuntu
  • WSL

Blog Stats

  • 18,353 hits
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Home
  • About Me!
  • Way to my Technical Blog
  • Contact me
  • Privacy Policy
© 2025 Welcome To Charanjit Cheema Blog | Powered by Superbs Personal Blog theme
%d