Hp-ux and linux – HP Systems Insight Manager User Manual

Page 203

Advertising
background image

From a standards perspective, Microsoft SNMP supports only SNMPv1 and SNMPv2c. Microsoft
doesn’t support SNMPv3 and has no plans to support it. Since the default port 162 will be used
by the Microsoft SNMP Trap service, HP SIM supports an additional port 50005 which can receive
all versions of SNMP trap. Thus on Microsoft Windows platform, HP SIM supports dual SNMP
stack, one leveraging Microsoft SNMP Trap service another built-in Java stack.
In order to support Microsoft SNMP Trap service, HP SIM has a trap forwarder component which
will register with the Microsoft SNMP Trap service and forward traps to HP SIM. While registering,
HP SIM will provide the directory location where traps will be dumped in XML file. These XML files
will then be processed by HP SIM and cleared accordingly.
While the built-in Java stack might simplify the support from HP SIM perspective, it doesn’t provide
co-existence solutions with other SNMP managers. Hence, by default HP SIM configures with
Microsoft SNMP Trap service on port 162 and built-in Java stack on port 50005, mainly considering
backward compatibility for those customers who are upgrading HP SIM. However, HP SIM allows
the Administrator to configure the desired SNMP stack and port.

Procedure 55 Using the built-in Java SNMP stack

1.

Stop HP SIM service. For example, use the mxstop command.

2.

Open the globalsettings.props file in a text editor (file is typically located in C:\
Progaam Files\HP\Systems Insight Manager\config

folder.)

3.

Change the value for snmp_java_trap_receiver to true.

4.

Change the value for SnmpTrapPortAddress (if you need to change the port as well).

5.

Save and close the file.

6.

Ensure to stop and disable the Microsoft SNMP trap service.

7.

Start HP SIM service (For example, use the mxstart command.)

Procedure 56 To revert from Java SNMP stack to Microsoft SNMP trap service

1.

Stop HP SIM service. For example, use the mxstop command.

2.

Open the globalsettings.props file in a text editor (file is typically located in C:\
Progaam Files\HP\Systems Insight Manager\config

folder.)

3.

Change the value for snmp_java_trap_receiver to false.

4.

Change the value for SnmpTrapPortAddress (if you need to change the port as well)

5.

Save and close the file.

6.

Ensure to stop and disable the Microsoft SNMP trap service.

7.

Start HP SIM service (For example, use the mxstart command.)

NOTE:

If Microsoft SNMP Trap service is restarted after HP SIM is started, please ensure to restart

HP SIM. Otherwise, HP SIM may not be able to receive SNMP traps.
As mentioned earlier, 50005 port is used in addition to port 162 for receiving all versions of
SNMP traps; to change the port from the default 50005, modify the value of snmpv3_java_trap_port
property in globalsettings.props. However, please note that the value/port configured for
SnmpTrapPortAddress and snmpv3_java_trap_port cannot be the same (unless
snmp_java_trap_receiver is set to true and Windows SNMP Trap service is disabled).

HP-UX and Linux

In the case of HP UX and Linux operating systems, HP SIM supports only built-in Java SNMP stack
which by default binds to port 162. However, if the port needs to be changed to a different one,
follow the procedures mentioned below,

Procedure 57 Assigning HP SIM to use a different port

1.

Stop HP SIM service. For example, use the mxstop command.

2.

Open the globalsettings.props file in a text editor (file is typically located in /etc/
opt/mx/config

folder.)

3.

Locate and change the value for SnmpTrapPortAddress.

4.

Save and close the file.

5.

Start HP SIM service (For example, use the mxstart command.)

SNMP 203

Advertising