Hitachi

JP1 Version 12 JP1/Performance Management User's Guide


11.3.5 Controlling remote actions

In a multiple-monitoring configuration, an agent sends events to PFM - Manager on both the primary Manager and the secondary Manager. Events are sent to PFM - Manager on the primary Manager first, and on the secondary Manager next. However, in a case such as when a remote action does not need to be executed twice for a single event, you can set the execution mode to control the execution of remote actions. For details about remote actions, see 6.3.2 Configuring the host to automatically execute commands.

To set the execution mode for remote actions, specify the value of the Remote Action Control label by directly editing the jpccomm.ini file on the PFM - Agent or PFM - RM host on which alarms are issued. Set the same value for the execution mode on all the hosts.

The following table describes the execution mode for remote actions and shows the specification value.

Table 11‒6: Execution mode for remote actions

Execution mode

Value to be specified for the Remote Action Control label

Description

All execution modes

all

Executes both remote actions for events that are sent to the primary and secondary systems.

One-side execution mode

one

Executes only the remote action for the event for which sending succeeds first of events that are sent to the primary and secondary systems.

Primary execution mode

primary

Executes only the remote action for an event that is sent to the primary system.

The jpccomm.ini file is stored in the following location.

In Windows:

installation-folder\

In UNIX:

/opt/jp1pc/

To set the execution mode for remote actions:

  1. Stop the Performance Management programs and services.

    Use the jpcspm stop command to stop any of the Performance Management programs and services that are running.

  2. Open jpccomm.ini with a text editor.

  3. Set the execution mode for controlling remote actions.

    Change the following label value in the Common Section section in the jpccomm.ini file.

    Remote Action Control=xxx#

    #

    Specify all, one, or primary for xxx.

  4. Save and close jpccomm.ini.

  5. Use the jpcspm start command to start the Performance Management programs and services.

  6. Restart PFM - Web Console.