MegaRAID Storage Manager(MSM) Installation
==========================================

The kit contains both mode of installation. The interactive and non-interactive.
To, install the product using interactive mode, the user should execute the command "./install.csh" from the installation disk.
To, install the product in a non-interactive or silent mode, the user may use the command "./install.csh [-options] [ -ru popup]" from the installation disk. The options are:
  a, for Complete installation
  c, for Client Component Only
  s, for StandAlone
  l, for Local
The "-ru popup" will remove popup from installation list.
User may also run non-interactive installation using "RunRPM.sh" command.

The installer provides the user with five types of setup option.
1. Complete - This will install all the features of the product.
2. Client Components Only - The storelib feature of the product will not be installed in this type of installation. As a result, the resident system will only be able to administer and configure all the servers in the subnet, but will not be able to serve as a server.
3. StandAlone - This option will only install components required for local server management. This system will not be discovered automatically by other MSM
   servers in the subnet and it will not discover other MSM servers in the subnet automatically. (multicasting will be disabled) But the system can connect 
   to other MSM servers by providing the ipaddress in the hostview screen and can be connected by the other MSM clients in the subnet.
4. Local - This option will install only components required for local configuration. Will not allow other systems on the network to connect to
   this server and cannot connect to other servers. This MSM installation mode only uses the loopback interface.
5. Server - This option will only install components required for remote server management.


The installation will help the user to select any of the setup type, but if the user directly run "RunRPM.sh", it will install the complete feature.

NOTE:
	1. For RHEL 5, it is necessary to install compat-libstdc++ version 33-3.x before installing rpm.
	2. For SLES-10 SP3 64bit OS, it is necessary to install libstdc++33-32bit-3.3.3-7.8.1.x86_64.rpm 
	   before installing MSM. This RPM is available in the OS DVD 
	   (path is /media/SUSE-Linux-Enterprise-Server_001/suse/x86_64)
	3. For SLES-9 32bit OS, it is necessary to install compat-libstdc++-lsb-4.0.2_20050901-0.4.i586.rpm
	   before installing MSM. This RPM is available in the OS DVD (path is /media/dvd/suse/i586)
	4. For RHEL 3, it is necessary to install the RPM libstdc++34-3.4.0-1.i386 before installing MSM.
	5. It is necessary to enable shadow password in RHEL 6 to login to MSM.
	6. Prerequisites for installing MSM on RHEL6.0 x64 operating system 
	   Before installing MSM on RHEL6.0 x64 system, Please install the following rpms,
	   Without these files/RPM's MSM may not be install properly or may not work as expected.

		libstdc++-4.4.4-13.el6.i686.rpm
		compat-libstdc++-33-3.2.3-69.i686.rpm
		libXau-1.0.5-1.el6.i686.rpm
		libxcb-1.5-1.el6.i686.rpm
		libX11-1.3-2.el6.i686.rpm
		libXext-1.1-3.el6.i686.rpm
		libXi-1.3-3.el6.i686.rpm
		libXtst-1.0.99.2-3.el6.i686.rpm
		
	    Also note that RHEL6.0 complete OS installation is required for MSM to work.
		The above mentioned rpm's come as part of RHEL6 OS DVD. These RPM's may need
	    additional dependent RPM's as well, all the dependent RPM's also must be installed on the target system.

	7. Net-SNMP rpm installation is required before we install agent rpms.
		RHEL 4.8:
			net-snmp-5.1.2-18.el4.x86_64.rpm
			net-snmp-utils-5.1.2-18.el4.x86_64.rpm
		RHEL5.4
			lm_sensors-2.10.7-4.el5.x86_64.rpm 
			net-snmp-utils-5.3.2.2-7.el5.x86_64.rpm
			net-snmp-5.3.2.2-7.el5.x86_64.rpm
		RHEL 5.3
			lm_sensors-2.10.7-4.el5.x86_64.rpm
			net-snmp-5.3.2.2-5.el5.x86_64.rpm
			net-snmp-utils-5.3.2.2-5.el5.x86_64.rpm
		RHEL 5.5
			net-snmp-5.3.2.2-9.el5.x86_64.rpm
			net-snmp-utils-5.3.2.2-9.el5.x86_64.rpm
		SLES 11
			net-snmp-5.4.2.1-8.1.x86_64.rpm
			perl-SNMP-5.4.2.1-8.1.x86_64.rpm
	8. In case you are unable to install lsi snmp agent rpms, use rpm -ivh --force *.rpm and 
	   then you can uninstall the lsi rpms using rpm -e *.rpm. 
	9. In case of problems with installing multiple rpms and get into cyclic redundancy issue,
	   one can install all rpms in one command line.
	   (Example: rpm  -ivh net-snmp-5.4.2.1-8.1.x86_64.rpm perl-SNMP-5.4.2.1-8.1.x86_64.rpm)
	10. For VMware 3.5, it is necessary to install libstdc++34-3.4.0-1.i386.rpm before installing
	   MegaRAID Storage Manager(MSM). The rpm can be downloaded from
	   http://rpm.pbone.net/index.php3/stat/4/idpl/1203252/com/libstdc++34-3.4.0-1.i386.rpm.html.
	11.For VMware 4.1, it is necessary to create a softlink as mentioned below before installing
	   MegaRAID Storage Manager(MSM). Run the below command to create the necessary soft link
	   required for MegaRAID Storage Manager(MSM) to work.
	   "sudo ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1"


Prerequisite for MSM installation:
==================================
MSM installation scripts also installs the LSI SNMP agent rpm. 
The LSI SNMP agent application depends upon standard SNMP Utils package. 
Please ensure that the SNMP-Util package is present in the system before
installing MSM. SNMP-Util package includes the rpm.s net-snmp-libs , net-snmp-utils  and
additional dependent RPM.s. Please make sure that these RPM.s are installed from the OS media before
installing the MSM.

Prior to install MSM, check for existence of libstdc++.so.5 and libstdc++.so.6
librareis are present in /usr/lib directory. If not present/ installed, 
then install the Linux software component RPM that provides these libraries.
These RPM's will be available in the OS DVD. 

Prior to executing install.csh, check for existence of /bin/csh. If
not present/ installed, then install the Linux software component RPM
that provides /bin/csh.

Suppose Lib_Utils rpm is already installed on the target system, irrespective
of the version of the MSM, uninstall the Lib_Utils rpm and then install MSM.

Prerequisites to run MSM remote admin
======================================

1. Configure the system with valid IP address. Make sure there is no IP address conflict with in the sub network.

2. Ports such as 3071 and 5571 are open and available for MSM framework communication.

3. Disable all security manager and firewall.

4. Configure the multicasting, make sure class D multicast IP addresses are registered (at least 229.111.112.12 should be register for MSM to work), if not create static route using the following command:

        route add 229.111.112.12 dev eth1.

        Note that this command will not modify the routing table to be persistent across reboots. Please follow the guidelines per operating system to add the above mentioned IP address as a static entry into the routing table to be persistent across reboots.

        You may wish to add the entire range of IP addressess (224.0.0.0 through 239.255.255.255) into the routing table. Please note that this requires procedures that varies between different flavours and versions of operating system and may have security implications.

5. Install MSM, if already installed then restart MSM framework.


CIMPlugin Support
=================
In case of networks that doesn't have DNS configured, the .hosts. file of the systems where MSM is installed must be manually edited to map the IP address & the host name of your CIMOM server.  In addition, it should also have a mapping of its own IP address (not the loop back address) and host name for the indications to be supported.


MSM Uninstallation
==================
The product can be uninstalled using "Uninstall" short-cut created in Program menu. The user may also directly run the script "/usr/local/MegaRAID Storage Manager/uninstaller.sh" to uninstall MSM.


Notes:
  1. MSM upgrade is supported in this release. In other word, this release can be upgraded by future releases.

  2. To shutdown MSM Framework service, run "/etc/init.d/vivaldiframeworkd stop".
  
  3. "Any kernel upgrade requires restart of the MSM Framework and Services"
      for example, 
      RedHat Linux command to reload or restart network (login as root user):
      To start Linux network service:
      # service network start
      Debian Linux command to reload or restart network:
      # /etc/init.d/networking restart
==========================
Supported RAID Controllers
==========================
This download supports the following controllers

LSI MegaRAID: MegaRAID SAS 9240-4i/8i,MegaRAID SAS 9260-4i/8i/16i,MegaRAID SAS 9261-8i,MegaRAID SAS 9280-4i4e,MegaRAID SAS 9280-8e,MegaRAID SAS 9280-16i4e,
MegaRAID SAS 9280-4i4e,MegaRAID SAS 9265-8i,MegaRAID SAS 9285-8e,MegaRAID SAS 8704EM2,MegaRAID SAS 8708EM2,MegaRAID SAS 8880EM2,MegaRAID SAS 8888ELP

LSI HBA:LSI SAS3041E-R,LSI SAS3041X-R,LSI SAS3080X-R,LSI SAS3081E-R,LSI SAS3442E-R,LSI SAS3442X-R,LSI WarpDrive SLP-300,9212 4i4e spec,9211-8i/4i spec

********************************************************************
    LSI SNMP agent for Linux 
********************************************************************

Installation procedure for LSI SNMP Agent(For SUSE and Red Hat Linux)
--------------------------------------------------------------------------

1. LSI SNMP Agent rpm's installs the agents. 

2. rpm will take care of the necessary modification needed in the snmpd.conf
file for running the agent.
[
NB: Before installation please check,there is any pass command 
    starts with 1.3.6.1.4.1.3582 OID in snmpd.conf, if available then delete
all the old pass commands starts with 1.3.6.1.4.1.3582 OID.
(This could be possible if there is any previous LSI SNMP Agent was installed
in the system)
]
3. The snmpd.conf file structure should be same as lsi_mrdsnmpd.conf. For
reference,a sample conf file (lsi_mrdsnmpd.conf) will be there in the
/etc/lsi_mrdsnmp directory. 

4. For running SNMP query from a remote m/c add the ip address of that m/c in
the snmpd.conf file like this..

   com2sec	snmpclient	172.28.136.112		public

   Here ipaddress of the remote m/c is 172.28.136.112

5. For receiving snmp trap to a particular m/c, add the ip address of that m/c
in the com2sec section of snmpd.conf file. For example, to get Trap in
10.0.0.144, then add following line to snmpd.conf.
#       sec.name	source			community
   com2sec	snmpclient	10.0.0.144		public

6. To Run/stop the snmpd daemon.
   	/etc/init.d/snmpd start/stop
 
7. To start/stop the SNMP Agent daemon before issuing any snmp query.
     /etc/init.d/lsi_mrdsnmpd start/stop

8. Status of the SNMP Agent daemon can be checked by issuing the following
command...
   /etc/init.d/lsi_mrdsnmpd status

9. You can issue snmp query like this...

    snmpwalk -v1 -c public localhost .1.3.6.1.4.1.3582

10. You can get the snmp trap from local m/c by issuing the following
command...
    snmptrapd -P -F "%02.2h:%02.2j TRAP%w.%q from %A %v\n" 

11. For SLES-11 platform, please follow the below steps to configure traps.
	Edit /etc/lsi_mrdsnmp/sas/sas_TrapDestination.conf file & add ipaddress as
	shown below.

	#################################################
	# Agent Service needs the IP addresses to sent trap
	# The trap destination may be specified in this file or
	# using snmpd.conf file. Following indicators can be set
	# on "TrapDestInd" to instruct the agent to pick the IPs
	# as the destination.
	# 1 - IPs only from snmpd.conf
	# 2 - IPs from this file only
	# 3 - IPs from both the files
	#################################################
	TrapDestInd 3
	#############Trap Destination IP##################
	127.0.0.1   public
	172.28.157.149 public
	#################################################
	
NOTE:
	For SNMP components to work, it is necessary that linux system should
have snmp-net packages(rpm) to be already present.

	It is assumed that snmpd.conf is located at /etc/snmp for Redhat and
/etc for SuSE. Anyway, user can change the file location from
/etc/init.d/lsi_mrdsnmpd file

	It is neccessary to uninstall all the previous version before
installing a new version. The rpm has not been created to support -U version.
The rpm -U is most likely to fail with this rpm.

SNMP Trap Disable functionality
===============================
User may disable SNMP Trap functionality using "-notrap" as install(install.csh) parameter.

MegaRAID Storage Manager(MSM) Installation on VMware :
======================================================
To, install the MSM on VMWare operating system, the user should execute the
command "./vmware_install.sh" from the installation disk.

The installer provides the user to choose the License agreement,operating system 
and storelib to be used as mentioned below.
1. End user license agreement.
2. Operating system  (VMware 3.5 or VMware 4.0).
3. Select the Storelib (Inbox Storelib or Storelib from MSM package).

Note:
1. LSI SNMP Agent is not a supported configuration on VMware Operating system (VMware 3.5 or VMware 4.0).
2. There is a possibility that the MSM Framework that runs on the host from which the GUI is launched misses
   to discover an ESXi host in the subnet, while some other MSM Framework in the same subnet succeeds to discover it.
   In that scenario, all the communications to the ESXi hosts happens through the latter MSM Framework.
   This will result in MSM GUI not receiving events from the ESXi host.
3. On some Windows machines it has been seen that the discovery of VMWare ESXi servers fail as a result of a bug in
   the 3rd party application that is used for discovery. This is actually caused by one of the windows servers in the
   network which contains a service called IBM SLP SA, which gets installed along with IBM Director.
   If we stop this service on all the windows servers in the network, MSM will be able to discover all the ESXi servers.


MegaRAID Storage Manager(MSM) Uninstallation on VMWare :
======================================================
The MSM can be uninstalled by running the script 
"/usr/local/MegaRAID Storage Manager/uninstaller.sh".

Note:
=====
When the user runs the MegaRAID Storage Manager(MSM) installation script
install.csh, the rpm's <Lib_Utils-1.xx-xx.noarch.rpm> and <Lib_Utils2-1.xx-xx.noarch.rpm>
will be installed, These RPM's install the third party libraries and MSM is dependent on these
libraries.If you uninstall the libraries installed by these RPM's then other
applications that are dependent on these libraries may not function correctly. Hence these RPM's
will not be removed when MSM is uninstalled. If you want to remove the RPM,
run the command Rpm -e <Lib_Utils-1.xx-xx.noarch.rpm> and
Rpm -e <Lib_Utils2-1.xx-xx.noarch.rpm>.

If older version of the libutil rpm <Lib_Utils-1.xx-xx.noarch.rpm> is
installed on the system, please uninstall the older version of the RPM using the command "rpm -e
<Lib_Utils-1.xx-xx>" and then install the latest libutil rpm <Lib_Utils-1.xx-xx.noarch.rpm>
packaged in this zip file.

MSM Performance improvement
===========================
For better performance of MSM, when subjected to any heap-intensive (say heavy
IOs) or computational tasks,improve the heap by including the following command
"-Xms1024m -Xmx1024m",where
 1024m           Size of the heap allocated. The specified size is dependent on the machine's Hardware configuration.
 -Xms1024m       Sets the initial size of the Java heap to 1024 Mbytes
 -Xmx1024m       Sets the maximum heap size to 1024 Mbytes

 1. Goto product home folder (/usr/local/MegaRAID Storage Manager).
 2. Open startupui.sh file in editable mode.
 3. Include the command -Xms1024m -Xmx1024m after "./jre/bin/java",
    effectively:
    LD_LIBRARY_PATH=$MSM_HOME/lib ./jre/bin/java -Xms1024m -Xmx1024m -DVENUS=true....

=============
Fixes/Updates
=============
11.12.01.01
Defects:
1)LSIP200212525           MSM-Incorrect Exception thrown when MSM services are stopped in remote server
2)LSIP200212654           LDAP: Provide MSM login access mode based on user group privileges
3)LSIP200212660           MSM-Unable to launch MSM in "Full Access" when Computer is assigned to multiple Groups in LDAP

11.12.01.00
Defects:
1)LSIP200211422           MSM is not able to save the configuration of the events when the machine is not in network in all the platforms
2)LSIP200212075           LDAP: Update "Welcome<loggedInUser> <accessMode>" string in MSM mainscreen
3)LSIP200212147           LDAP discovery not happening when IP address of MSM server is changed after registering it to AD
4)LSIP200211717           LDAP: Save LDAP credentials while switching MSM server from host view screen using Manage -> Server option
5)LSIP200211405           MSM Windows Installer: Add LDAP Support in MSM installer
6)LSIP200212122           MSM Generic: Host view screen not getting updated after connection to first server is lost
7)LSIP200211719           LDAP: Add MSM windows LDAP installer support in MSM
8)LSIP200212121           LDAP Cosmetic changes

11.12.00.00
Enhancements:
1)LSIP20004927            LDAP services support
2)LSIP200099660           LSI SNMP agent cannot send traps to a custom port
3)LSIP200111591           RWC support selectable NIC ports for Email Notification function
4)LSIP200149132           MSM needs to remove references to EKMs
5)LSIP200171030           Customer is requesting us to add host SAS address in the controller properties in MSM
6)LSIP200197360           Show progress indicator during controller FW update
