LSI Megaraid Manager request?

757 views
Skip to first unread message

Todd Hunter

unread,
May 30, 2013, 4:31:51 PM5/30/13
to esos-...@googlegroups.com

Since we are talking addtions/changes.  Any chance you can add the ability to manage the LSI cards remotely from MegaRaid Storage Manager.  Currently I have restart the box to access advanced features such as CacheCade and such. 

Todd

Marc Smith

unread,
May 30, 2013, 4:47:16 PM5/30/13
to esos-...@googlegroups.com
No plans on adding that package currently... the MegaCLI tool on the command-line doesn't give you the CacheCade and advanced features?


--Marc


On Thu, May 30, 2013 at 4:31 PM, Todd Hunter <todd.d...@gmail.com> wrote:

Since we are talking addtions/changes.  Any chance you can add the ability to manage the LSI cards remotely from MegaRaid Storage Manager.  Currently I have restart the box to access advanced features such as CacheCade and such. 

Todd

--
You received this message because you are subscribed to the Google Groups "esos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to esos-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Mahir Yaylacioglu

unread,
Feb 22, 2014, 6:08:05 PM2/22/14
to esos-...@googlegroups.com
Hi Todd,

here are good news. Using MSM under esos is possible, but you need a Linux System (i use Centos6.2 as described in the Wiki) for injecting the MSM to the esos image before or after running running ./install.sh.
You can mount your esos system from the USB device or as i prefer mount the image with a loop device.

in your Linux Machine do the following:

1. Download MSM for Linux_x64
2. untar the package 
3. extract the MegaRaid_Storage....noarch.rpm  
4. Now you in the subfolder where the files are extracted  /etc, /opt and /usr

5. mount the esos image as loopdevice. this is done by changing to the esos install directory and run kpartx -av -s IMAGENAME.
you should now have generated loop devices in /dev. you can check this with losetup -a, the output is like this: /dev/loop0 ......

6. mount the partition2 from the image: mount /dev/mapper/loop0p2 /mnt (or whereever you like)
7. copy all the extracted files to /mnt
8. change to /mnt/etc/init.d
create a file named msm_profile (touch msm_profile) and insert the following by using vi msm_profile

----------------------------------------
MSM_HOME="/usr/local/MegaRAID Storage Manager"
export MSM_HOME
PRODUCTNAME="MegaRAID Storage Manager"
export PRODUCTNMAME
MSM_PRODUCT=MSM
export MSM_PRODUCT
------------------------------------------------------------

Use ESC :wq to write and exit.

9. change to /mnt/etc and generate a file named pre-scst_xtra.conf (this is for autorun at startup)
the content of the file should look like this:

--------------------------------------------------
#! /bin/bash
/etc/init.d/vivaldiframeworkd start
----------------------------------------------------

(again without the ------------------)

save the file and exit.

10. to umount the image run umount /mnt and then destroy the loopdevice by running kpartx -dv IMAGENAME (or just unmount /mnt depends on if you waork on the image or on the USB device itself)
11. write your USB Device if nessacary,
12. Start your ESOS Machine and enjoy.


If you want inject the MSM more unique to esos you should not use init.d insted you should use rc.d for msm_profile and rename vivalidframeworkd to rc.msm (you need to edit rc.msm because of the msm_profile path).
also the pre-scst_xtra.conf content would chnage to /etc/rc.d/rc.msm.

the SNMP part of esos is not working yet (r757) so the MSM package would not work - no need to inject these files at the moment.

Todd Hunter

unread,
Mar 18, 2014, 12:29:49 PM3/18/14
to esos-...@googlegroups.com
Mahir,

Thank you for the detailed explanation.  I use SUSE and and the commands for creating the loopback did not work.   Unfortunately I have only minimal knowledge of Linux so its a learn-as-you-go process. 

Could the install files be copied to esos and the install.sh run from there?  Or can I mount the USB in SUSE and copy the files then follow the remainder of your instructions.  If so where would I copy the files too?

Sorry if this is all too basic...

Todd Hunter

unread,
Mar 19, 2014, 6:44:50 PM3/19/14
to esos-...@googlegroups.com

I am having some difficulties copying the 2 files that go into /etc/init.d.  I could not see the init.d folder from my Suse desktop.  I copied the files over to a folder on the USB with the intent of moving them from shell once the server was up.

However from shell I get the error "no such file or dir"
cd /etc/init.d

So what am I missing here?


Mahir Yaylacioglu

unread,
Mar 30, 2014, 4:07:27 PM3/30/14
to esos-...@googlegroups.com
---------------------------------------------

/etc/init.d is not there in esos. you should make the dir before or just do a symlink from /etc/rc.d to /etc/init.d on ESOS.
the startupscript for this is vivaldiframeworkd and sghould be in /etc/rc.d on ESOS because the script searches for this dir while loading the config.

also there is a matter for the configfiles for MSM. they will not be backed up with conf_sync.sh.

you should make a dir /etc/msm/ and symlink /usr/local/MegaRAID Storage Manager/MegaMonitor to /etc/msm/MegaMonitor
and /usr/local/MegaRAID Storage Manager/MegaPlugin to /etc/msm/MegaPlugin.

lrwxrwxrwx    1 root     root            20 Mar 15 17:43 MegaMonitor -> /etc/msm/MegaMonitor
lrwxrwxrwx    1 root     root            22 Mar 15 17:43 MonitorPlugin -> /etc/msm/MonitorPlugin


If i have some time i will build a ready rpm for this but not erlier than in 10 weeks.

Todd Hunter

unread,
Apr 1, 2014, 10:44:08 AM4/1/14
to esos-...@googlegroups.com
Thanks for the response Mahir.

I was able to figure it out.  I am used to SUSE which has the /etc/init.d/ but realized I had to create it with esos.

I have it running but I cannot connect to it from another machine.  It starts, I don't see any errors, and I can see  sh /usr/loca/MegaRAID Storage Manager in the top command. 

When looking around I found some threads related to it binding to the loopback interface and not being accessible.  Not sure what do as there was no solution mentioned.

Todd

Todd Hunter

unread,
Apr 8, 2014, 2:14:55 PM4/8/14
to esos-...@googlegroups.com
One small note.   In step #9 

9. change to /mnt/etc and generate a file named pre-scst_xtra.conf (this is for autorun at startup)
the content of the file should look like this:

The correct file name is pre-scst_xtra_conf


Todd

Todd Hunter

unread,
Jun 26, 2014, 9:48:00 PM6/26/14
to esos-...@googlegroups.com

I have the MSM installed on ESOS but I cannot connect from my client.

When I run
cd /etc/init.d
./vivaldiframeworkd status

It shows "Framework is running..."

I have been researching possible solutions but I am coming up empty. 

Does anyone have this working on there esos box?

Todd


Reply all
Reply to author
Forward
0 new messages