The BtrPlace Constraints Catalog
Constraints

CumulatedCapacity

Definition

Signature

cumulatedCapacity(s:set<server>, r:string, nb:number)

The cumulatedCapacity constraint restricts to a maximum of nb, the total amount of a specific resource of type r that can be used on the online servers in s to run VMs.

Classification

Usage

The cumulatedCapacity constraint enables first the datacenter administrator to control the shared resources of a platform. As an example, each VM has at least one IP address to be accessible from the network. In practice, a datacenter has a finite pool of addresses to share among all the VMs. Such a datacenter has then a global hosting capacity limited by the size of the address pool. In this setting, one cumulatedCapacity constraint may be used to limit the hosting capacity of VMs according to the size of the address pool.

The cumulatedCapacity constraint may also be used to control license restrictions. As an example, on a datacenter running vSphere, the hosting capacity is limited by the cumulated amount of memory allotted to the running VMs. [43] In this setting, one cumulatedCapacity constraint may be use by the datacenter administrator to guarantee the overall consumption of memory used on the servers running VMWare is necessarily lesser to the maximum allowed by the acquired licenses.

Example

Figure 17 depicts a sample reconfiguration between a source and a destination configuration where each server provides 8 unit of CPU and 7 unit of memory resources to VMs. Each VM is associated to a gray rectangle that denotes its resource usage. In this setting, the following cumulatedCapacity constraints were considered :

img/cumulatedCapacity

figure 17: A reconfiguration motivated by cumulatedCapacity constraints.

See also

Related Constraints

Specialization(s)