Gaurav - Were you trying this on a stopped vm ? If you try and start it
with an offering
above the host capacity (including over provisioning ) then it shouldn't
start. Let me know how it goes.

More details on scale vm feature @
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+scaling+of+C
PU+and+RAM 

On 01/10/13 12:02 AM, "Gaurav Aradhye" <gaurav.arad...@clogeny.com> wrote:

>Thanks David. That disabuses my confusion about the CPU provisioning. I
>was
>using the wrong API to scale up the virtual machine, so above observations
>stand invalid till I get the same results with the right API.
>
>About over-provisioning, I have the over provisioning factor set as 1 both
>in case of CPU and memory.
>
>Regards,
>Gaurav
>
>
>On Mon, Sep 30, 2013 at 10:55 PM, David Ortiz <dpor...@outlook.com> wrote:
>
>> A machine won't be able to support more cores on a VM than the physical
>> processor.  That should result in problems trying to deploy it.  I'm
>> guessing the service offering is still valid since you could add a host
>> later which has a hex core or two cpus in it.  As far as RAM goes, do
>>you
>> have overprovisioning enabled?
>>
>> > From: gaurav.arad...@clogeny.com
>> > Date: Mon, 30 Sep 2013 14:00:04 +0530
>> > Subject: Scaling up cpu and memory of user vm above host capacity
>> > To: dev@cloudstack.apache.org
>> >
>> > Hi,
>> >
>> > I am trying to automate a scenario here. I have only one host in
>>cluster
>> > with 4 CPU cores and 15 GB total memory. When I try to scale up cpu
>>and
>> RAM
>> > of a running user vm above the host capacity, it doesn't throw any
>>error
>> > and I can see the updated values in VM statistics too.
>> >
>> > For CPU, I am able to change the service offering of user vm as  5
>>cores
>> *
>> > 100 MHz (even though host has 4 cores). I am not sure how this
>> calculation
>> > is done. Definitely many no. of virtual cores can be formed on host
>>(more
>> > than 4), but is it possible to allocate 5 cores to single VM ? When I
>>try
>> > to deploy new VM with 5 core CPU service offering, then in this case
>>it
>> > fails saying not enough server capacity.
>> >
>> > Also, For memory, I am able to create 17 GB memory service offering
>>and
>> > allocate it to any running user vm (although the total memory on host
>>is
>> 15
>> > GB).
>> >
>> > Any directions? Is this an issue or am I missing something here?
>> >
>> > Regards,
>> > Gaurav
>>
>>

Reply via email to