IBM 26K6477 User Guide - Page 55

Configuring, SNMPv3, SMASH, Proxy

Page 55 highlights

Configuring SNMPv3 in the SMASH Proxy You must configure Simple Network Management Protocol (SNMP) V3 on all chassis managed through the SMASH Proxy. The chassis SNMPv3 configuration values must match those in file /opt/ibm/smashProxy/cfg/smash_snmp.cfg. See the following example for an /opt/ibm/smashProxy/cfg/smash_snmp.cfg file with the default ship values. # SMASH SNMP configuration file # SMASH SNMP Configuration File # This file allows configuration of the SNMPv3 default parameters to use in # communications between the SMASH proxy and managed Bladecenters. # snmp_timeout in microseconds, default is 2.0 sec # This is the time the SMASH Proxy will wait for a response from the managed # Bladecenter before retrying an SNMP request. snmp_timeout = 2000000 # session_timeout, in seconds, default is 5 min (300 sec) # This is the amount of idle time the SMASH Proxy will allow before closing an # SNMP session between a SMASH Proxy user and a managed Bladecenter. This only # closes out the underlying SNMP session not the SMASH CLP user session. # If the user/Bladecenter SNMP session has been closed due to idleness, it will # be automatically reopened at the next user query. session_timeout = 300 # snmp_retries, default is 3 # This is the number of times the SMASH Proxy will retry an SNMP request to a # managed Bladecenter before sending an error back to the user. snmp_retries = 3 # context # This parameter is the default context to be used in Bladecenter SNMPv3 # communications. # When the user logins to the SMASH Proxy or issues an oemiicmlogin command # he can specify a username:context. If the user omits the context from the # login, the default context specified in this file will be used for the SNMPv3 # request. The context in the SNMPv3 setup web interface for the Bladecenter # must match the value submitted in the login or the value in this file (if the # context was not specified at login). If context is blank in any of the web # interfaces for the Bladecenters to be managed, then context should be # commented out here. #context = admin # authentication_protocol # This value should match the authentication protocol specified in the SNMPv3 # setup web interface for all managed Bladecenters. All managed Bladecenters # must be configured with the same authentication protocol. # Allowable values are MD5, SHA, and None authentication_protocol = MD5 # privacy_protocol # This value should match the privacy protocol specified in the SNMPv3 setup # web interface for all managed Bladecenters. All managed Bladecenters must be # configured with the same privacy protocol. # Allowable values are DES and None privacy_protocol = DES # snmp_logfile # This is the file where all debug messages will be logged. snmp_logfile = /var/log/iicm/smash_snmp.log # snmp_debug # This controls logging of net-snmp library debug messages to snmp_logfile # A value of 0 means debug is turned off. # Any other value (e.g. 1) turns on snmp debug messages. snmp_debug = 0 # num_sessions # Number of simultaneous user sessions, default is 14 num_sessions = 14 Chapter 5. Using the SMASH Proxy 39

  • 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

Configuring
SNMPv3
in
the
SMASH
Proxy
You
must
configure
Simple
Network
Management
Protocol
(SNMP)
V3
on
all
chassis
managed
through
the
SMASH
Proxy.
The
chassis
SNMPv3
configuration
values
must
match
those
in
file
/opt/ibm/smashProxy/cfg/smash_snmp.cfg
.
See
the
following
example
for
an
/opt/ibm/smashProxy/cfg/smash_snmp.cfg
file
with
the
default
ship
values.
#
SMASH
SNMP
configuration
file
#
SMASH
SNMP
Configuration
File
#
This
file
allows
configuration
of
the
SNMPv3
default
parameters
to
use
in
#
communications
between
the
SMASH
proxy
and
managed
Bladecenters.
#
snmp_timeout
in
microseconds,
default
is
2.0
sec
#
This
is
the
time
the
SMASH
Proxy
will
wait
for
a
response
from
the
managed
#
Bladecenter
before
retrying
an
SNMP
request.
snmp_timeout
=
2000000
#
session_timeout,
in
seconds,
default
is
5
min
(300
sec)
#
This
is
the
amount
of
idle
time
the
SMASH
Proxy
will
allow
before
closing
an
#
SNMP
session
between
a
SMASH
Proxy
user
and
a
managed
Bladecenter.
This
only
#
closes
out
the
underlying
SNMP
session
not
the
SMASH
CLP
user
session.
#
If
the
user/Bladecenter
SNMP
session
has
been
closed
due
to
idleness,
it
will
#
be
automatically
reopened
at
the
next
user
query.
session_timeout
=
300
#
snmp_retries,
default
is
3
#
This
is
the
number
of
times
the
SMASH
Proxy
will
retry
an
SNMP
request
to
a
#
managed
Bladecenter
before
sending
an
error
back
to
the
user.
snmp_retries
=
3
#
context
#
This
parameter
is
the
default
context
to
be
used
in
Bladecenter
SNMPv3
#
communications.
#
When
the
user
logins
to
the
SMASH
Proxy
or
issues
an
oemiicmlogin
command
#
he
can
specify
a
username:context.
If
the
user
omits
the
context
from
the
#
login,
the
default
context
specified
in
this
file
will
be
used
for
the
SNMPv3
#
request.
The
context
in
the
SNMPv3
setup
web
interface
for
the
Bladecenter
#
must
match
the
value
submitted
in
the
login
or
the
value
in
this
file
(if
the
#
context
was
not
specified
at
login).
If
context
is
blank
in
any
of
the
web
#
interfaces
for
the
Bladecenters
to
be
managed,
then
context
should
be
#
commented
out
here.
#context
=
admin
#
authentication_protocol
#
This
value
should
match
the
authentication
protocol
specified
in
the
SNMPv3
#
setup
web
interface
for
all
managed
Bladecenters.
All
managed
Bladecenters
#
must
be
configured
with
the
same
authentication
protocol.
#
Allowable
values
are
MD5,
SHA,
and
None
authentication_protocol
=
MD5
#
privacy_protocol
#
This
value
should
match
the
privacy
protocol
specified
in
the
SNMPv3
setup
#
web
interface
for
all
managed
Bladecenters.
All
managed
Bladecenters
must
be
#
configured
with
the
same
privacy
protocol.
#
Allowable
values
are
DES
and
None
privacy_protocol
=
DES
#
snmp_logfile
#
This
is
the
file
where
all
debug
messages
will
be
logged.
snmp_logfile
=
/var/log/iicm/smash_snmp.log
#
snmp_debug
#
This
controls
logging
of
net-snmp
library
debug
messages
to
snmp_logfile
#
A
value
of
0
means
debug
is
turned
off.
#
Any
other
value
(e.g.
1)
turns
on
snmp
debug
messages.
snmp_debug
=
0
#
num_sessions
#
Number
of
simultaneous
user
sessions,
default
is
14
num_sessions
=
14
Chapter
5.
Using
the
SMASH
Proxy
39