Scenario: Deployed state check frequency and timeout

Learn how you can control the frequency of checking the state of deployed operations and the timeout value for the deployed operations, and resolve related issues.

Scenario
A subset of agents have to manage other non-CEM applications that require a significant portion of network I/O, limiting the bandwidth available for the subset of agents compared to other agents. As a result, file download time is doubled compared to the expected 20-30 seconds.
Analysis
Assume the agents are healthy, but the operation itself is time consuming. Edge Flow Manager can send an operation to multiple agents, but because the agents spend more time executing the operation, the operation remains in deployed state longer. To manage this situation, you can use the following parameters:
  • efm.operation.monitoring.inDeployedStateTimeout
  • efm.operation.monitoring.inDeployedStateCheckFrequency
The following chart illustrates how these parameters affect the behavior:


Solution

You can set inDeployedStateTimeout=70 and inDeployedStateCheckFrequency=5s, which allows sufficient time for long running file downloads and ensures that the Edge Flow Manager checks the state frequently enough to avoid wasting too much time.