Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Distribution of directly managed agents across MS cluster based on some distribution algorithm (default is to distribute them based on clusters)
  2. Cluster based distribution is a best-effort scenarios, so there may be scenarios when hosts in a cluster are distributed across more than one MS
  3. Agent LB happens only once in the lifecycle of MS java process (MS restart is required to run it again)
  4. Agent LB can be enabled/disabled based on global configuration. Also the load threshold above which agent LB should run is also configurable

Load calculation

The load calculation for comparing with the load threshold (agent.load.threshold) is done using the following logic.

Load = (Managed routing hosts) / (All routing hosts)

The average host per MS is calculated using the following logic.

Average host count = (Managed routing hosts) / (# of MS in 'Up' state)

Routing host : Host type is set to 'Routing' in host table DB

Managed routing host : Host is owned by a MS (MS id is set in host table in DB)

MS state : Refer to mshost table in DB for the state of each MS

References

Alex's Architecture Notes

...