I double checked the cpu hotplug for kvm, website said it has a lot of bugs and removed from mainstream.
Thanksfrom Peter From: [email protected] To: [email protected] Date: Thu, 11 Jul 2013 15:54:01 +0800 CC: [email protected] Subject: Re: [Openstack] which API can do these? Hi Anne If I modify the flavor, the vm doesn't take effect immediately. So how can i add more cpu to a running instance? Thanksfrom Peter From: [email protected] Date: Tue, 9 Jul 2013 11:23:14 -0500 Subject: Re: [Openstack] which API can do these? To: [email protected] CC: [email protected] Hi Peter, Some doc links below. On Tue, Jul 9, 2013 at 4:59 AM, Peter Cheung <[email protected]> wrote: Hi All which API can do these? 1) adjust the RAM size, no of CPU core to an instance For 1) the keyword you want to look for in the docs is flavors. You can read more at http://docs.openstack.org/trunk/openstack-ops/content/flavors.html. It indicates that you can use nova flavor-create -- note that you're technically not modifying an existing flavor, you're creating a new flavor and renaming it. Use nova --debug flavor-create to see the API commands associated with these adjustments to flavors. 2) enlarge a disk to an instance This is also specified in flavors. 3) get the information about ram/cpu/disk size of an instance You want this I believe. http://api.openstack.org/api-ref.html#ext-os-flavorextradata Thanksfrom Peter _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

