www.mamboteam.com
Debian Linux (on HP)  
Home arrow Forum
Friday, 30 July 2010
 
 
HP Array Configuration Utility - commandline version - Howto

gfx* Home Help Search Calendar Login Registergfx
Debian on HP, Linux  |  Debian on HP (HP software: agents, drivers and such)  |  HP Array Configuration Utility  |  HP Array Configuration Utility - commandline version - Howto « previous next »
Pages: [1] Print
Author Topic: HP Array Configuration Utility - commandline version - Howto  (Read 11409 times)
mutombo
Administrator
Sr. Member
*****
Offline Offline

Posts: 72


View Profile
HP Array Configuration Utility - commandline version - Howto
« on: April 23, 2005, 01:04:32 am »

Here we go again.
This is a pretty easy task this time.

1.) Requirements

we need alien for rpm conversion.
Code:
apt-get install alien

now download the rpm:
Code:
wget ftp://ftp.compaq.com/pub/products/servers/supportsoftware/linux/hpacucli-7.20-16.linux.rpm
there already a -17 version, but i installed this some months ago and didnt tried the new one yet.
if someone tried the -17 please let my know.

there 2 ways to install:

2.) The short way

Code:
alien hpacucli-7.20-16.linux.rpm
hpacucli_7.20-17_i386.deb generated
dpkg -i hpacucli_7.20-17_i386.deb

thats it.

3.) The long road

now convert the rpm to tgz with alien.
Code:
alien -t -c  hpacucli-7.20-16.linux.rpm
hpacucli-7.20.tgz generated
tar -xzf hpacucli-7.20.tgz

the installscripts are not really needed, you can execute doinst.sh, it will check if your cpqarray driver is correct.

now copy the files:

Code:
cp usr/sbin/hpacucli /usr/sbin/
mkdir /opt/compaq/hpacucli/bld
cp opt/compaq/hpacucli/bld/* opt/compaq/hpacucli/bld/ -R

done.

4.) Usage

start hpacucli and ready through the help.
its pretty easy.
i used it to add 2 disk to an array.
then extended the logical to full size of the array.
if done this while the system was still running and in normal use.
this took quite some time, but worked very well.
after this i bootet with a rescuedisk and used fdisk and resizefs to extend the partitions.


so who needs the hpacu webinterface, real admins do it commandlinestyle  Wink

« Last Edit: April 23, 2005, 01:09:21 am by mutombo » Logged
owen
Newbie
*
Offline Offline

Posts: 3


View Profile
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #1 on: June 24, 2005, 07:41:28 pm »

Thsi didnot work for me... Mind you this was on a woody box... Is this howto based on a sarge install??
Alex Owen
Logged
lunarg
Administrator
Sr. Member
*****
Offline Offline

Posts: 61


View Profile WWW
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #2 on: June 29, 2005, 04:53:06 pm »

All howto's are based on Sarge, unless otherwise mentioned.
Logged

mick
Full Member
***
Offline Offline

Posts: 21


View Profile
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #3 on: July 27, 2005, 02:17:57 pm »

Followed your instruction (short way) - no error message during install - but calling hpacucli only brings the following message:

/opt/compaq/hpacucli/bld/.hpacucli: relocation error: /opt/compaq/hpacucli/bld/libcpqimgr.so: undefined symbol: __vt_3ios
Logged
mutombo
Administrator
Sr. Member
*****
Offline Offline

Posts: 72


View Profile
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #4 on: August 01, 2005, 02:19:49 pm »

interesting Smiley

Code:
ldd  /opt/compaq/hpacucli/bld/libcpqimgr.so
        libpthread.so.0 => /lib/libpthread.so.0 (0x40026000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40077000)
        libm.so.6 => /lib/libm.so.6 (0x400c0000)
        libc.so.6 => /lib/libc.so.6 (0x400e3000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

take a look with ldd please if all your libaries are there.

i've running this on sarge with kernel  2.4.27-2-686-smp.
Logged
mick
Full Member
***
Offline Offline

Posts: 21


View Profile
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #5 on: August 01, 2005, 04:39:01 pm »

Code:
ldd  /opt/compaq/hpacucli/bld/libcpqimgr.so
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4002a000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x4003a000)
        libm.so.6 => /lib/tls/libm.so.6 (0x40120000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40142000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40277000)

Kernel: 2.6.8-2-686-smp
Logged
mutombo
Administrator
Sr. Member
*****
Offline Offline

Posts: 72


View Profile
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #6 on: August 01, 2005, 04:48:20 pm »

Code:
ldd  /opt/compaq/hpacucli/bld/libcpqimgr.so
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4002a000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x4003a000)
        libm.so.6 => /lib/tls/libm.so.6 (0x40120000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40142000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40277000)

Kernel: 2.6.8-2-686-smp


in this case i would blame the kernel.
everything else seems similar.
Logged
Fossi
Jr. Member
**
Offline Offline

Posts: 10


View Profile
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #7 on: September 16, 2005, 03:09:56 pm »

Hi,
I'm running a 2.6 kernel on a dl380g3
The installation works fine and without error messages.
But when I start the hpacucli it does not detect any controllers, did I forget to do something?

thanx
Logged
Panther_1
Newbie
*
Offline Offline

Posts: 2


View Profile
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #8 on: September 21, 2005, 02:32:41 pm »

Ok here is the Solution:

Install  libstdc++2.10-glibc2.2 or any libstdc++ for gcc 2.95 because te tool is build with 2.95 .


My Insatll way was:

download rpm
extract files via mc from rpm

apt-get install libstdc++2.10-glibc2.2

run  the tool.

Distribution: Debian Edge
Kernel:  2.6.13.1


« Last Edit: September 21, 2005, 03:33:11 pm by Panther_1 » Logged
David Bosque
Newbie
*
Offline Offline

Posts: 3


View Profile
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #9 on: April 23, 2006, 10:29:44 pm »

Hello,

I have a Compaq Smart Array 3200 controller running on a home-built server (not hp or compaq). I have successfully installed the "hpacucli" and it does not give me any error, however, I cannot make any array as the controller is not detected:

Code:
# hpacucli
Not a HP ProLiant Server!
HP Array Configuration Utility CLI 7.20.16.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.

=> controller all show

   No controllers detected.

=>

However, the controller is being seen by debian:

Code:
# dmesg |grep -i cpq
cpqarray: Device 0xae10 has been found at bus 2 dev 0 func 0
cpqarray: Finding drives on ida0 (Smart Array 3200)

Code:
#  cat /proc/driver/cpqarray/ida0
ida0:  Compaq Smart Array 3200 Controller
       Board ID: 0x40320e11
       Firmware Revision: 4.16
       Controller Sig: 0xab7f67ab
       Memory Address: 0xe0859000
       I/O Port: 0xc000
       IRQ: 177
       Logical drives: 0
       Physical drives: 0

       Current Q depth: 0
       Max Q depth since init: 0

Logical Drive Info:
nr_allocs = 1
nr_frees = 1

When I boot up the system it says:

1785 - Slot 5 Drive Array Not Configured
Run Compaq Array Configuration Utility

Can anyone tell me how to create arrays on this controller if you don't have a proliant server and, thus, you're not able to use the SmartStart CD? It would be a lifesaver  Wink

Regards,
David
Logged
mutombo
Administrator
Sr. Member
*****
Offline Offline

Posts: 72


View Profile
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #10 on: April 24, 2006, 03:47:48 pm »

sorry i never tried a smartyarray outside a HP server, possibly the tool checks back that your working on HP hardware or something.

but you should be able to config your array via bios.
while you getting this error:
Code:
1785 - Slot 5 Drive Array Not Configured
Run Compaq Array Configuration Utility

you should be able to press F8 somewhere there and start the config menu.
Logged
David Bosque
Newbie
*
Offline Offline

Posts: 3


View Profile
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #11 on: April 24, 2006, 09:01:55 pm »

Code:
1785 - Slot 5 Drive Array Not Configured
Run Compaq Array Configuration Utility

you should be able to press F8 somewhere there and start the config menu.

Thanks mutombo. It looked promising, but I've tried it several times with F8 and other "F" keys but nothing, it boots to grub and I can't configure the array. Any other ideas? Anyone with one of this cards on a non-hp server? Are the windows utilities for hp servers only as well? I could try to install it on a windows box and configure it from there with hp's utilities... Anyway, it's quite a pain that the hpacucli doesn't work... Huh

Regards,
David
Logged
David Bosque
Newbie
*
Offline Offline

Posts: 3


View Profile
Re: HP Array Configuration Utility - commandline version - Howto
« Reply #12 on: April 25, 2006, 11:31:49 pm »

I finally made it! For the records I'll say what I did.

I had to put the card and the disks in another machine (a normal pc) that had windows xp installed. From windows, I inserted the "SmartStart CD 5.5 " and opened a program called "CPQACU.EXE". It detects the controller without having to install any drivers for the controller. From there, you have a GUI to do everything you want with your disks.

I hope it's helpful for someone, as I've been googling for this for days and haven't seen it mentioned anywhere.

Regards,
David
Logged
Debian on HP, Linux  |  Debian on HP (HP software: agents, drivers and such)  |  HP Array Configuration Utility  |  HP Array Configuration Utility - commandline version - Howto « previous next »
Pages: [1] Print 
Jump to:  
Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media
Joomla Bridge by JoomlaHacks.com

Apollo design by Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.058 seconds with 20 queries.
 
Top! Top!