[Openstack] Hypervisor Quota
Georgios Dimitrakakis
giorgis at acmac.uoc.gr
Tue Nov 25 19:39:05 UTC 2014
Hi Don!
Yes, maybe quota is not the right word.
What I want is somehow to adjust the total number of vCPUs and the
total number of RAM that can be assigned to all VMs for a specific
hypervisor. Then Openstack based on these settings will accept or deny
the creation of a new VM at that hypervisor and will continue at the
next hypervisor.
Besides that is there a way to define hypervisor priority?? For
instance if I want to start putting VMs on one hypervisor rather than on
another but don't want to do it manually using the zone setting. Can I
configure it?
Thanks a lot for your answers!
All the best,
George
On Tue, 25 Nov 2014 14:19:59 -0500, Don Waterloo wrote:
> On 25 November 2014 at 13:38, Georgios Dimitrakakis wrote:
>
>> Is there somehow a way to setup different quotas for different
>> hypervisors?
>>
>> I have a multi-node installation where each node has different
>> physical specification from the others.
>>
>> 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?
>>
>> Best regards,
>
> You probably dont mean quota, which applies to a tenant.
>
> cpu_allocation_ratio=16
> ram_allocation_ratio=3
> reserved_host_memory_mb=4096
>
> are 3 things that can be set in nova.conf, but i dont think these
> will
> achieve your goal of making nova scheduler make different decisions.
>
> Generally,
>
> http://docs.openstack.org/juno/config-reference/content/section_compute-scheduler.html
> [2]
>
> shows the options the scheduler will look at.
>
> http://docs.openstack.org/developer/nova/devref/filter_scheduler.html
> [3] has some description, you can see the JsonFilter is probably
> what you want.
>
>
>
> Links:
> ------
> [1] mailto:giorgis at acmac.uoc.gr
> [2]
>
> http://docs.openstack.org/juno/config-reference/content/section_compute-scheduler.html
> [3]
> http://docs.openstack.org/developer/nova/devref/filter_scheduler.html
More information about the Openstack
mailing list