[nova] Instance Even Scheduling
tonyliu0592 at hotmail.com
Mon Jan 17 16:35:46 UTC 2022
Filter gives you a group of valid hosts, assuming they are equally weighted,
you may try with these two settings to pick up a host in a more even manner.
host_subset_size (increase the size)
shuffle_best_same_weighed_hosts (enable the shuffle)
From: Ammad Syed <syedammad83 at gmail.com>
Sent: January 16, 2022 11:53 PM
Subject: [nova] Instance Even Scheduling
I have 5 compute nodes. When I deploy instances, the most of the instances automatically placed in node 1 or node 2. The other compute nodes remain empty or with one or two instances on it.
enabled_filters = ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,AggregateInstanceExtraSpecsFilter
I have enabled the above filters. How to ensure that instances should be scheduled on compute nodes evenly on all compute hosts based on RAM only ? Like scheduler should schedule the instance on compute host which has a large amount of RAM available then other hosts.
More information about the openstack-discuss