|Subject:||Adaptec management tools|
|From:||Charles Sprickman (spo...@fasttrackmonkey.com)|
|Date:||Aug 19, 2005 11:17:52 pm|
On Tue, 9 Aug 2005, Scott Long wrote:
A lesson on Adaptec apps:
Storage Manager - X/Motif app for managing DPT Gen5+6 and Adaptec 2005/2015/2100/2110/3xxx controllers (note that this list does not include the 2120 and 2200 or any of the newer SATA controllers). I think that there might have been a FreeBSD version at some point, but it's honestly been too many years for me to remember or care. The sources had proprietary pieces that could not be released.
Well, I've settled on the above. Since someone posted this to bsdnews via bsdforums, I thought I should outline what I did to get a somewhat workable and simple method of working on arrays remotely. I do not want to deal with a full X11 install on a bunch of servers, so I started poking around with ldd to see what "dptmgr" (Storage Manager) depended on as far as X libs were concerned. I ended up making a tarball of the required files after unpacking the XFree86 libraries and clients packages for 4.11 into a temporary directory. The contents are listed at the end of this email. So my current process of getting this going on each new box is:
-unpack my tarball in / -ldconfig -m /usr/X11R6/lib (not needed subsequently, this directory is found and scanned on boot) -add "kern.ipc.shmmax=33554433" to /etc/sysctl.conf (dpt* needs it) -make sure sshd is setup to allow X forwarding
To test it, simply ssh to the box and request X forwarding ("ssh -X myhost"), su to root (you should use "su -m" to keep xauth happy), then run "/usr/local/dpt/dptmgr". In a few moments you should see the Storage Manager screen come up with a physical view of the controller and drives.
It's not much of a "solution", but it gives me what I want and only takes up about 5MB on the system - that's much lighter than letting the asr-utils port go and build most of the X11 system. Of course you can also just try your luck with raidutil, but it has zero foot-shooting protection.
I've used both a FBSD box running Xorg and an OS-X box running Apple's X11 to verify that this works.
Here's what's in the tarball I use:
usr/X11R6/lib/ usr/X11R6/lib/libXmu.so.6 usr/X11R6/lib/libXt.so.6 usr/X11R6/lib/libX11.so.6 usr/X11R6/lib/libSM.so.6 usr/X11R6/lib/libICE.so.6 usr/X11R6/lib/libXext.so.6 usr/X11R6/lib/libXThrStub.so.6 usr/X11R6/lib/libXm.so.1 usr/X11R6/lib/libXau.so.0 usr/X11R6/lib/libXmuu.so.1 usr/X11R6/bin/ usr/X11R6/bin/xauth usr/local/dpt/ usr/local/dpt/raidutil usr/local/dpt/dpteng usr/local/dpt/dptcom usr/local/dpt/dptsig usr/local/dpt/read.me usr/local/dpt/dptcom.chk usr/local/dpt/dptmgr.ini usr/local/dpt/dptmgr usr/local/dpt/dptmgr.rsc usr/local/dpt/dptscom usr/local/dpt/dptmgr.hlp
I fetched the dpt tools from here: