<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Thank you!<br>
<br>
It's exactly that I've been searching.<br>
<br>
On 08/26/2014 06:35 PM, Simon Pasquier wrote:<br>
</div>
<blockquote
cite="mid:CAOq3GZU5i1vZUAZeoUyy1PHG0drD8oqGRxHYuDNM9PqBju5mxw@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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 moz-do-not-send="true"
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>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a moz-do-not-send="true"
href="mailto:OpenStack-operators@lists.openstack.org"
target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators"
target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>