
PERFORMANCE STUDY /27
VMware vCloud Director 1.0 Performance and Best Practices
Load Balancing VC Listener
vCloud Director has a service called VC Listener (Inventory Service) through which it monitors and aggregates
changes of vCenter Server entities. Each VC Listener service is capable of listening for changes from one or more
vCenter Server instances. However, there is only one VC Listener service that is listening to a given vCenter
Server. vCloud Director manages which cell will listen for changes to which vCenter Server. If any cell that was
listening to vCenter Server changes fails, vCloud Director automatically picks another live cell to continue
listening for changes.
By default, vCloud Director load balances evenly among available live cells when failure occurs. However, vCloud
Director does not have automatic load balancing when things are working fine and new cells are added to an
existing cluster or failed cells are brought online.
For example, consider a vCloud Director installation with two cells, A and B, and two vCenter Server instances
(vCenters), VC1 and VC2. By default, vCloud Director tries to assign each cell one vCenter to listen for changes.
Suppose cell A gets assigned to VC1 and cell B to VC2. When cell B fails, VC2 is failed over to cell A. Now if cell B
is brought back online, cell A continues to listen for both vCenters and vCloud Director does not rebalance the
load. This does not mean that all interactions with VC2 or VC1 have to go through cell B. Cell B will be equally
functional, but cell A will be more loaded in terms of CPU usage.
Figure 24. Detection vCenter Listener Location in vCloud Director User Interface
Very large installations of vCloud Director (greater than or equal to 10,000 VMs) are likely to have more than one
vCloud Director cell and one vCenter. Under this circumstance, it is essential to monitor how many vCenters are
managed by each cell and determine if there is any room on other cells. You can view the assignments of
vCenters to cells on the vCenters list page, as shown in Figure 24.
vCloud Director has functionality that allows you to manually load balance existing load. In the previous example,
by manually reconnecting any one vCenter (that is, VC1 or VC2) from the vCenters list page, vCenter Director will
reassign the vCenter to cell B since it had no assigned vCenter to which to listen.
vCloud Director considers all cells to be the same in terms of physical resources available.
Commentaires sur ces manuels