vSphere Web Services API
|
| Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Data Object - VmVmAntiAffinity(vim.vm.VmVmAntiAffinity)
- Extends
- VmPlacementPolicy
- See also
- TagId
- Since
- vSphere API Release 9.1.0.0
Data Object Description
Specification of a VM placement policy that anti-affines a group of VMs among themselves.Properties
| Name | Type | Description |
|---|---|---|
| antiAffinedVmsTag | TagId |
Name of the vSphere tag identifying the VMs that need to be anti-affined
with each other.
When this type of placement policy is specified for a VM, (via vmPlacementPolicies or vmPlacementPolicies), then that VM is anti-affined to all the other VMs that have antiAffinedVmsTag. This means that DRS will attempt to place all the VMs with antiAffinedVmsTag tag on different target hosts/clusters/ vSphereZones (where the topology of the target is specified by policyTopology).
For example - VmVmAntiAffinity placement policy with
antiAffinedVmsTag equal to "prod-workloads" would mean that
all the VMs that have a vSphere tag with the name "prod-workloads" should
be placed on different target hosts/clusters/vSphereZones (as indicated by
policyTopology).
|
| policyStrictness* | xsd:string |
Specifies the strictness of this VmVmAntiAffinity placement
policy while placing a VM for which this policy is specified. For
details, see
VmPlacementPolicyVmPlacementPolicyStrictness
If this field is left unset, then the default value of
VmPlacementPolicy.VmPlacementPolicyStrictness#PreferredDuringPlacementPreferredDuringExecution
will be assumed.
|
| policyTopology* | xsd:string |
Specifies the topology for enforcing this VmVmAntiAffinity placement
policy while placing a VM for which this policy is specified.
For possible values, see
VmPlacementPolicyVmPlacementPolicyTopology.
For example: - If this is set to VmPlacementPolicy.VmPlacementPolicyTopology#VSphereZone, the VMs that have antiAffinedVmsTag tag attached to them should be placed in different vSphere Zones. - If this is set to VmPlacementPolicy.VmPlacementPolicyTopology#Host, the VMs that have antiAffinedVmsTag tag attached to them should be placed on different ESXi hosts (but they may be placed in the same vSphere Zone).
If this field is left unset, then the default value of
VmPlacementPolicy.VmPlacementPolicyTopology#Host will be assumed.
|
| Properties inherited from VmPlacementPolicy | ||
| None | ||
| Properties inherited from DynamicData | ||
| None | ||
Show WSDL type definition
| Top of page | Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |