Job Management Partner 1/Automatic Job Management System 3 Linkage Guide

[Contents][Glossary][Index][Back][Next]


Appendix A.2 Setup for linking HP NNM (for a Windows host)

When linking HP NNM for monitoring of JP1/AJS3 - Manager and JP1/AJS3 - Agent from NNM, install either JP1/AJS3 - Manager or JP1/AJS3 - View in the host where NNM is installed.

The following figure shows an example of a system configuration for linking with HP NNM.

Figure A-1 Example of a system configuration for linking with HP NNM

[Figure]

In this example, the OpenView Status Report action job is defined and executed using JP1/AJS3 - View for monitoring the status of JP1/AJS3 - Manager and JP1/AJS3 - Agent from NNM in the host where JP1/AJS3 - View is placed.

HP NNM can be linked using the operating systems listed below.

When used as the NNM manager (the host where NNM is installed and which is used for monitoring):
  • Windows Server 2003
    (JP1/AJS3 - Manager or JP1/AJS3 - View)
  • Windows XP Professional
    (JP1/AJS3 - View)

When used as the NNM agent (the host monitored by NNM):
  • Windows Server 2003
    (JP1/AJS3 - Manager or JP1/AJS3 - Agent)

The following figure shows the setup procedure for linking HP NNM.

Figure A-2 Setup procedure for linking HP NNM

[Figure]

For further details regarding the setup of HP NNM, see the documentation for HP NNM.

The subsections below describe how to define the SNMP service startup timing and environment settings for a link.

Organization of this subsection
(1) Defining the SNMP service startup timing
(2) Setting up the environment for the link
(3) Setting up SNMP trap destinations
(4) Disabling SNMP trap transmission
(5) Customizing the SNMP trap to be sent
(6) Unlinking HP NNM
(7) Cautionary notes on linking HP NNM

(1) Defining the SNMP service startup timing

To issue an SNMP trap correctly when starting up or terminating the JP1/AJS3 service, set up the order in which the SNMP service or NNM and the JP1/AJS3 service are activated.

To specify the order of startup, use the startup management function of JP1/Base.

In the host in which NNM is set up, specify the startup so that NNM is activated first and JP1/AJS3 service is activated next. In the host to be monitored by NNM, specify the startup so that the SNMP service is activated first, followed by the JP1/AJS3 service.

For details on the startup management function of JP1/Base, see the Job Management Partner 1/Base User's Guide.

Note
If the HP NNM service has not been activated in the host where NNM is set up when an SNMP trap is issued, the trap might not be reported. The issued SNMP trap also might not be reported depending on the network status because it uses the UDP protocol. The SNMP trap also might not be reported depending on its characteristics. When this occurs, note that SNMP traps are issued but might not be reflected in NNM.

(2) Setting up the environment for the link

To link with HP NNM, use ajsovsetup.bat to set up the environment for the link. Execute the command on both the monitoring side (that is, the host where NNM is installed) and the monitored side (the host where JP1/AJS3 - Manager or JP1/AJS3 - Agent is installed).

If the status of the scheduler is to be monitored, it necessary to set up a monitoring process that monitors the status of the scheduler at 5-minute intervals and, when the status changes, issues snmptrap. Execute the following commands to set up the monitoring process. If JP1/AJS3 - Agent is installed, however, you need not set up scheduler status monitoring.

 
cd JP1/AJS3-installed-folder\conf
copy jp1ajs_hstd.conf jp1ajs_hstd.conf.model
copy jp1ajs_hstd_ov.conf.model jp1ajs_hstd.conf

To change the SNMP traps to be sent for linkage with HP NNM according to the operating environment, set the required environment setting parameters in the JP1/Base common definition and in the environment definition file for linkage with HP NNM. The following table lists the environment setting parameters required for linkage with HP NNM.

Table A-1 List of environment setting parameters for linkage with HP NNM

Location Parameter name Description
Common definition [JP1_DEFAULT\JP1AOMAGENT\ov_link] "TRAPRESTRAIN"= This parameter sets whether to suppress sending SNMP traps.#1
[{JP1_DEFAULT|logical-host-name}\JP1AOMAGENT\ov_link] "SNMPTRAPCUSTOM"= This parameter sets the reference level for customization information during SNMP trap sending.#2
"TRAPAGENTADDRHOST"= This parameter sets the name of the host that sends SNMP traps.#2
"TRAPAGENTADDRIP"= This parameter sets the IP address of the host that sends SNMP traps.#2
"CUSTOMCOMMUNITY"= This parameter sets the community name for authenticating SNMP traps (on the NNM agent side).#2
Environment definition file for linkage with HP NNM#3
(JP1/AJS3-installation-folder\conf\jpoov.conf)
[SETSYMBOLCOMMUNITY]= This parameter sets the community name for authenticating SNMP traps (on the NNM manager side).#2

#1
For details about this environment setting parameter, see (4) Disabling SNMP trap transmission.

#2
For details about this environment setting parameter, see (5) Customizing the SNMP trap to be sent.

#3
The parameters that are contained in the environment definition file for linkage with HP NNM but are not described in this manual are for maintenance. Do not change the values of these parameters.

(3) Setting up SNMP trap destinations

In the host (where JP1/AJS3 - Manager or JP1/AJS3 - Agent to be monitored is installed) monitored by NNM, it is necessary to set up the community name of the SNMP service and the destination to which the trap is to be sent. The community name must be Jp1Trap, and the destination to which the trap is to be sent must be the host name of the manager (where NNM is installed) or one or more IP addresses.

If the NNM agent is to be managed in a cluster system, each node must have a monitoring host specified as the destination to which the trap is to be sent.

(4) Disabling SNMP trap transmission

The JP1/AJS3 service transmits SNMP traps that are used for JP1/AJS3 objects to NNM. To disable SNMP trap transmission from JP1/AJS3, you must specify it in the JP1/Base common definition information, using the following procedure. To disable SNMP trap transmission:

  1. Execute the following command:
     
    jajs_config -k [JP1_DEFAULT\JP1AOMAGENT\ov_link] "TRAPRESTRAIN"="Y"
     
    In the TRAPRESTRAIN parameter, specify whether to disable SNMP trap transmission. If you want to disable SNMP trap transmission, specify Y. If you do not want to disable it, specify N. The default is N. If you do not want to disable SNMP trap transmission, substitute N for Y in the following information. If you specify any value other than Y or N, an error will occur during trap transmission.

(5) Customizing the SNMP trap to be sent

(a) Customizing the send source host name

For sending SNMP traps for JP1/AJS3 objects, the name and IP address of a physical host are generally set for the send source host. If the host sending SNMP traps has more than one IP address, you may have to explicitly specify the name of the send source host. Specify the name of the host sending SNMP traps in the following cases:

To customize the name of the host sending the SNMP trap to be sent, you need to set up the JP1/Base common definition information so that the customization information is referenced when the SNMP trap is sent.

n Setting procedure

To customize the SNMP trap:

  1. Execute the following command to set the environment setting parameters.
     
    jajs_config -k definition-key-name "environment-setting-parameter-1"=definition-content-1
    ["environment-setting-parameter-2"=definition-content-2]
    ["environment-setting-parameter-3"=definition-content-3]

n List of environment setting parameters

Table A-2 Environment setting parameters for customizing the send source host name

Definition key Environment setting parameter Defined information
[{JP1_DEFAULT|logical-host-name}\JP1AOMAGENT\ov_link]#1 "SNMPTRAPCUSTOM"=#2 dword:{0|1|2}
"TRAPAGENTADDRHOST"=#3 "agent-host-name"
"TRAPAGENTADDRIP"=#4 "IP-address"

#1
The {JP1_DEFAULT|logical-host-name} part indicates that you must specify JP1_DEFAULT for the physical host and logical-host-name for the logical host.

#2
The SNMPTRAPCUSTOM environment settings parameter specifies whether to reference the customization information when the SNMP trap is sent. Specify 1 to reference the send source host name. Otherwise, specify 0. The default is 1.

#3
In the TRAPAGENTADDRHOST environment settings parameter, specify the name of the host that sends the SNMP trap. Use up to 255 bytes. The default is the name of the physical host that sends the SNMP trap.

#4
In the TRAPAGENTADDRIP environment settings parameter, specify the IP address of the host that sends the SNMP trap. The default is the IP address of the physical host that sends the SNMP trap.

(b) Customizing the community name for authentication

n Customizing the community name for authenticating the SNMP traps on the status-monitored host (where JP1/AJS3 is installed)

You may want to customize the community name for authenticating the SNMP traps for the JP1/AJS3 objects of the status-monitored host (where JP1/AJS3 is installed). To do this, specify the settings for referencing the customization information in the JP1/Base common definition.

To specify the settings for referencing the customization information in the JP1/Base common definition:

  1. Execute the following command to set the environment setting parameters.
     
    jajs_config -k definition-key-name "environment-setting-parameter-1"=definition-content-1
    ["environment-setting-parameter-2"=definition-content-2]
     

    Table A-3 Environment setting parameters for customizing the community name for authentication

    Definition key Environment setting parameter Defined information
    [{JP1_DEFAULT|logical-host-name}\JP1AOMAGENT\ov_link]#1 "SNMPTRAPCUSTOM"=#2 dword:{0|1|2}
    "CUSTOMCOMMUNITY"=#3 "community-name-for-authentication"

#1
The {JP1_DEFAULT|logical-host-name} part indicates that you must specify JP1_DEFAULT for the physical host and logical-host-name for the logical host.

#2
The SNMPTRAPCUSTOM environment settings parameter specifies whether to reference the customization information when the SNMP trap is sent. Specify 2 to reference the community name for authentication. The default is 1.

#3
In the CUSTOMCOMMUNITY environment settings parameter, specify the community name for authentication. Use up to 255 bytes. The default is public.

Cautionary notes
  • To customize both the send source host name and the community name for authentication, specify 2 for the SNMPTRAPCUSTOM parameter and specify either the TRAPAGENTADDRHOST or TRAPAGENTADDRIP parameter with the CUSTOMCOMMUNITY parameter.
  • To use NNM for the Windows host to receive the customized SNMP trap, you must set up NNM so that it will not use WinSNMP. For details, see the description of ovtrapd in NNM Run-time Help.

n Customizing the community name for authenticating the SNMP traps on the status-monitoring host (where NNM is installed)

To change the community name of the SNMP traps for the JP1/AJS3 objects of the status-monitoring host (where NNM is installed), specify the new community name in environment definition file for linkage with HP NNM (JP1/AJS3-installation-folder\conf\jpoov.conf). You can use 255 or fewer bytes to specify the community name. The following shows the entry in the environment definition file.

[SETSYMBOLCOMMUNITY]=community-name-for-authentication

If you specify a character string longer than 255 bytes, the first 255 bytes are used as the community name. The community name setting is applied immediately. The default community name is public.

Cautionary note
To receive customized SNMP traps with NNM on a Windows host, you must disable the use of WinSNMP in NNM. For details about disabling the use of WinSNMP, see the ovtrapd section in the NNM Runtime Help.

(6) Unlinking HP NNM

This subsection describes the procedure for unlinking HP NNM.

(a) Unlinking HP NNM on the monitored side (where JP1/AJS3 - Manager or JP1/AJS3 - Agent is installed)

To unlink HP NNM on the monitored side (where JP1/AJS3 - Manager or JP1/AJS3 - Agent is installed):

  1. Delete the host where NNM is installed from the trap destinations specified in the SNMP service setup.
  2. Execute ajsovremove.bat.

(b) Unlinking HP NNM on the monitoring side (where NNM is installed)

To unlink HP NNM on the monitoring side (where NNM is installed):

  1. Unlink HP NNM in all hosts that are the status monitoring targets and where JP1/AJS3 - Manager or JP1/AJS3 - Agent is installed.
    For details on how to unlink HP NNM from JP1/AJS3 - Manager or JP1/AJS3 - Agent, see (a) above.
  2. Execute ajsovsymrem.bat in the monitoring host.
  3. If the NNM window is not open, open it.
  4. In the NNM window, choose Administer, JP1/AJS2 Manager, Create symbol, and For All hosts.
    JP1/AJS3 symbols are deleted from the submap of all hosts.
  5. Open the submap that contained the JP1/AJS3 symbols, and then choose Map, Submap, and Properties.
    The Submap Context dialog box appears.
  6. Select isJP1AJS2ObjExist, and delete it.
  7. Close the NNM window.
  8. Execute ajsovremove.bat.
    The HP NNM link for JP1/AJS3 is deleted from NNM.

(c) Unlinking HP NNM when the same host serves as the monitored side (where JP1/AJS3 is installed) and monitoring side (where NNM is installed)

To unlink the HP NNM in a situation where the same host serves as the monitored side (where JP1/AJS3 is installed) and monitoring side (where NNM is installed):

  1. Delete the local host from the trap destinations specified in the SNMP service setup.
  2. Execute ajsovsymrem.bat.
  3. Open the NNM window if not already open.
  4. In the NNM window, choose Administer, JP1/AJS2 Manager, Create symbol, and For All hosts.
    JP1/AJS3 symbols are deleted from the submap of all hosts.
  5. Open the submap that contained the JP1/AJS3 symbols, and then choose Map, Submap, and Properties.
    The Submap Context dialog box appears.
  6. Select isJP1AJS2ObjExist, and delete it.
    The JP1/AJS3 context is deleted from the submap on which the JP1/AJS3 symbols were located.
  7. Close the NNM window.
  8. Execute ajsovremove.bat.
    The HP NNM link definition for JP1/AJS3 is deleted from NNM.

(7) Cautionary notes on linking HP NNM

(a) Cautionary notes on the HP NNM linkage function

(b) Cautionary notes for the NNM host side

(c) Cautionary notes for the NNM agent side

[Contents][Back][Next]


[Trademarks]

Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.