beautypg.com

Avago Technologies MegaRAID Fast Path Software User Manual

Page 300

background image

Page 300

LSI Corporation Confidential

|

July 2011

MegaRAID SAS Software User Guide

Chapter 6: MegaRAID Storage Manager Overview and Installation

|

Installing and Configuring an SNMP Agent

6.7.4.6

Configuring SNMP Traps

To receive SNMP traps, perform the following steps:

1. Stop the LSI SAS SNMP Agent by using the following command:

#/etc/init.d/lsi_mrdsnmpd stop

2. Edit the /etc/lsi_mrdsnmp/sas/sas_TrapDestination.conf file, and add the

Ip address as shown in the following excerpt.

#################################################

# 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 2

############# Trap Destination IP ##################

127.0.0.1 public

172.28.157.149 public

#################################################

3. Start the LSI SAS SNMP Agent by entering the following command:

#/etc/init.d/lsi_mrdsnmpd start

6.7.4.7

Uninstalling the SNMP

Package

The uninstall.sh script is located under the /etc/lsi_mrdsnmp/sas directory. Use
the following command to uninstall the package:

# cd /etc/lsi_mrdsnmp/sas

# ./uninstall.sh

6.7.5

Installing an SNMP Agent on

the Windows Operating System

This section explains how to install and configure SAS SNMP Agent for the Windows
operating system.

6.7.5.1

Installing SNMP Agent

Perform the following steps to install SNMP Agent:

1. Run setup.exe from DISK1.

2. Use SNMP Manager to retrieve the SAS data (it is assumed that you have compiled

LSI-AdapterSAS.mib

file already).

The LSI-AdapterSAS.mib file is available under the %ProgramFiles%\LSI
Corporation\SNMPAgent\SAS

directory.

3. Use a trap utility to get the traps.

NOTE: Before you install the Agent, make sure that SNMP Service is already installed in
the system.

6.7.5.2

Installing SNMP Service

for the Windows Operating System

If you do not have SNMP Service installed on your system, perform the following steps
to install SNMP Service for a Windows system.

1. Select Add/Remove Programs from the Control Panel.