You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Abishek <ab...@gmail.com> on 2021/07/25 06:46:49 UTC

Limit Host Resource.

Hello Every One,

Is it possible to limit host resources in cloudstack 4.15.1. Lets say if a host CPU and memory resource is allocated about 90%, then do not allow the further new vm's to start on that host(choose another host).
Thank You

Re: Limit Host Resource.

Posted by avi <ha...@gmail.com>.
Thank You Vivek will test it out.

On 2021/07/26 06:17:07, Vivek Kumar <vi...@indiqus.com.INVALID> wrote: 
> Hello Abhishek, 
> 
> You can achieve n+1 redundancy  by putting limits on cluster level, Below are the few settings which you can set on cluster level and global level as well. So let’s say you have 4 host, then you can set limit on 70% for maintaining the n+1 redundancy.
> 
> cluster.cpu.allocated.capacity.disablethreshold
> cluster.cpu.allocated.capacity.notificationthreshold
> cluster.memory.allocated.capacity.disablethreshold
> cluster.memory.allocated.capacity.notificationthreshold
> 
> 
> Regards,
> Vivek Kumar
> 
> 
> 
> > On 25-Jul-2021, at 12:16 PM, Abishek <ab...@gmail.com> wrote:
> > 
> > Hello Every One,
> > 
> > Is it possible to limit host resources in cloudstack 4.15.1. Lets say if a host CPU and memory resource is allocated about 90%, then do not allow the further new vm's to start on that host(choose another host).
> > Thank You
> 
> 

Re: Limit Host Resource.

Posted by Vivek Kumar <vi...@indiqus.com.INVALID>.
Hello Abhishek, 

You can achieve n+1 redundancy  by putting limits on cluster level, Below are the few settings which you can set on cluster level and global level as well. So let’s say you have 4 host, then you can set limit on 70% for maintaining the n+1 redundancy.

cluster.cpu.allocated.capacity.disablethreshold
cluster.cpu.allocated.capacity.notificationthreshold
cluster.memory.allocated.capacity.disablethreshold
cluster.memory.allocated.capacity.notificationthreshold


Regards,
Vivek Kumar



> On 25-Jul-2021, at 12:16 PM, Abishek <ab...@gmail.com> wrote:
> 
> Hello Every One,
> 
> Is it possible to limit host resources in cloudstack 4.15.1. Lets say if a host CPU and memory resource is allocated about 90%, then do not allow the further new vm's to start on that host(choose another host).
> Thank You