Files
deb-python-pyvmomi/docs/vim/cluster/FailoverResourcesAdmissionControlPolicy.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

2.4 KiB

vim.cluster.FailoverResourcesAdmissionControlPolicy

The ClusterFailoverResourcesAdmissionControlPolicy reserves a specified percentage of aggregate cluster resources for failover. With the resources failover policy in place, vSphere HA uses the following calculations to control virtual machine migration in the cluster.
  • Calculate the total resource requirements for all powered-on virtual machines in the cluster.
  • Calculate the total host resources available for virtual machines.
  • Calculate the Current CPU failover capacity and current memory failover capacity for the cluster.
  • Compare the current CPU failover capacity and current memory failover capacity with the configured resource percentages (
  • cpuFailoverResourcesPercent
  • and
  • memoryFailoverResourcesPercent
  • ). If either current capacity is less than the corresponding configured capacity, HA does not allow the operation.
  • HA uses the actual reservations of the virtual machines. If a virtual machine does not have reservations, meaning that the reservation is 0, a default of 0MB memory and 256MHz CPU is applied. This is controlled by the same HA advanced options used for the failover level policy (
  • ClusterFailoverLevelAdmissionControlPolicy
  • ).
extends

vim.cluster.DasAdmissionControlPolicy

since

vSphere API 4.0

Attributes:

cpuFailoverResourcesPercent (int):

Percentage of CPU resources in the cluster to reserve for failover. You can specify up to 100% of CPU resources for failover.

memoryFailoverResourcesPercent (int):

Percentage of memory resources in the cluster to reserve for failover. You can specify up to 100% of memory resources for failover.