C.6 Estimates and settings when multiple PFM - Agents and PFM - RMs are connected to PFM - Manager
- Organization of this subsection
(1) If reconnection occurs frequently because the collection interval is too short
If PFM - Manager or PFM - Base on the same device is version 09-00-08 or earlier and if the minimum record collection interval for all collected records is set as 60 seconds or more for PFM - Agent and 300 seconds or more for PFM - RM, reconnection to PFM - Manager is performed each time records are collected.
Thus, if multiple PFM - Agents or PFM - RMs is connected, attempts to reconnect to PFM - Manager are repeatedly performed. This might cause a connection failure, such as events being sent from PFM - Agent to PFM - Manager (or from PFM - RM to PFM - Manager).
If this problem occurs, we recommend that you reduce the load on PFM - Manager. To reduce the load, perform the following setting on the PFM - Agent host (with a minimum record collection interval of at least 60 seconds) or the PFM - RM host (with a minimum record collection interval of at least 300 seconds).
-
Obtain the minimum record collection interval for the PFM - Agent host or PFM - RM host.
(a) For each instance of PFM - Agent or PFM - RM, obtain the minimum record collection interval (in seconds) set for records collected by PFM - Agent or PFM - RM, or for records used to evaluate an alarm.
(b) If there are several instances of the same PFM - Agent or PFM - RM product, compare the minimum values obtained in step (a) to determine the maximum value. If there is only a single instance of the same PFM - Agent or PFM - RM product, use the value obtained in step (a).
-
Edit the NS Cache Maintenance Time label in the Agent Collector x Section of the jpccomm.ini file.
In the Agent Collector x Section, x represents the product ID specific to each PFM - Agent or PFM - RM. For details about the product ID for PFM - Agent or PFM - RM, see the list of identifiers in the appendix of each PFM - Agent or PFM - RM manual.
The jpccomm.ini file is stored in the following destination. The environment-directory indicates the directory specified when the jpcconf ha setup command was executed.
OS
Storage location for the jpccomm.ini file
In Windows:
-
PFM - Agent or PFM - RM (for physical host use)
installation-folder\jpccomm.ini
-
PFM - Agent (for logical host use)
environment-directory\jp1pc\jpccomm.ini
In UNIX:
-
PFM - Agent or PFM - RM (for physical host use)
/opt/jp1pc/jpccomm.ini
-
PFM - Agent (for logical host use)
environment-directory/jp1pc/jpccomm.ini
Edit the following sections in the jpccomm.ini file:
[Before change]
NS Cache Maintenance Time=70
[After change]
NS Cache Maintenance Time=minimum-collection-interval-calculated-in-Step-1 + 10
-
-
Restart PFM - Agent.
(a) Example of estimating the collection interval
The example described below assumes the following conditions:
-
The record collection interval for Instance A of host 1 (PFM - Agent for Oracle)
Record a: 180 seconds
Record b: 300 seconds
-
The record collection interval for Instance B of host 1 (PFM - Agent for Oracle)
Record a: 300 seconds
Record c: 600 second
-
The record collection interval for Instance C of host 2 (PFM - Agent for Microsoft SQL Server)
Record a: 60 seconds
Record b: 600 seconds
You can estimate and adjust the record collection interval for host 1 and host 2 by performing the following steps:
- For host 1:
-
-
Use PFM - Agent for Oracle on host 1 to obtain the minimum record collection interval for each instance.
Instance A: 180 seconds
Instance B: 300 seconds
-
Because there are several instances, you must compare the record collection intervals to determine the maximum value.
180 seconds (instance A) < 300 seconds (instance B)
As a result, 300 seconds for Instance B is the maximum value for PFM - Agent for Oracle.
-
Add 10 to the maximum value obtained in step 2.
300 + 10 = 310 seconds
-
The setting value for the Agent Collector O Section section in the jpccomm.ini file is as follows:
NS Cache Maintenance Time=310
-
- For host 2:
-
For PFM - Agent for Microsoft SQL Server on host 2, the minimum record collection interval is 60 seconds. Therefore, you do not need to modify the Agent Collector Q Section section in the jpccomm.ini file.