|
1 | 1 | :_content-type: PROCEDURE |
2 | 2 | [id="Explanation_of_Settings_in_the_New_Scheduling_Policy_and_Edit_Scheduling_Policy_Window"] |
| 3 | +:mandatory-mark: icon:lock[title="Mandatory",role=mandatory] |
3 | 4 | = Explanation of Settings in the New Scheduling Policy and Edit Scheduling Policy Window |
4 | 5 |
|
5 | | -The following table details the options available in the *New Scheduling Policy* and *Edit Scheduling Policy* windows. |
| 6 | +The following details the different options available in the *New Scheduling Policy* and *Edit Scheduling Policy* windows. |
6 | 7 |
|
7 | | -.New Scheduling Policy and Edit Scheduling Policy Settings |
8 | | -[options="header"] |
9 | | -|=== |
10 | | -|Field Name |Description |
11 | | -|*Name* |The name of the scheduling policy. This is the name used to refer to the scheduling policy in the {virt-product-fullname} {engine-name}. |
12 | | -|*Description* |A description of the scheduling policy. This field is recommended but not mandatory. |
13 | | -|*Filter Modules* a|A set of filters for controlling the hosts on which a virtual machine in a cluster can run. Enabling a filter will filter out hosts that do not meet the conditions specified by that filter, as outlined below: |
14 | | - |
15 | | -* `ClusterInMaintenance`: Virtual machines being started on the host that are not configured for high availability filter out the host. |
16 | | -
|
17 | | -* `CpuPinning`: Hosts which do not satisfy the CPU pinning definition. |
18 | | -
|
19 | | -* `Migration`: Prevents migration to the same host. |
20 | | -
|
21 | | -* `CPUOverloaded`: Hosts with CPU usage that is above the defined *HighUtilization* threshold for the interval defined by the *CpuOverCommitDurationMinutes*. |
22 | | -
|
23 | | -* `PinToHost`: Hosts other than the host to which the virtual machine is pinned. |
24 | | -
|
25 | | -* `CPU-Level`: Hosts that do not meet the CPU topology of the virtual machine. |
26 | | -
|
27 | | -* `VmAffinityGroups`: Hosts that do not meet the affinity rules defined for the virtual machine. |
28 | | -
|
29 | | -* `NUMA`: Hosts that do not have NUMA nodes that can accommodate the virtual machine vNUMA nodes in terms of resources. |
30 | | -
|
31 | | -* `InClusterUpgrade`: Hosts that are running an earlier version of the operating system than the host that the virtual machine currently runs on. |
32 | | -
|
33 | | -* `MDevice`: Hosts that do not provide the required mediated device (mDev). |
34 | | -
|
35 | | -* `Memory`: Hosts that do not have sufficient memory to run the virtual machine. |
36 | | -
|
37 | | -* `CPU`: Hosts with fewer CPUs than the number assigned to the virtual machine. |
38 | | -
|
39 | | -* `HostedEnginesSpares`: Reserves space for the {engine-name} virtual machine on a specified number of self-hosted engine nodes. |
40 | | -
|
41 | | -* `Swap`: Hosts that are not swapping within the threshold. |
42 | | -
|
43 | | -* `VM leases ready`: Hosts that do not support virtual machines configured with storage leases. |
44 | | -
|
45 | | -* `VmToHostsAffinityGroups`: Group of hosts that do not meet the conditions specified for a virtual machine that is a member of an affinity group. For example, that virtual machines in an affinity group must run on one of the hosts in a group or on a separate host that is excluded from the group. |
46 | | -
|
47 | | -* `HostDevice`: Hosts that do not support host devices required by the virtual machine. |
48 | | -
|
49 | | -* `HA`: Forces the {engine-name} virtual machine in a self-hosted engine environment to run only on hosts with a positive high availability score. |
50 | | -
|
51 | | -* `Emulated-Machine`: Hosts which do not have proper emulated machine support. |
52 | | -
|
53 | | -* `HugePages`: Hosts that do not meet the required number of Huge Pages needed for the virtual machine's memory. |
| 8 | +*Name:* The name of the scheduling policy. This is the name used to refer to the scheduling policy in the {virt-product-fullname} {engine-name}. |
54 | 9 |
|
55 | | -* `Migration-Tsc-Frequency`: Hosts that do not have virtual machines with the same TSC frequency as the host currently running the virtual machine. |
| 10 | +*Description:* A description of the scheduling policy. This field is recommended but not mandatory. |
56 | 11 |
|
57 | | -* `Network`: Hosts on which networks required by the network interface controller of a virtual machine are not installed, or on which the cluster's display network is not installed. |
| 12 | +[NOTE] |
| 13 | +Policy units marked with {mandatory-mark} represent units that are mandatory since 4.4.0. From that version onward these are always enabled and will not be displayed in the UI. |
58 | 14 |
|
59 | | -* `Label`: Hosts that do not have the required affinity labels. |
60 | | -
|
61 | | -* `Compatibility-Version`: Hosts that do not have the correct cluster compatibility version support. |
62 | | -
|
63 | | -|*Weights Modules* a|A set of weightings for controlling the relative priority of factors considered when determining the hosts in a cluster on which a virtual machine can run. |
64 | | - |
65 | | -* `VmAffinityGroups`: Weights hosts in accordance with the affinity groups defined for virtual machines. This weight module determines how likely virtual machines in an affinity group are to run on the same host or on separate hosts in accordance with the parameters of that affinity group. |
66 | | -
|
67 | | -* `InClusterUpgrade`: Weight hosts in accordance with their operating system version. The weight penalizes hosts with earlier operating systems more than hosts with the same operating system as the host that the virtual machine is currently running on. This ensures that priority is always given to hosts with later operating systems. |
68 | | -
|
69 | | -* `OptimalForCpuEvenDistribution`: Weights hosts in accordance with their CPU usage, giving priority to hosts with lower CPU usage. |
70 | | -
|
71 | | -* `CPU for high performance VMs`: Prefers hosts that have more or an equal number of sockets, cores and threads than the VM. |
72 | | -
|
73 | | -* `HA`: Weights hosts in accordance with their high availability score. |
74 | | -
|
75 | | -* `OptimalForCpuPowerSaving`: Weights hosts in accordance with their CPU usage, giving priority to hosts with higher CPU usage. |
76 | | -
|
77 | | -* `OptimalForMemoryPowerSaving`: Weights hosts in accordance with their memory usage, giving priority to hosts with lower available memory. |
78 | | -
|
79 | | -* `CPU and NUMA pinning compatibility`: Weights hosts in accordance to pinning compatibility. When a virtual machine has both vNUMA and pinning defined, this weight module gives preference to hosts whose CPU pinning does not clash with the vNUMA pinning. |
80 | | -
|
81 | | -* `VmToHostsAffinityGroups`: Weights hosts in accordance with the affinity groups defined for virtual machines. This weight module determines how likely virtual machines in an affinity group are to run on one of the hosts in a group or on a separate host that is excluded from the group. |
82 | | -
|
83 | | -* `OptimalForEvenGuestDistribution`: Weights hosts in accordance with the number of virtual machines running on those hosts. |
84 | | -
|
85 | | -* `OptimalForHaReservation`: Weights hosts in accordance with their high availability score. |
86 | | -
|
87 | | -* `OptimalForMemoryEvenDistribution`: Weights hosts in accordance with their memory usage, giving priority to hosts with higher available memory. |
88 | | -//* `None`: Weights hosts in accordance with the even distribution module. |
| 15 | +.Different Possible Filter Modules |
| 16 | +[options="header"] |
| 17 | +|=== |
| 18 | +|Filter Name |Description |
| 19 | +| `ClusterInMaintenance` | Virtual machines being started on the host that are not configured for high availability filter out the host |
| 20 | +| `CpuPinning` {mandatory-mark} | Hosts which do not satisfy the CPU pinning definition. |
| 21 | +| `Migration` | Prevents migration to the same host. |
| 22 | +| `CPUOverloaded` | Hosts with CPU usage that is above the defined *HighUtilization* threshold for the interval defined by the *CpuOverCommitDurationMinutes*. |
| 23 | +| `PinToHost` | Hosts other than the host to which the virtual machine is pinned. |
| 24 | +| `CPU-Level` | Hosts that do not meet the CPU topology of the virtual machine. |
| 25 | +| `VmAffinityGroups` | Hosts that do not meet the affinity rules defined for the virtual machine. |
| 26 | +| `NUMA` | Hosts that do not have NUMA nodes that can accommodate the virtual machine vNUMA nodes in terms of resources. |
| 27 | +| `InClusterUpgrade` | Hosts that are running an earlier version of the operating system than the host that the virtual machine currently runs on. |
| 28 | +| `MDevice` {mandatory-mark} | Hosts that do not provide the required mediated device (mDev). |
| 29 | +| `Memory` | Hosts that do not have sufficient memory to run the virtual machine. |
| 30 | +| `CPU` | Hosts with fewer CPUs than the number assigned to the virtual machine. |
| 31 | +| `HostedEnginesSpares` | Reserves space for the {engine-name} virtual machine on a specified number of self-hosted engine nodes. |
| 32 | +| `Swap` | Hosts that are not swapping within the threshold. |
| 33 | +| `VM leases ready` {mandatory-mark} | Hosts that do not support virtual machines configured with storage leases. |
| 34 | +| `VmToHostsAffinityGroups` | Group of hosts that do not meet the conditions specified for a virtual machine that is a member of an affinity group. For example, that virtual machines in an affinity group must run on one of the hosts in a group or on a separate host that is excluded from the group. |
| 35 | +| `HostDevice` | Hosts that do not support host devices required by the virtual machine. |
| 36 | +| `HA` | Forces the {engine-name} virtual machine in a self-hosted engine environment to run only on hosts with a positive high availability score. |
| 37 | +| `Emulated-Machine` | Hosts which do not have proper emulated machine support. |
| 38 | +| `HugePages` | Hosts that do not meet the required number of Huge Pages needed for the virtual machine's memory. |
| 39 | +| `Migration-Tsc-Frequency` | Hosts that do not have virtual machines with the same TSC frequency as the host currently running the virtual machine. |
| 40 | +| `Network` | Hosts on which networks required by the network interface controller of a virtual machine are not installed, or on which the cluster's display network is not installed. |
| 41 | +| `Compatibility-Version` {mandatory-mark} | Hosts that do not have the correct cluster compatibility version support. |
| 42 | +| `Host-hooks` | Runs VMs only on hosts with a hooks required by VM's configuration |
| 43 | +|=== |
89 | 44 |
|
90 | | -* `Fit VM to single host NUMA node`: Weights hosts in accordance to whether a virtual machine fits into a single NUMA node. When a virtual machine does not have vNUMA defined, this weight module gives preference to hosts that can fit the virtual machine into a single physical NUMA. |
| 45 | +.Different Possible Weights Modules |
| 46 | +[options="header"] |
| 47 | +|=== |
| 48 | +|Weight Name |Description |
| 49 | +| `VmAffinityGroups` | Weights hosts in accordance with the affinity groups defined for virtual machines. This weight module determines how likely virtual machines in an affinity group are to run on the same host or on separate hosts in accordance with the parameters of that affinity group. |
| 50 | +| `InClusterUpgrade` | Weight hosts in accordance with their operating system version. The weight penalizes hosts with earlier operating systems more than hosts with the same operating system as the host that the virtual machine is currently running on. This ensures that priority is always given to hosts with later operating systems. |
| 51 | +| `OptimalForCpuEvenDistribution` | Weights hosts in accordance with their CPU usage, giving priority to hosts with lower CPU usage. |
| 52 | +| `CPU for high performance VMs` | Prefers hosts that have more or an equal number of sockets, cores and threads than the VM. |
| 53 | +| `HA` | Weights hosts in accordance with their high availability score. |
| 54 | +| `OptimalForCpuPowerSaving` | Weights hosts in accordance with their CPU usage, giving priority to hosts with higher CPU usage. |
| 55 | +| `CPU and NUMA pinning compatibility` | Weights hosts in accordance to pinning compatibility. When a virtual machine has both vNUMA and pinning defined, this weight module gives preference to hosts whose CPU pinning does not clash with the vNUMA pinning. |
| 56 | +| `VmToHostsAffinityGroups` | Weights hosts in accordance with the affinity groups defined for virtual machines. This weight module determines how likely virtual machines in an affinity group are to run on one of the hosts in a group or on a separate host that is excluded from the group. |
| 57 | +| `OptimalForEvenGuestDistribution` | Weights hosts in accordance with the number of virtual machines running on those hosts. |
| 58 | +| `OptimalForHaReservation` | Weights hosts in accordance with their high availability score. |
| 59 | +| `OptimalForMemoryEvenDistribution` | Weights hosts in accordance with their memory usage, giving priority to hosts with higher available memory. |
| 60 | +| `Fit VM to single host NUMA node` | Weights hosts in accordance to whether a virtual machine fits into a single NUMA node. When a virtual machine does not have vNUMA defined, this weight module gives preference to hosts that can fit the virtual machine into a single physical NUMA. |
| 61 | +| `PreferredHosts` | Preferred hosts have priority during virtual machine setup. |
| 62 | +| `OptimalForMemoryPowerSaving` | Weights hosts in accordance with their memory usage, giving priority to hosts with higher memory usage. |
| 63 | +|=== |
91 | 64 |
|
92 | | -* `PreferredHosts`: Preferred hosts have priority during virtual machine setup. |
| 65 | +*Load Balancer:* This drop-down menu allows you to select a load balancing module to apply. Load balancing modules determine the logic used to migrate virtual machines from hosts experiencing high usage to hosts experiencing lower usage. |
93 | 66 |
|
94 | | -|*Load Balancer* |This drop-down menu allows you to select a load balancing module to apply. Load balancing modules determine the logic used to migrate virtual machines from hosts experiencing high usage to hosts experiencing lower usage. |
95 | | -|*Properties* |This drop-down menu allows you to add or remove properties for load balancing modules, and is only available when you have selected a load balancing module for the scheduling policy. No properties are defined by default, and the properties that are available are specific to the load balancing module that is selected. Use the *+* and *-* buttons to add or remove additional properties to or from the load balancing module. |
96 | | -|=== |
| 67 | +*Properties:* This drop-down menu allows you to add or remove properties for load balancing modules, and is only available when you have selected a load balancing module for the scheduling policy. No properties are defined by default, and the properties that are available are specific to the load balancing module that is selected. Use the *+* and *-* buttons to add or remove additional properties to or from the load balancing module. |
0 commit comments