[Openstack] Scheduler pack VMs on a single host

Jay Pipes jaypipes at gmail.com
Wed Jun 10 01:34:09 UTC 2015


On 06/09/2015 06:49 PM, Georgios Dimitrakakis wrote:
> Hi all!
>
> I would like to know if it's possible to pack as many VMs as possible
> (based on the available resources) on one host
> before populating another.
>
> What I have seen so far is that by default it tries to balance the
> available VMs on different hosts.

Yup, by default, Nova will "spread" the VMs across hosts. If you want to 
"pack" VMs, then you need to set the following configuration option:

ram_weight_multiplier = -1.0

The default value is 1.0, which spreads. Negative numbers will pack.

Best,
-jay




More information about the Openstack mailing list