I needed to run LSI MegaRaid Storage Manager (vivaldiframework) for my LSI 9260-8i SAS card in my Ubuntu Server I built to use as a Fiber Channel SAN (see: Linux Fibre Channel SAN). Ubuntu is based on Debian so this may also work to get LSI MegaRaid Storage Manager on Debian as well, but I have not yet tried it yet. It took some work but I go it to install so I thought I would tell you how I did it. It is assumed that in the following, when editing a file you are doing it with superuser rights such as opening the files from the comand prompt with "sudo nano /path/to/file/file" or "sudo vi /path/to/file/file"
root account:
If the root account has not been enabled, it will need to be enabled and have a pasword set
Ads disabled for Justin
Google AdSense 250x250
sudo passwd root
sudo passwd -u root
Install prerequisites:
sudo apt-get install alien libstdc++5 rcconf
You need to download the Linux build from LSI (http://www.lsi.com/support/pages/download-results.aspx?component=Storage+Component&productfamily=RAID+Controllers&productcode=P00066&assettype=Management+Software+and+Tools&productname=MegaRAID+SAS+9260-8i). I am using 14.08.01.02_Linux-x64_MSM.tar.gz
mkdir ~/LSI
cp 14.08.01.02_Linux-x64_MSM.tar.gz ~/LSI/
cd ~/LSI/
tar xzvf 14.08.01.02_Linux-x64_MSM.tar.gz
cd disk
sudo alien --scripts *.rpm
install deb packages
sudo dpkg --install lib-utils2_1.00-8_all.deb
sudo dpkg --install megaraid-storage-manager_14.08.01-3_all.deb
edit /etc/init.d/vivaldiframeworkd and replace the line
for ((i=0, i < 20, i++))
with
for i in `seq 0 19`
edit /etc/init.d/vivaldiframeworkd and replace the line
for ((i=0, i < 20, i++))
with
for i in `seq 0 19`
edit "/usr/local/MegaRAID Storage Manager/Framework/startup.sh" and replace
LD_LIBRARY_PATH=`pwd`:/opt/lsi/Apache:/opt/lsi/Pegasus:/opt/lsi/openssl;export LD_LIBRARY_PATH
with
LD_LIBRARY_PATH=`pwd`:/opt/lsi/Pegasus:/usr/sbin/openssl;export LD_LIBRARY_PATH
configure the service to start automatically:
sudo rcconf
arrow down to the vivaldiframeworkd, if it does not have an "*" in it , hit the space bar to select it, then hit enter or tab to OK
Restart the vivaldiframeworkd service:
sudo /etc/init.d/vivaldiframeworkd restart
Now you will need to install the GUI on either a windows workstation or linux workstation. there is a install for windows that is simple and straight forward. If you want to install it on Ubuntu Desktop or Ubuntu Linux GUI environment, follow the instructions here: http://www.ithierarchy.com/ITH/node/36
Comments