<div dir="ltr"><div>Hi,<br></div><div>IIUC you probably want to set<code class=""> </code>ram_weight_multiplier to a negative number. From the OpenStack documentation [1]:<br><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
By default, the scheduler spreads instances
                        across all hosts evenly. Set the
                            <code class="">ram_weight_multiplier</code>
                        option to a negative number if you prefer
                        stacking instead of spreading. Use a
                        floating-point value.</blockquote><div><br></div><div>Simon<br></div><div><br>[1] <a href="http://docs.openstack.org/trunk/config-reference/content/section_compute-scheduler.html">http://docs.openstack.org/trunk/config-reference/content/section_compute-scheduler.html</a> <br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 26, 2014 at 5:01 PM, George Shuklin <span dir="ltr"><<a href="mailto:george.shuklin@gmail.com" target="_blank">george.shuklin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good day.<br>
<br>
I can't find any options for nova scheduler to consolidate new instances on few hosts instead of 'spreading' them on all available hosts.<br>
<br>
Simple example: let says we has 10 hosts, each host got 10Gb of memory for instances. We has flavors of 3Gb and 5Gb of RAM. If we run 20 new instances, they will consume about 6Gb per host and we will not able to run new instance with 6Gb of RAM (even we have 10*4=40 Gb of free memory on computes, none of the hosts has more than 4Gb of memory).<br>

<br>
Is any nice way to say 'consolidate' to openstack? Thanks!<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.<u></u>openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-operators</a><br>
</blockquote></div><br></div>