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 editing the jpccomm.ini file. Do this for PFM - Manager on the primary Manager, PFM - Manager, PFM - Agent, and PFM - RM on the secondary Manager. 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.
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:
-
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.
-
Open jpccomm.ini with a text editor.
-
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.
-
Save and close jpccomm.ini.
-
Use the jpcspm start command to start the Performance Management programs and services.
-
Restart PFM - Web Console.