Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Event Gateway for Network Node Manager i


2.4.4 Settings for handling errors

JP1/IM - EG for NNMi provides various measures for handling errors in JP1/IM - EG for NNMi, such as a tool for collecting data needed for investigation of errors and a function for automatically restarting the process in the event of an abnormal process termination.

This subsection describes the settings for handling JP1/IM - EG for NNMi errors.

Organization of this subsection

(1) Preparations for collecting data in the event of an error (Windows only)

If a JP1/IM - EG for NNMi process stops due to an application error, while the error dialog box is displayed, use the following procedure to collect a user dump:

  1. Start Task Manager.

    You can use either of the following procedures to start Task Manager:

    • Right-click a blank area on the task bar and choose Task Manager.

    • Press Ctrl + Shift + Esc keys to start Task Manager.

  2. Click the Process tab.

  3. Right-click the name of the JP1/IM - EG for NNMi process that was stopped by an application error, and then choose Create Dump File.

  4. When a dialog box showing the user dump output destination path opens, collect a dump from there.

    Important

    If the error dialog box is closed, a normal dump cannot be collected, and consequently you will not be able to collect a user dump. If you closed the error dialog box by mistake (by clicking OK, for example) before collecting a user dump, reproduce the error and then collect a user dump.

(2) Settings for restarting after an abnormal process termination

A process is generated when JP1/IM - EG for NNMi starts. JP1/IM - EG for NNMi enables you to make settings so that the process will restart automatically after it has terminated abnormally for some reason.

To specify the settings for process restart after abnormal termination of the process:

  1. Specify process restart.

    Edit the extended startup process definition file (jegn_service_0700.conf). This file is stored at the following locations:

    In Windows:

    • Physical host: EG-for-NNMi-path\conf

    • Logical host: shared-folder\JP1EG4NNMI\conf

    In UNIX:

    • Physical host: /etc/opt/jp1eg4nnmi/conf

    • Logical host: shared-directory/jp1eg4nnmi/conf

    The relevant parameter is the fourth value of the values separated by the vertical bar (|). Set either 0 (do not restart (default)) or 1 (restart). Do not change any other parameter values.

    For details about the extended startup process definition file, see F.1 Extended startup process definition file (jegn_service_0700.conf).

  2. Apply the settings.

    Either restart JP1/IM - EG for NNMi or execute the jegn_spmd_reload command to apply the settings. For details about the jegn_spmd_reload command, see jegn_spmd_reload in 7. Commands.

  3. Suppress error reporting to Microsoft (Windows only).

    In the case of Windows, you must specify settings so that the Microsoft error reporting dialog box, which is displayed in the event of error detection, will not be displayed. This is because a process cannot restart if this dialog box is displayed.

    In Windows Server 2012:

    1. In the Control Panel, choose System and Security, Action Center, and then Maintenance.

    2. Under Check for solutions to problem reports, click Settings.

    3. In the Windows Error Reporting Configuration dialog box, select I don't want to participate, and don't ask me again.

    4. Click OK.

    In Windows Server 2016:

    1. In the Run text box, enter gpedit.msc, and then click OK.

    2. In the Local Group Policy Editor, click Computer Configuration, Administrative Templates, Windows Components, and then Windows Error Reporting.

    3. Right-click Disable Windows Error Reporting in the right pane of the window, and then select Edit.

    4. In the settings window, select the Enabled radio button.

    5. Click OK.

(3) Setting JP1 event issuance in the event of an abnormal process termination

JP1/IM - EG for NNMi enables you to issue JP1 events in the event of automatic recovery from a process error or abnormal termination. By issuing JP1 events, you can manage the error logs of JP1/IM - EG for NNMi itself.

To specify settings for JP1 event issuance:

  1. Set JP1 event issuance.

    Edit the JP1/IM - EG for NNMi parameter definition file (jegn_param_V7.conf). This file is stored at the following locations:

    In Windows:

    • Physical host: EG-for-NNMi-path\conf

    • Logical host: shared-folder\JP1EG4NNMI\conf

    In UNIX:

    • Physical host: /etc/opt/jp1eg4nnmi/conf

    • Logical host: shared-directory/jp1eg4nnmi/conf

    In this file, SEND_PROCESS_TERMINATED_ABNORMALLY_EVENT and SEND_PROCESS_RESTART_EVENT are the JP1 event issuance setting parameters. To issue JP1 events, change the values of these parameters to dword:1.

    For details about the JP1/IM - EG for NNMi parameter definition file, see F.2 JP1/IM - EG for NNMi parameter definition file (jegn_param_V7.conf).

  2. Execute the jbssetcnf command to apply the definition information.

    For details about the jbssetcnf command, see the JP1/Base User's Guide.

  3. Restart JP1/IM - EG for NNMi.

    The specified settings take effect after the restart.