ASRock X79 Extreme11 LSI Mega RAID Storage Manager Guide - Page 17

Installing and Configuring an SNMP Agent on Solaris

Page 17 highlights

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. Installing and Configuring an SNMP Agent on Solaris This section explains how to install and configure the SAS SNMP Agent for the Solaris operating system. To install and configure SNMP for Solaris, perform the procedures described in the following sections: • Prerequisites • Installing SNMP on Solaris • LSI SAS SNMP MIB Location • Starting, Stopping, and Checking the Status of the LSI SAS SNMP Agent • Configuring snmpd.conf • Configuring SNMP Traps • Uninstalling the SNMP Package Prerequisites This package requires that you have the Solaris System Management Agent installed on the Solaris machine. Installing SNMP on Solaris To install SNMP for Solaris, perform the following procedure: 1. Unzip the LSI SAS SNMP Agent package. 2. Run the install script by executing the following command: # ./install.sh Note: The installation will exit if there are any existing versions of storelib and sassnmp installed on the Solaris machine. Uninstall the existing version by using the following commands: # pkgrm storelib (to uninstall storelib library) # pkgrm sassnmp (to uninstall LSI SAS SNMP Agent) 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. 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 DB09-000202-05 37857-02 Installation Rev. F - May 2011 Copyright © 2011 by LSI Corporation. All rights reserved. Page 17

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178

Installation
Page 17
DB09-000202-05 37857-02
Rev. F - May 2011
Copyright © 2011 by LSI Corporation. All rights reserved.
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
.
Installing and Configuring an SNMP Agent on Solaris
This section explains how to install and configure the SAS SNMP Agent for the Solaris operating
system. To install and configure SNMP for Solaris, perform the procedures described in the
following sections:
Prerequisites
Installing SNMP on Solaris
LSI SAS SNMP MIB Location
Starting, Stopping, and Checking the Status of the LSI SAS SNMP Agent
Configuring snmpd.conf
Configuring SNMP Traps
Uninstalling the SNMP Package
Prerequisites
This package requires that you have the Solaris System Management Agent installed on the
Solaris machine.
Installing SNMP on Solaris
To install SNMP for Solaris, perform the following procedure:
1.
Unzip the LSI SAS SNMP Agent package.
2.
Run the install script by executing the following command:
# ./install.sh
Note:
The installation will exit if there are any existing versions of storelib and sassnmp
installed on the Solaris machine. Uninstall the existing version by using the following
commands:
# pkgrm storelib
(to uninstall storelib library)
# pkgrm sassnmp
(to uninstall LSI SAS SNMP Agent)
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.
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