The BtrPlace Constraints Catalog
Constraints

Ban

Definition

Signature

ban(vs : set<VM>, ns : set<server>)

The ban constraint disallows each running VM in vs to be hosted on any of the online servers in ns.

Classification

Usage

This constraint may be use by the datacenter administrator to prepare servers for a software maintenance. In this situation, the administrator must first be sure that the servers do not host any running VMs to prevent a misconfiguration from altering them. Every running VM on these servers must then be relocated elsewhere while the other VMs should not be relocated on the servers to put into maintenance. A datacenter administrator may rely on a ban constraint to achieve that purpose. In this setting, all the VMs in the datacenter are given in parameters in addition to the servers to put into maintenance. At the end of the reconfiguration, no VMs will be running on the servers. Once the maintenance operation is terminated, the constraint may be removed to put the servers back into the hosting pool.

For partitioning reasons, some VMs may be disallowed to be running on some servers. As an example, servers may be dedicated to run service VMs. In this setting, the client VMs must not be allowed to run on the servers dedicated to run service VMs. Ban constraints may then be used by the datacenter administrator for that purpose.

Example

Figure 2 depicts a sample reconfiguration between a source and a destination configuration. In this example, the following ban constraints were considered:

N1: VM1 VM2

N2: VM4 VM3

N3:

arrow

N1: VM1

N2: (VM3)

N3: VM2 VM4

Figure 2: A reconfiguration motivated by ban constraints.

See also

Related Constraints

Reformulation(s)

Specialization(s)