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
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
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
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

Forum 













Author



Logged









