<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 25 November 2014 at 13:38, Georgios Dimitrakakis <span dir="ltr"><<a href="mailto:giorgis@acmac.uoc.gr" target="_blank">giorgis@acmac.uoc.gr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Is there somehow a way to setup different quotas for different hypervisors?<br>
<br>
I have a multi-node installation where each node has different physical specification from the others.<br>
<br>
How can I limit each one to be able to start a specific number of VMs based on the available flavors and the available specs?<br>
<br>
<br>
Best regards,<br></blockquote><div><br></div><div><br></div><div>You probably don't mean quota, which applies to a tenant.</div><div><div>cpu_allocation_ratio=16</div><div>ram_allocation_ratio=3</div><div>reserved_host_memory_mb=4096</div></div><div><br></div><div>are 3 things that can be set in nova.conf, but i don't think these will achieve your goal of making nova scheduler make different decisions.</div><div><br></div><div>Generally, </div><div><a href="http://docs.openstack.org/juno/config-reference/content/section_compute-scheduler.html">http://docs.openstack.org/juno/config-reference/content/section_compute-scheduler.html</a><br></div><div>shows the options the scheduler will look at.</div><div><br></div><div><a href="http://docs.openstack.org/developer/nova/devref/filter_scheduler.html">http://docs.openstack.org/developer/nova/devref/filter_scheduler.html</a> has some description, you can see the <tt class="" style="font-size:1.1em;font-family:monospace;font-weight:bold;line-height:21.5999984741211px"><span class="">JsonFilter</span></tt><span style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:14.399998664856px;line-height:21.5999984741211px">  is probably what you want.</span><br></div><div><span style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:14.399998664856px;line-height:21.5999984741211px"><br></span></div></div></div></div>