Hi, If you want to update the vm to enable the dynamic scaling (using updateVirtualMachine command)
1. Please make sure the vm has xenserver/vmware tools installed on it to support dynamic scaling of cpu/ram. 2. Set the zone/global level configuration parameter “enable.dynamic.scale.vm” to true. 3. Stop the vm and call updateVirtualMachine command with “isdynamicallyscalable” set to true (or can do it from UI) 4. Start the VM. Now the VM’s cpu/ram is dynamically scalable Thanks Harikrishna On 27-May-2014, at 6:37 pm, Geoff Higginbottom <[email protected]> wrote: > Hector, > > The API you need is the updateVirtualMachine API for release 4.2 or 4.3 (this > is a 4.2 feature so will not be in the 4.0 API docs) > http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/updateVirtualMachine.html > > When a VM is deployed, it takes the dynamicallyscalable setting from the > Template, so you cannot control this via the deployVirtualMachine > > The updaateVirtualMachine API allows you to deploy a VM from an ISO, then > after deployment update it to make it dynamic etc. > > Regards > > Geoff Higginbottom > > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 > > [email protected] > > -----Original Message----- > From: Fernandez, H.J. [mailto:[email protected]] > Sent: 27 May 2014 13:57 > To: [email protected] > Subject: Enable dynamically scalable property of a vm > > Dear all, > > I would like to enable the dynamically scalable property of a Virtual machine > at creation time. Is it possible ? I checked the parameters in the API but I > cannot find any parameters that enables this feature. However, I can do it > manually using the UI, if I edit the machine enabling the dynamically > scalable property and then saving the changes. > > This is the API call, I was looking at … > http://cloudstack.apache.org/docs/api/apidocs-4.0.0/user/deployVirtualMachine.html > > Best, > </Hector> > Find out more about ShapeBlue and our range of CloudStack related services > > IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> > CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> > CloudStack Infrastructure > Support<http://shapeblue.com/cloudstack-infrastructure-support/> > CloudStack Bootcamp Training > Courses<http://shapeblue.com/cloudstack-training/> > > This email and any attachments to it may be confidential and are intended > solely for the use of the individual to whom it is addressed. Any views or > opinions expressed are solely those of the author and do not necessarily > represent those of Shape Blue Ltd or related companies. If you are not the > intended recipient of this email, you must neither take any action based upon > its contents, nor copy or show it to anyone. Please contact the sender if you > believe you have received this email in error. Shape Blue Ltd is a company > incorporated in England & Wales. ShapeBlue Services India LLP is a company > incorporated in India and is operated under license from Shape Blue Ltd. > Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is > operated under license from Shape Blue Ltd. ShapeBlue is a registered > trademark.
