?
Solved

Command line info for HP Array Controllers

Posted on 2011-10-15
12
Medium Priority
?
1,534 Views
Last Modified: 2012-05-12
Hello,

I am looking for a way to gather some information from a command line on an HP server (2003/2008) with a P700 or P800 Array Controller.

What I need the commands to do:
-  These can all be separate commands –

1. I need to be able to query a specific hard drive and read the status, capacity, and serial number.  
If there is any way to pull the HP Spare Part number that would be an added bonus!

Output something like:
Port 2E : Box 1 : Bay 17
Status: Failed
Size: 750 GB
Serial Number: 99999999


2. Next I would like to be able to turn on the drive ID light for the drive in question.
Run the command and the LED for Port 2E : Box 1 : Bay 17 turns blue.

3. I would like a command that can query all drives on the controller and report back any that are failed or predictive failure.

Output something like:
Port 1I : Box 1 : Bay *
  - bay 1: failed
  - bay 9: predictive failure

Port 2E : Box 1 : Bay *
  - bay 4: failed
  - bay 19: predictive failure
  - bay 32: predictive failure

Port 3E : Box 2 : Bay *
  - bay 12: failed
  - bay 22: failed

What I have available to me:
Standard OS tools
Bin\hpacucli.exe
Bin\hpacuscripting.exe
HP SmartStart Scripting Toolkit
I have lots of other things available, If you know of a tool that will do this I can check the servers and see if they are there.

I know that this is possible because I have seen it done at another company I worked at, unfortunately they didn’t share the knowledge.  
All I was able to find out is that it was not any special third party tool, it was all Windows and HP.

Thank you all in advance!
0
Comment
Question by:ednetman
  • 7
  • 4
12 Comments
 
LVL 17

Expert Comment

by:Gerald Connolly
ID: 36989083
Does this look what you need?

http://h18000.www1.hp.com/products/servers/proliantstorage/software-management/acumatrix/

The HP Array Configuration Utility (ACU) provides online, high availability configuration, management, and diagnostic capabilities in support of all Smart Array products and particular HP ProLiant Storage RAID Array Controllers. The software consistency of the related tools reduces the cost of training for each successive generation of product and takes much of the guesswork out of troubleshooting field problems. These tools lower the total cost of ownership by reducing training and technical expertise necessary to install and maintain HP server storage.

ACU, and its family of tools, are provided in various forms:

As a graphically rich, web-based application
HP Array Configuration Utility
As a command-line application
HP Array Configuration Utility (CLI)
As a capture/deploy scripting application
HP Array Configuration Utility (Scripting)
Note: This application is delivered with the HP Array Configuration Utility (CLI) packages
The HP Array Diagnostic Utility (ADU) is part of the ACU family, and since ACU versions 8.28.13.0, ADU functionality has also been integrated into ACU and HPACUCLI.
In ACU, this feature is accessible through the Diagnostic Tab
In HPACUCLI, this feature is accessible through the diag command
The Diagnostic Utility is also available as a stand-alone deliverable
HP Array Diagnostic Utility (CLI)
0
 
LVL 7

Author Comment

by:ednetman
ID: 37009177
This is what I have installed, just need the commands to output the information the correct information from the HPACUCLI.
0
 
LVL 17

Accepted Solution

by:
Gerald Connolly earned 1000 total points
ID: 37009376
0
Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

 
LVL 7

Author Comment

by:ednetman
ID: 37010234
This is a step in the right direction. It's written for Linux not Windows Server 2003/2008 but I am going to try the comands tomorrow.
0
 
LVL 17

Expert Comment

by:Gerald Connolly
ID: 37011762
It's written for Linux NO, its run on Linux but the HPACUCLI commands will be the same
0
 
LVL 7

Author Comment

by:ednetman
ID: 37011830
I mean the guide was written for Linux. It says to install RPMs, etc.
0
 
LVL 17

Expert Comment

by:Gerald Connolly
ID: 37011891
You asked for commands, and although the example was on linux the HPACUCLI command examples were what i was pointing at!
0
 
LVL 7

Author Comment

by:ednetman
ID: 37012183
Yeah, the commands are almost identical. I am working with it, but there are some diffs. Hopefully I can figure this out. This got me a lot closer!

:-)
0
 
LVL 7

Author Comment

by:ednetman
ID: 37063285
The drives IDs are a little differant under Linux, but with some messing around and expermenting I have been able to get the first and third parts working.  Still can't light the Drive LED.  I must be doing something wrong.
0
 
LVL 56

Expert Comment

by:Handy Holder
ID: 37193276
It's rumoured that you can literally write your name in lights if you stack up enough servers and disks on top of each other and make the LEDs flash, but really you're just making 7 segment displays in the cloud.
0
 
LVL 7

Author Comment

by:ednetman
ID: 37199209
Nice thought!  
These are all single segment LEDs with three color phases Red / Green / Blue

Green = Normal Activity
Red = Failed or Failing
Blue = Drive ID (Used to identify the drive when in a large cluster)

I can turn the UID on by launching the GUI and clicking on the drive itself, but I can't seem to get the drive to light up via this command line tool.

Any ideas?  Anyone with an HP server running 2003 or 2008 server that can figure this out and post the command used?
0
 
LVL 7

Author Closing Comment

by:ednetman
ID: 37683784
It was just a link that pointed me in the right direction, not a complete answer.  I was only able to get two out of three parts working.

Expert got a little snippy when I stated that the guide was written for Linux and that some of the commands differed under server 2003/2008.  I also discovered that differant versions of the application had a few variations as well.
0

Featured Post

SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While Plesk offers many potential benefits to website administrators, including compatibility with Windows Server and other leading technologies, the company has also been working to differentiate it from other control panels for content management…
As the cloud has become an integral part of enterprises’ workflow worldwide, there is an increasing demand for cloud managed service providers that can bring the expertise to the process and help enterprises maximize their investment in the cloud.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

599 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question