Job Management Partner 1/Performance Management User's Guide

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


10.3.2 Setup

This section describes the setup procedure for linking with JP1/IM.

If the name of the Performance Management monitoring host differs from its actual host name, the monitoring host name must be added to the JP1/IM host information file (jcs_hosts). After editing the file, use the following procedure to apply the changes:

  1. Import the host information.
    jcshostsimport -o (host-information-file)
  2. Reload JP1/IM.
    jco_spmd_reload

For details on the host information file and JP1/IM commands, see the Job Management Partner 1/Integrated Management - Manager Overview and System Design Guide or the manual Job Management Partner 1/Integrated Management - Command and Definition File Reference.

The following table shows the process flow for setup. The required steps depend on the JP1 event type used and the extent of linkage between Performance Management and JP1/IM.

Table 10-3 Process flow for setup

Setup procedure Refer to: Necessity for setup
JP1 system event JP1 user event

Configuration for issuing JP1 events
In the PFM - Web Console browser, set up the configuration so that JP1 events are issued when a monitored event occurs in JP1/IM.
10.3.2(1) Required Required

Defining alarm events and reports
Define alarm events to be monitored in JP1/IM and operation reports in the PFM - Web Console browser.
10.3.2(2) Required Required

Setting for linking with JP1/IM integrated console
Edit the definition files required in JP1/IM - Manager, and then store them under a directory for JP1/IM.
10.3.2(3)(a) None required#1 Required

Setting for linking with the Tool Launcher window of JP1/IM#2
Edit the definition files required in JP1/IM - View, and then store them under a directory for JP1/IM.
10.3.2(3)(b) Required if linking Required if linking

Setting for linking with the integrated scope of JP1/IM#3
Execute the command for linkage with the monitored object (jpcconf im command).
10.3.2(4) Required if linking Required if linking

Specifying whether the messages of JP1 user events are enclosed in quotes
In UNIX, specify whether JP1 user event messages are enclosed in quotes.
10.3.2(5) Unavailable Optional (Set if not using quotation mark)

#1
For a JP1 system event, you do not need to edit or copy the definition file, even when linking with JP1/IM integrated console.

#2
Before Performance Management can be configured to link with the JP1/IM Tool Launcher, you must complete the configuration for linking with the JP1/IM integrated console.

#3
Before Performance Management can be configured to link with the JP1/IM integrated scope, you must complete the configuration for linking with the JP1/IM integrated console.

Note:
Linkage with the system-monitored object for Performance Management in JP1/IM is required in order to enable monitoring with the integrated scope. For details on settings and operations of JP1/IM, see the Job Management Partner 1/Integrated Management - Manager Overview and System Design Guide and Job Management Partner 1/Integrated Management - Manager Configuration Guide.

This subsection describes the setup procedures for linking with JP1/IM.

Organization of this subsection
(1) Configuring so that JP1 events are issued
(2) Defining alarm events and reports
(3) Editing and copying the definition files for linkage
(4) Executing the command for linkage with the monitored object
(5) Setting quotation marks enclosing a JP1 user event message

(1) Configuring so that JP1 events are issued

To configure so that JP1 events are issued:

  1. From the monitoring console browser, log on to PFM - Web Console.
    Log on to a user account that has administrator user permissions.
    The main window of PFM - Web Console appears. You must have administrator user permissions to use the Services window.
  2. In the navigation frame of the main window, select the Services tab.
    The Services window appears.
  3. In the navigation frame of the Services window, choose the service to be set.
    The selected service is marked with a checkmark.
    The following table lists the events that trigger JP1 system events and the properties to be set for each target service.

    Table 10-4 Events that trigger JP1 system events and properties to be set for each target service

    Event Target service Properties to be set
    Occurrence of alarm events Action Handler service
    • Action Handler
    Master Manager, Agent Collector, Remote Monitor Collector, or Action Handler#1
    Occurrence of events related to the status change and operation of Performance Management services PFM - Manager service
    • Name Server
    • Master Manager
    • Master Store
    • Correlator
    • Trap Generator
    • View Server
    Master Manager
    PFM - Agent and PFM - RM services
    • Agent Collector and Remote Monitor Collector
    • Agent Store or Remote Monitor Store
      These services are used instance by instance (for multi-instance agents).
    Agent Collector and Remote Monitor Collector
    Action Handler service
    • Action Handler
    Master Manager, Agent Collector, Remote Monitor Collector, or Action Handler#1
    Status Server service#2
    • Status Server
    Master Manager, Agent Collector, Remote Monitor Collector, or Action Handler#1

    #1

    Use the same value for the listed services on the same host.

    #2

    The Status Server service does not appear as a service on a logical host.


  4. Select the JP1 Event Configurations node.
    At the bottom of the information frame, the properties of the JP1 Event Configurations node are displayed.
  5. For JP1 system events, set the properties as follows.
    This step is not required for JP1 user events. Go to step 6.

    Target service: Yes

    JP1 Event Send Host
    Specify the name of an event server connected to JP1/Base using 255 or less alphanumeric characters. You can only specify an event server running on the same logical or physical host as the Performance Management service that issues the JP1 events. You cannot specify an IP address. Any preceding or trailing spaces in the specified value are ignored.
    localhost indicates a physical host. If an out-of-range value is specified or if no value is specified, the event-issuing host is assumed to be a host (a physical host in a physical host environment or a logical host in an logical host environment) running Performance Management services that issue JP1 events.
    The default value is blank.
    Reference note
    Normally, you do not need to set this parameter. However, we recommend that you set this parameter in the following case:
    • Performance Management services are running on host 1 (physical host), but you want to use JP1/Base running on host 2 (logical host) to issue JP1 events.
    In this case, we recommend that you set JP1 Event Send Host to host 2 (the logical host).
    The name of the event server in this parameter is different from the name set for the using the function for setting monitoring-host names. If you have already set a monitoring host name, you do not need to set this parameter.

    Monitoring Console Host
    To start the PFM - Web Console browser, specify the name of the PFM - Web Console host in the JP1/IM - Manager monitor startup function. Specify the name with 255 or less alphanumeric characters. You cannot specify an IP address. Any preceding or trailing spaces in the specified value are ignored.
    If an out-of-range value is specified or if no value is specified, the name of the PFM - Manager for the connection destination of PFM - Web Console is assumed.
    The default value is blank.

    Monitoring Console Port
    Specify the port number (http request port number) for the PFM - Web Console to be started. If no value is specified, the value 20358 is assumed.
    The default value is blank.
  6. Select the Alarm node under the JP1 Event Configurations node.
    At the bottom of the information frame, the properties of the Alarm node are displayed.
  7. Set the properties to the following:

    Specify a JP1 event type to be associated if an alarm event occurs.

    JP1 Event Mode
    To use a JP1 system event: JP1 System Event
    To use a JP1 user event: JP1 User Event

(2) Defining alarm events and reports

In the Alarms window of PFM - Web Console, set up the following items:

For details on the definition of alarms, see 6. Monitoring Operations with Alarms.

The following procedure mainly describes operations for setting up JP1 events to be issued and for associating alarms with reports.

To set up JP1 events to be issued and associate alarms with reports:

  1. Log on to PFM - Web Console as a user with administrator user permissions.
  2. In the navigation frame of the Main window, select the Alarms tab.
  3. In the navigation frame of the Alarms window, select the alarm definition for which you want to issue JP1 events.
    The selected alarm is marked with a checkmark.
  4. Choose the Edit method in the method frame.
    The Edit > Main Information window appears in the information frame.
  5. Click the Next button several times until the Edit > Action window appears.
  6. Set Actions to be executed.
    In Command, select conditions (Abnormal, Warning, or Normal) of the alarm for which you want to issue JP1 events.
  7. In Report to be displayed, click the Browse button to select the report to be associated with the alarm.
    The selected alarm is marked with a checkmark.
  8. Click the Finish button.
  9. Click the Next button.
    The Command Definition area of the Edit > Action Definitions window appears.
  10. Click the JP1 Event Settings button.
    The New Alarm > Action Definitions > JP1 Event Settings window appears.
  11. Set the event ID and so on.
    For example, suppose you want to send the JP1 event under the following conditions:
    Conditions:
    • Set the event ID to 001.
    • Set the message text to the content of the message text (%MTS), which you set in the Message of the New Alarm Table > Main Information dialog box.
    • Convert the alarm status to a severity-level JP1 event.
    Set as follows:
    Event ID: 001
    Message: %MTS
    Convert the alarm level to the severity level: Selected
    The following figure shows a setting example of the New Alarm > Action Definitions > JP1 Event Settings window.

    Figure 10-3 New Alarm > Action Definitions > JP1 Event Settings window

    [Figure]

    Note:
    Do not modify the attributes of the JP1 event if you want to link with the JP1/IM monitoring objects.
    For a JP1 system event, the information set for Event ID is output as an event ID (JPC_USER_EVENTID) identifying an extended JP1 event attribute. For a JP1 user event, the information is output as an event ID for a basic JP1 event attribute.
    For details on JP1 event types, see 10.2 Considerations for linking with JP1/IM.
  12. Click the OK button.
    The issuing of the JP1 event is defined as an alarm action, and the selected report is associated. For details on the issued JP1 events, see 10.5 List of JP1 event attributes.
  13. Select the Action Handler service of the host that issues the JP1 event.
    When you modify the JP1 Event Settings, the setting in Action handler is changed to the Action Handler service on the PFM - Manager host. If you want to issue the JP1 event on a host other than the PFM - Manager host, you must modify the setting in Action handler.

    Note 1
    To issue a JP1 event, JP1/Base must be installed on the same host as the Action Handler that issues the event.

    Note 2
    To issue a JP1 event during Performance Management monitoring using the JP1/IM integrated scope, you must select an Action Handler service running on the same host as PFM - Manager.
  14. Click the Finish button.

(3) Editing and copying the definition files for linkage

In order to enable monitoring of JP1 events by using JP1/IM, you need to edit the JP1/IM definition files that are provided by Performance Management according to the environment and to copy the files to each of the corresponding JP1/IM directories.

Point:
  • You might need to restart JP1/IM to enable the editing of definition files in JP1/IM. For details on restart timings of the definition files and timing when the definition files take effect, see the Job Management Partner 1/Integrated Management - Manager Overview and System Design Guide, Job Management Partner 1/Integrated Management - Manager Configuration Guide, and the manual Job Management Partner 1/Integrated Management - Manager Command and Defined file Reference.

The JP1/IM definition file provided by Performance Management is stored in the following folder:

 
PFM-Web-Console-installation-folder\sample\imconf
 

The following lists JP1/IM definition files, items to edit, and copy destinations.

(a) Definition files required in JP1/IM - Manager

When you use monitoring with the integrated console to issue a JP1 user event, you must edit and copy the definition file required by JP1/IM - Manager. This is not necessary when you use monitoring with the integrated console to issue a JP1 system event.

This file defines the extended event attributes of JP1 events.

File name:
hitachi_jp1_pfmWebCon_attr_en.conf

Items to edit:
Change the order id value to the event ID set by the JP1 event-issuing command. To display reports from JP1/IM, you also need to set the specified event ID in the definition file for opening monitor windows.
For example, specify the following when the event ID is 00001234:
[Figure]

Copy destination
Copy the edited definition file for the extended event attributes to the directory on the host that has JP1/IM - Manager installed as listed below:

For physical hosts:
  • In Windows:
    installation-folder-for-jp1/im-manager\conf\console\attribute
  • In UNIX:
    /etc/opt/jp1cons/conf/console/attribute

For logical hosts:
  • In Windows:
    shared-folder\jp1cons\conf\console\attribute
  • In UNIX:
    shared-directory/jp1cons/conf/console/attribute

For details, see the Job Management Partner 1/Integrated Management - Manager Overview and System Design Guide, Job Management Partner 1/Integrated Management - Manager Configuration Guide, and the manual Job Management Partner 1/Integrated Management - Manager Command and Defined file Reference.

File name:
hitachi_jp1_pfmWebCon_mon_en.conf

Items to edit:
Change the value of the EVENT_ID to the event ID set with the JP1 event-issuing command. Also, change the PATH host name and port number to those of PFM - Web Console. Note that the specified event ID needs to be set in the definition file for the extended event attributes.
For example, if 00001234, PFM-WebCon, and 20358 are assigned to the event ID, host name, and port number respectively are specified as follows:
[Figure]

Copy destination
Copy the edited definition file for opening monitor windows to the directory on the host that has JP1/IM - Manager installed as listed below:

For physical hosts:
  • In Windows:
    installation-folder-for-jp1/im-manager\conf\console\monitor
  • In UNIX:
    /etc/opt/jp1cons/conf/console/monitor

For logical hosts:
  • In Windows:
    shared-folder\jp1cons\conf\console\monitor
  • In UNIX:
    shared-directory/jp1cons/conf/console/monitor

For details, see the Job Management Partner 1/Integrated Management - Manager Overview and System Design Guide, Job Management Partner 1/Integrated Management - Manager Configuration Guide, and the manual Job Management Partner 1/Integrated Management - Manager Command and Defined file Reference.

You need to use different event IDs to enable multiple PFM - Managers to be displayed by PFM - Web Console report windows.

For example, if 00000000 and 00001111 are assigned to the event IDs, specify the definition file for the extended event attributes and the definition file for opening monitor windows as follows:

Definition file for the extended event attributes:
[Figure]

Definition file for opening monitor windows:
[Figure]

In the example above, the event ID 00000000 corresponds to PFM - Web Console host name PFM-Webcon1 and port number 8080. Similarly, the event ID 00001111 corresponds to PFM - Web Console host name PFM-Webcon2 and port number 20358.

(b) Definition files required in JP1/IM - View

 

This file defines the Tool Launcher window. The definition file for the tool launcher defines the tree structure and display items to be displayed in the Tool Launcher window in JP1/IM - View. You need to set the definition file for the tool launcher to enable the window of PFM - Web Console to be displayed from the Tool Launcher window.

File name
hitachi_jp1_pfmWebCon_tree.conf

Items to edit
Change the host name and port number of arguments to the host name and port number of PFM - Web Console.
If PFM-WebCon and 20358 are assigned to the host name and port number of PFM - Web Console respectively, specify as follows:
[Figure]

Copy destination
Copy the edited definition file for the tool launcher to the folder on the host that has JP1/IM - View installed, as follows:
 
installation-folder-for-jp1/im-view\conf\function\ja
 

(4) Executing the command for linkage with the monitored object

Execute the jpcconf im command on the PFM - Manager host to monitor the operating status of the system on Performance Management by using icons through linkage with the monitored object function of JP1/IM. This step is required for JP1/IM to collect definition information from Performance Management.

Execute the jpcconf im command on the PFM - Manager host as shown below to start linkage with JP1/IM:

 
jpcconf im enable

Execute the command as shown below to stop linkage with JP1/IM:

 
jpcconf im disable
 

If PFM - Manager is in a logical host environment, execute the command one time on both the active and standby nodes.

(5) Setting quotation marks enclosing a JP1 user event message

For UNIX, a JP1 user event message can be enclosed in double quotation marks ("). To enclose such a message in double quotation marks, directly edit the jpccomm.ini file, which is located on the host running the Action Handler server that executes the action. To specify whether the messages of JP1 user events are enclosed in quotes:

  1. Stop the Action Handler service to be configured.
    For the logical host environment, stop the Action Handler services of the logical host.
  2. Edit the jpccomm.ini file.
    The jpccomm.ini file is stored in the following locations:

    On physical hosts:
    /opt/jp1pc/

    On logical hosts:
    environment-directory/jp1pc/
    The following table describes the section name, label name, and range of setting values that you can edit in the jpccomm.ini file.

    Table 10-5 Setting item for specifying whether the messages of JP1 user events are enclosed in quotes

    Section Label name Value range Default value Description
    [Common Section] JP1 Event Double Quote 0 | 1 1 Specify whether the messages of JP1 user events are enclosed in quotes.
    0: Do not enclose in quotes
    1: Enclose in quotes
    This label is available only for UNIX. In Windows, the setting of the label is ignored.
  3. Start the Action Handler service that has been configured.

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.