Thursday, March 4, 2010

adaptec CLI management tool

Recently I had to install adaptec CLI management tool on an ubuntu 8.10 amd64 server. Despite the fact that aacraid driver is present in kernel, it took me a lot of time to find the management tools that allow to see the RAID status and manipulate it from command line. There are several names for the tools: afacli, aaccli, afaapps, afa-apps-snmp, arcconf, hrconf... oh my!
After I found the necessary tools (64bit arch), I packaged them into a tiny deb package adaptec-utils_0.0.1_amd64.deb, which can be downloaded from here: DELETED_AS_REDISTRIBUTION OF BINARIES_IS_PROHIBITED_BY_ADAPTEC

Also, I wrote a simple monitoring script (included in the deb package) that checks the state of the Adaptec RAID system and sends out an email if any of the published indicators is wrong (battery, failed disks, etc). The script can be downloaded from here:
http://skliarie.meshanet.com/skliarie_blog/adaptec-utils/adaptec_check.sh

Note that the script requires proprietary binary files to be installed. See the beginning of the script for the details.

9 comments:

Martin Bagge / brother said...

Are you alloweed to publish the binary file included in that deb?

Arie Skliarouk said...

I downloaded the RPM from the following URL: http://www.adaptec.com/en-us/speed/raid/aac/linux/aacraid_drv_1_1_5-2420_rpm.htm

There is an EULA before you can download the RPM, IANAL but I haven't seen anything in there that would prevent me from redistributing the rpm or parts of it.

Martin Bagge / brother said...

The EULA reads:

"Restrictions. This Software contains trade secrets and in order to protect them you may not: (1) distribute copies of the Software in any manner, including, but not limited to, distribution through web site posting; (2) decompile, reverse engineer, disassemble, or otherwise reduce the Software to a human perceivable form; (3) MODIFY, ADAPT OR TRANSLATE THE SOFTWARE INTO ANY OTHER FORM; (4) RENT, LEASE, LOAN, RESELL FOR PROFIT, OR CREATE DERIVATIVE WORKS BASED UPON THE SOFTWARE OR ANY PART OF IT. These requirements apply to European Consumers."

Arie Skliarouk said...

Ok, I removed the link to the deb file. Thanks for pointing that out.

Unknown said...

The script is no more downloadable :\

Arie Skliarouk said...

The script is hosted on my home server which sits on an ADSL line.

Anonymous said...

Thanks but I was using this instruction - http://sysadmin.te.ua/linux/aacraid-monitoring.html . There is much more info about Adaptec AAC-Raid monitoring.

karls0 said...

Hi,
I am interrested in your script, but I cannot get a connection to your server. The tip from anonymous does not help me either, since I do not speak russian :-(

Can you check the link again or give another way to get your script?

Regards, Karl

Arie Skliarouk said...

@Karl: send me your email pls (it is in my CV, on front page of the blog).