Versions Compared

Key

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

...

This document gathers the notes on the original design of the Agent Load Balancing across management servers feature. There might be changes to it that happened after 2.0; please feel free to update the doc if you notice any inconsistencies between it and the current code.

The primary goal for agent LB is to distribute the direct agents (like XenServer and Vmware) across a cluster of management servers. Currently there is a 1-1 mapping between an agent and a resource (like Xenserver or Vmware resource) and any operation to the hypervisor host goes through the corresponding agent. So distributing the agents will lead to hypervisor operations also getting distributed across management servers. Even though the agents are distributed evenly (to the best extent possible), the load will also depend on how the VMs are distributed on the hypervisors.

Note that agent LB has nothing to do with load balancing of API requests. These needs to be handled separately by means of an external load-balancer sitting in front of the MS cluster. 

References

Alex's Architecture Notes

...