As ServeRAID is distributed in RPMs we'll obviously need alien and fakeroot for conversion, so install these packages: Code: $ sudo apt-get install alien fakeroot We also need the libstdc++ compatibility libraries: Code: $ sudo apt-get install libstdc++5 Something in the ServeRAID agent expects sort to be in /bin. However, in Ubuntu it's only in /usr/bin, so we'll create a symbolic link to fix this: Code: $ sudo ln -s /usr/bin/sort /bin/sort From the ServeRAID Application CD (aka the ServeRAID Management CD), copy the RPM containing the software for your architecture to your home directory. For example: Code: $ cp /media/cdrom/linux/manager/RaidMan-9.00.i386.rpm . Now, use alien in a fakeroot to convert the RPM package to a debian package: Code: $ fakeroot alien -c RaidMan-9.00.i386.rpm Next, we need to tweak some of the scripts inside the package to work properly on Ubuntu. Make a directory structure to extract the debian package into, and extract the package along with its control scripts: Code: $ mkdir -p raidman_9.00-1_i386/DEBIAN $ dpkg -x raidman_9.00-1_i386.deb raidman_9.00-1_i386/ $ dpkg -e raidman_9.00-1_i386.deb raidman_9.00-1_i386/DEBIAN Open the post-install (postinst) script with your favourite editor: Code: $ vim raidman_9.00-1_i386/DEBIAN/postinst Remove the following line Code: chkconfig --add raid_agent Open the post-remove (postrm) script with your favourite editor: Code: $ vim raidman_9.00-1_i386/DEBIAN/postrm Remove the following line Code: chkconfig --del raid_agent Now repackage the extracted content back into the debian package: Code: $ dpkg -b raidman_9.00-1_i386/ raidman_9.00-1_i386.deb Install the new package: Code: $ sudo dpkg -i raidman_9.00-1_i386.deb With a bit of luck the install should go smoothly and the background RAID agent ought to start automatically. You can control the RAID agent with the /etc/init.d script like so: Code: $ sudo /etc/init.d/raid_agent stop $ sudo /etc/init.d/raid_agent start Should you need to perform this installation on any other servers, simply copy and re-use the debian package.
arcconf GETCONFIG 1 LD