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 [email protected] or [email protected] On Wed, Dec 25, 2013 at 3:37 PM, Prachi Damle <[email protected]>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:[email protected]] > Sent: Tuesday, December 24, 2013 5:48 PM > To: [email protected]; [email protected] > 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. >
