How do I get Adaptec Storage Manager to work with Ubuntu 7.10?
Posted in Storage Management under Linux by Phil Wilson
Philippe wrote:-
I am experiencing problems getting the Adaptec Storage Manager software to install on the 32 bit version of Ubuntu 7.10 “Gutsy Gibbon”. The OS is working fine and sees all the arrays but the management software seems to be designed for Redhat or SuSE distrubtions. Can you help at all?
The Adaptec Storage Manager (ASM) software is posted on our support site in rpm format but should work with many distributions. I gave it a try in my lab with both 32 and 64 bit Ubuntu 7.10 and found the following procedure worked for me.
-
Download the latest version of Adaptec Storage Manager for Linux (choose the 32 or 64 bit version depending on the installation) from http://www.adaptec.com/support. At the time of writing, the latest release is version 5.20 build 17414. Save the rpm file somewhere.
-
Check if you have the alien command available and if not, install it (“sudo apt-get install alien” worked for me)
-
Convert the downloaded rpm file to deb format using the alien command so in my case on a 32 bit installation, “sudo alien –scripts asm_linux_x86_v5_20_17414.rpm” which produces file “storman_5.20-1_i386.deb” (don’t forget the –scripts parameter).
-
Install the deb file. I used “sudo dpkg –i storman_5.20-1_i386.deb”
This will install Adaptec Storage Manager (the installation directory is /usr/StorMan) and start the agent. The installation script does not however configure the rc scripts so it is necessary to take some manual steps to make sure the agent is started automatically on boot. Additionally, Ubuntu seems to boot to run level 2 by default, however the Adaptec Storage Manager startup scripts are configured to run the ASM agent in run levels 3 and 5. To allow the agent to start in run level 2 and setup the rc scripts, follow these steps.
-
Edit the /etc/init.d/stor_agent file. Identify the lines beginning #Default and change them to match the following
# Default Start: 2 3 5
# Default Stop: 0 1 6
(This removes run level 2 from “stop” and adds it to “start”).
-
Check that /etc/init.d/stor_agent is executable and run the update-rc.d script “sudo update-rc.d stor_agent defaults”
To start the Adaptec Storage Manager GUI, run the script /usr/StorMan/StorMan.sh. When prompted to login, Adaptec Storage Manager treats any “non root” user as a “guest” with look but can’t touch privileges. To make changes within Adaptec Storage Manager (create / delete arrays etc) it is necessary to login to Adaptec Storage Manager using root which will require the root password to be set to something known.
Thanks for reading,
Phil
December 12th, 2007 at 9:29 pm
Hi,
I have tried your procedure and it hangs on the convert step. I am using Ubuntu 7.10 64 bit.
Here is the output :
mipam@origin:~$ sudo alien -v –scripts asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{SUMMARY} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{POSTIN} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{NAME} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{POSTUN} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{PREUN} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{RELEASE} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{PREFIXES} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{CHANGELOGTEXT} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{COPYRIGHT} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{DESCRIPTION} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{ARCH} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{VERSION} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qp –queryformat %{PREIN} asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qcp asm_linux_x64_v5_20_17414.rpm
rpm -qpi asm_linux_x64_v5_20_17414.rpm
LANG=C rpm -qpl asm_linux_x64_v5_20_17414.rpm
mkdir StorMan-5.20
chmod 755 StorMan-5.20
rpm2cpio asm_linux_x64_v5_20_17414.rpm | (cd StorMan-5.20; cpio –extract –make-directories –no-absolute-filenames –preserve-modification-time) 2>&1
Unpacking of ‘asm_linux_x64_v5_20_17414.rpm’ failed at /usr/share/perl5/Alien/Package/Rpm.pm line 153.
find StorMan-5.20 -type d -exec chmod 755 {} ;
rm -rf StorMan-5.20
MM
December 13th, 2007 at 1:42 pm
This procedure doesn’t work. Why was my comment about it not working been deleted?
Another point your line containing : sudo alien –scripts asm_linux_x86_v5_20_17414.rpm
should be: sudo alien –-scripts asm_linux_x86_v5_20_17414.rpm
December 16th, 2007 at 1:22 pm
Thanks a lot for this article.
Just one suggestion. If you want use arcconf from /usr/StorMan, it’s necessary to put line “/usr/StorMan” into /etc/ld.so.conf and then run ldconfig.
Arcconf uses bundled library libstdc++.so.5.
Tested on Ubuntu 7.10 Gutsy.
December 20th, 2007 at 10:24 pm
Sorry about whining, it works like a charm now on both 63 bit and 32 bit.
Thanks!
December 21st, 2007 at 11:10 am
Thanks for the suggestions and corrections. Sorry I haven’t responded sooner but have been traveling.
I found the editor I use unhelpfully turns two short hyphens into one longer one! I’ll watch out for that in future - I hope it didn’t cause too much grief - thanks for pointing this out Mipam.
Thanks to Pavel for the tip regarding the libraries that arcconf uses and the dynamic linker.
December 30th, 2007 at 5:57 pm
Would it be possible to supply this package as an ubuntu package as well as an RPM one?
And possibly supply it to one of the main repositories too?