You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Indra Pramana <in...@sg.or.id> on 2013/12/25 02:47:55 UTC

Increase max number of VMs in a host?

Hi,

I am not able to add a new VM instance through CloudStack because the
number of VMs in my KVM hypervisor hosts have reached 50.

Is there a way to increase the limit? I can't seem to find it on the Global
Settings.

===

2013-12-25 06:02:20,995 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-77:job-6222 = [ fb1c8047-8de6-4144-a970-34381ae48911 ]
FirstFitRoutingAllocator) Host name: hv-kvm-01, hostId: 34 already reached
max Running VMs(count includes system VMs), limit is: 50,Running VM counts
is: 50

2013-12-25 06:02:20,995 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-75:job-6221 = [ 814d494b-d4fc-459b-8ceb-5acd51326bd9 ]
FirstFitRoutingAllocator) Host name: hv-kvm-02, hostId: 37 already reached
max Running VMs(count includes system VMs), limit is: 50,Running VM counts
is: 50

===

Looking forward to your reply, thank you.

Cheers.

Re: Increase max number of VMs in a host?

Posted by Nux! <nu...@li.nux.ro>.
On 25.12.2013 01:47, Indra Pramana wrote:
> Hi,
> 
> I am not able to add a new VM instance through CloudStack because the
> number of VMs in my KVM hypervisor hosts have reached 50.
> 
> Is there a way to increase the limit? I can't seem to find it on the 
> Global
> Settings.

This can be easily changed from GUI, in Global Settings. Check 
http://img.nux.ro/7VmK-hypervisorcapa.png

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

Re: Increase max number of VMs in a host?

Posted by Indra Pramana <in...@sg.or.id>.
Hi Prachi and especially Ryan,

Many thanks! Managed to find the option on Global Settings and change view
to "Hypervisor Capabilities" as per Ryan's advice! Have changed the value
under KVM, default to a higher value.

Cheers.



On Wed, Dec 25, 2013 at 4:38 PM, Ryan Lei <ry...@cht.com.tw> wrote:

> Actually, this functionality exists in the UI, too.
> In Global Settings, be sure to select view as "Hypervisor Capabilities"
> instead of "Global Settings."
> Then, raise {KVM, default} to a higher value.
>
>
> -------------------------------------------------------------------------------------------
> Yu-Heng (Ryan) Lei, Associate Researcher
> Chunghwa Telecom Laboratories / Cloud Computing Laboratory
> ryanlei@cht.com.tw or ryanlei750328@gmail.com
>
>
>
> On Wed, Dec 25, 2013 at 3:37 PM, Prachi Damle <Prachi.Damle@citrix.com
> >wrote:
>
> > Hi Indra,
> >
> > You need to call the updateHypervisorCapabilities API and set the
> > 'maxguestslimit' to a new value for the KVM hypervisor.
> > The listHypervisorCapabilities API will let you know the necessary ID of
> > the capability to be updated.
> >
> > Prachi
> >
> > -----Original Message-----
> > From: Indra Pramana [mailto:indra@sg.or.id]
> > Sent: Tuesday, December 24, 2013 5:48 PM
> > To: users@cloudstack.apache.org; dev@cloudstack.apache.org
> > Subject: Increase max number of VMs in a host?
> >
> > Hi,
> >
> > I am not able to add a new VM instance through CloudStack because the
> > number of VMs in my KVM hypervisor hosts have reached 50.
> >
> > Is there a way to increase the limit? I can't seem to find it on the
> > Global Settings.
> >
> > ===
> >
> > 2013-12-25 06:02:20,995 DEBUG [cloud.capacity.CapacityManagerImpl]
> > (Job-Executor-77:job-6222 = [ fb1c8047-8de6-4144-a970-34381ae48911 ]
> > FirstFitRoutingAllocator) Host name: hv-kvm-01, hostId: 34 already
> reached
> > max Running VMs(count includes system VMs), limit is: 50,Running VM
> counts
> > is: 50
> >
> > 2013-12-25 06:02:20,995 DEBUG [cloud.capacity.CapacityManagerImpl]
> > (Job-Executor-75:job-6221 = [ 814d494b-d4fc-459b-8ceb-5acd51326bd9 ]
> > FirstFitRoutingAllocator) Host name: hv-kvm-02, hostId: 37 already
> reached
> > max Running VMs(count includes system VMs), limit is: 50,Running VM
> counts
> > is: 50
> >
> > ===
> >
> > Looking forward to your reply, thank you.
> >
> > Cheers.
> >
>

Re: Increase max number of VMs in a host?

Posted by Ryan Lei <ry...@cht.com.tw>.
Actually, this functionality exists in the UI, too.
In Global Settings, be sure to select view as "Hypervisor Capabilities"
instead of "Global Settings."
Then, raise {KVM, default} to a higher value.

-------------------------------------------------------------------------------------------
Yu-Heng (Ryan) Lei, Associate Researcher
Chunghwa Telecom Laboratories / Cloud Computing Laboratory
ryanlei@cht.com.tw or ryanlei750328@gmail.com



On Wed, Dec 25, 2013 at 3:37 PM, Prachi Damle <Pr...@citrix.com>wrote:

> Hi Indra,
>
> You need to call the updateHypervisorCapabilities API and set the
> 'maxguestslimit' to a new value for the KVM hypervisor.
> The listHypervisorCapabilities API will let you know the necessary ID of
> the capability to be updated.
>
> Prachi
>
> -----Original Message-----
> From: Indra Pramana [mailto:indra@sg.or.id]
> Sent: Tuesday, December 24, 2013 5:48 PM
> To: users@cloudstack.apache.org; dev@cloudstack.apache.org
> Subject: Increase max number of VMs in a host?
>
> Hi,
>
> I am not able to add a new VM instance through CloudStack because the
> number of VMs in my KVM hypervisor hosts have reached 50.
>
> Is there a way to increase the limit? I can't seem to find it on the
> Global Settings.
>
> ===
>
> 2013-12-25 06:02:20,995 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-77:job-6222 = [ fb1c8047-8de6-4144-a970-34381ae48911 ]
> FirstFitRoutingAllocator) Host name: hv-kvm-01, hostId: 34 already reached
> max Running VMs(count includes system VMs), limit is: 50,Running VM counts
> is: 50
>
> 2013-12-25 06:02:20,995 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-75:job-6221 = [ 814d494b-d4fc-459b-8ceb-5acd51326bd9 ]
> FirstFitRoutingAllocator) Host name: hv-kvm-02, hostId: 37 already reached
> max Running VMs(count includes system VMs), limit is: 50,Running VM counts
> is: 50
>
> ===
>
> Looking forward to your reply, thank you.
>
> Cheers.
>

RE: Increase max number of VMs in a host?

Posted by Prachi Damle <Pr...@citrix.com>.
Hi Indra,

You need to call the updateHypervisorCapabilities API and set the 'maxguestslimit' to a new value for the KVM hypervisor.
The listHypervisorCapabilities API will let you know the necessary ID of the capability to be updated.

Prachi

-----Original Message-----
From: Indra Pramana [mailto:indra@sg.or.id] 
Sent: Tuesday, December 24, 2013 5:48 PM
To: users@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: Increase max number of VMs in a host?

Hi,

I am not able to add a new VM instance through CloudStack because the number of VMs in my KVM hypervisor hosts have reached 50.

Is there a way to increase the limit? I can't seem to find it on the Global Settings.

===

2013-12-25 06:02:20,995 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-77:job-6222 = [ fb1c8047-8de6-4144-a970-34381ae48911 ]
FirstFitRoutingAllocator) Host name: hv-kvm-01, hostId: 34 already reached max Running VMs(count includes system VMs), limit is: 50,Running VM counts
is: 50

2013-12-25 06:02:20,995 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-75:job-6221 = [ 814d494b-d4fc-459b-8ceb-5acd51326bd9 ]
FirstFitRoutingAllocator) Host name: hv-kvm-02, hostId: 37 already reached max Running VMs(count includes system VMs), limit is: 50,Running VM counts
is: 50

===

Looking forward to your reply, thank you.

Cheers.

RE: Increase max number of VMs in a host?

Posted by Prachi Damle <Pr...@citrix.com>.
Hi Indra,

You need to call the updateHypervisorCapabilities API and set the 'maxguestslimit' to a new value for the KVM hypervisor.
The listHypervisorCapabilities API will let you know the necessary ID of the capability to be updated.

Prachi

-----Original Message-----
From: Indra Pramana [mailto:indra@sg.or.id] 
Sent: Tuesday, December 24, 2013 5:48 PM
To: users@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: Increase max number of VMs in a host?

Hi,

I am not able to add a new VM instance through CloudStack because the number of VMs in my KVM hypervisor hosts have reached 50.

Is there a way to increase the limit? I can't seem to find it on the Global Settings.

===

2013-12-25 06:02:20,995 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-77:job-6222 = [ fb1c8047-8de6-4144-a970-34381ae48911 ]
FirstFitRoutingAllocator) Host name: hv-kvm-01, hostId: 34 already reached max Running VMs(count includes system VMs), limit is: 50,Running VM counts
is: 50

2013-12-25 06:02:20,995 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-75:job-6221 = [ 814d494b-d4fc-459b-8ceb-5acd51326bd9 ]
FirstFitRoutingAllocator) Host name: hv-kvm-02, hostId: 37 already reached max Running VMs(count includes system VMs), limit is: 50,Running VM counts
is: 50

===

Looking forward to your reply, thank you.

Cheers.