beautypg.com

Avago Technologies MegaRAID Fast Path Software User Manual

Page 298

background image

Page 298

LSI Corporation Confidential

|

July 2011

MegaRAID SAS Software User Guide

Chapter 6: MegaRAID Storage Manager Overview and Installation

|

Installing and Configuring an SNMP Agent

NOTE: It is assumed that snmpd.conf is located in /etc/snmp for the Red Hat
operating system and /etc for the SLES operating system. You can change the file
location from the /etc/init.d/lsi_mrdsnmpd file.

You can install SNMP without the trap functionality. To do so, set the TRAPIND
environment variable to "N" before running RPM.

Before you install a new version, you must uninstall all previous versions.

For the SLES 10 operating system, perform the following steps to run SNMP:

1. Copy /etc/snmp/snmpd.conf to /etc/snmpd.conf.

2. Modify the /etc/init.d/snmpd file, and change

SNMPDCONF=/etc/snmp/snmpd.conf

entry to SNMPDCONF=/etc/snmpd.conf.

3. Run LSI SNMP rpm.

6.7.4

Installing and Configuring an

SNMP Agent on the Solaris Operating
System

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

6.7.4.1

Prerequisites

This package requires that you have Solaris System Management Agent installed on
the Solaris machine.

6.7.4.2

Installation SNMP on the

Solaris Operating System

To install SNMP for the Solaris operating system, perform the following steps:

1. Unzip the LSI SAS SNMP Agent package.

2. Run the install script by using the following command:

# ./install.sh

NOTE: The installation exits if any existing versions of storelib and sassnmp are installed
on the Solaris machine. Uninstall the existing version by using the following commands:
# pkgrm storelib

(to uninstall the storelib library)

# pkgrm sassnmp

(to uninstall the LSI SAS SNMP Agent)

6.7.4.3

LSI SAS SNMP MIB

Location

After you install the LSI SAS SNMP Agent package, the MIB file
LSI-AdapterSAS.mib

is installed under /etc/lsi_mrdsnmp/sas directory.

6.7.4.4

Starting, Stopping, and

Checking the Status of the LSI SAS
SNMP Agent

The following commands are used to start, stop, restart, and check the status of the
Solaris System Management Agent (net snmpd) daemon:

Start: # svcadm enable svc:/application/management/sma:default

Stop: # svcadm disable svc:/application/management/sma:default

Restart: # svcadm restart svc:/application/management/sma:default

Status: # svcs svc:/application/management/sma:default

NOTE: Online indicates that the SMA is started. Disabled indicates that the SMA is
stopped.