Saturday, May 2, 2015

LSI / Intel RAID monitoring with LSI MegaRAID Storage Manager remotely

Remotely access your LSI based Hardware RAID with MegaRAID Storage Manager.

This how-to requires a bit of experience because i won't explain everything in detail how to use programs like WinSCP.


Tested with:
- Proxmox VE 3.2 / 3.4 / 4.2 / 
- Proxmox VE 6.04 with MSM version: 17.05.00.02
- Intel RMS25PB080


1) Prerequisites
- Server running Proxmox VE 3.4

- MS Client Windows Computer
- Download MegaRAID Storage Manager for Linux 64bit 15.03.01.00.
- Download MegaRAID Storage Manager for Windows 15.03.01.00.
- WinSCP 


2) Installation  
- Install the MegaRAID Storage manager on to your MS Windows
  Computer. Install only the MegaRAID Storage Manager Client.
  So don't choose complete installation during install.

- Transfer the downloaded 15.03.01.00_Linux-64_MSM.gz to 
  for example /home/mgm using WinSCP.

- Install Alien in order to convert rpm packages to deb packages.
  type apt-get update
  type apt-get install alien 

- got to the directory where you transfered the 15.03.01.00_Linux-64_MSM.gz
  type cd /home/mgm 

- Unpack the tar.gz
  type tar xzvf 15.03.01.00_Linux-64_MSM.gz

- change to directory disk
  type cd /disk

- Convert the rpm packages to deb packages
  type alien --scripts *.rpm

- Now we install the packages
  type dpkg --install lib-utils2_1.00-8_all.deb
  type dpkg --install megaraid-storage-manager_15.03.01-1_all.deb


- type nano /etc/init.d/vivaldiframeworkd
  make sure the first line is: #!/bin/bash

- start the vivaldiframeworkd
  type /etc/init.d/vivaldiframeworkd start

- Check with your windows computer if you can connect using the 
  MegaRAID storage Manager to the proxmox server.
  Logging in can take awhile.
  When you can connect and log in proceed to the next step.

- Now make vivaldiframeworkd also start during boot.
  type update-rc.d vivaldiframeworkd defaults 
  It will give a error, but don't worry. It will still autostart on the next reboot.


- Configure monitoring still not working
  type 
  nano /usr/local/MegaRAID/Storage/Manager/MegaMonitor/config-current.xml
  Configure with the right e-mail information.

  
  Configured this file but e-mails are not going out.  
  Maybe someone have some ideas on how to get it to work?
  

6) Final Words
  As you can see you can access your raid configuration remotely.
  Check your array's for health.
  I was able perform configuring drives and rebuild an array.

  Still not perfect because you can't set up monitoring.
  Still searching a solution for that.





9 comments:

Unknown said...

Did you manage to get monitoring working in the end?

V.Kamphuis said...

unfortunately i still don't have monitoring working.
Any ideas are welcome!

Deskwizard said...

Hi,
First of all, thank you for these instructions. I managed to have version 15.08.01.02 working on Ubuntu 14.04.3 LTS, though I had to do the following:

1) the alien command did not work if I used *.rpm. I had to do the 4* packages separately

2) the command to start vivaldi framework was: sudo service vivaldiframeworkd start


Since you said ideas we're welcome for the SNMP monitoring, I noticed in the version I am using, there are 2 additional packages with "snmp" in their name that we're not installed in your instructions, perhaps it has something to do with it ?

In case anyone stumbles on this (or I have to reinstall), here is a link to the converted RPM files.

https://drive.google.com/folderview?id=0Bz08z1XVRQVuVnQ0V0dvR01lX00&usp=sharing

I will have a try at getting SNMP working.

DW

V.Kamphuis said...

Hey DW,

Thanks for your comment.

I used alien command on several proxmox systems without a problem.
Even Proxmox 4.1 i didn't ran into any issues using this command.

I read in your message you tried to install it on a ubuntu system.
This command i only tested with proxmox.
Proxmox VE is based on Debian GNU/Linux, Proxmox VE Kernel is based on RHEL6 Kernel with OpenVZ patches.

I will have a look at your suggestion about installing the snmp packages as
soon as i have time, little busy right now ;)

Thanks for your idea!

Unknown said...

Just an FYI I loaded the most current version of MSM for Linux (16.11.00-03) dated 1/25/2017 following your instructions and it worked great, including the email alerts. Server was a Debian Jessie 8.

Got my first SENSE error alert email today :-)

Controller ID: 0 Unexpected sense: PD
= Port 0 - 3:0:1Unrecovered read error, CDB = 0x28 0x00 0x29 0x84 0x59 0x00 0x00 0x00 0x80 0x00 , Sense = 0xf0 0x00 0x03 0x29 0x84 0x59 0x00 0x0a 0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00 0x00 0x00
Event ID:113
Generated On: Thu Apr 13 16:22:00 CDT 2017

V.Kamphuis said...

Thanks for your information.

I will test it and adjust this tutorial where neccesary.
Again many thanks :)

Craig said...

Thank you! I was able to get this working, minus monitoring, on Proxmox VE 5.2.9 and MegaRaid Storage Manager 17.05.00.02. This really saved my bacon because I cannot access the MegaRaid Webbios. Loooong story...

V.Kamphuis said...

Glad it helped you out!

VicThor said...
This comment has been removed by the author.