VMware {code} Community
anon11
Contributor
Contributor

Several questions about configuring vApps.

Hello, I have some questions about vApps coniguration:

Does vCloud API provide possibility of reconfiguring vApp entity? E.g. adding memory to running application?

Is there possibility to instantiate AppTemplate on specific resources (procs, memory)? As far as I see resource requirements are stored inside AppTemplate and cannot be changed without creating another appTemplate, are they?

0 Kudos
3 Replies
Steve_Jin
Expert
Expert

As of version 0.8, I don't see a way to change the resource (cpu, mem) allocation of a running vApp with vCloud API.

You can change the resources by specifying the VirtualHardwareSection as described on page 33-34 of the following doc. You don't need yet another template for a new configuration.

http://communities.vmware.com/static/vcloudapi/vCloud_API_Programming_Guide_v0.8.pdf

Steve JIN

Author of VMware VI and vSphere SDK (Prentice Hall)

Creator of open source vSphere (VI) Java API(Tutorial, Testimonials, Download, Samples, Forum)

Blog: DoubleCloud.ORG ( Top 10 Best Practices,[Object Model|http://www.doublecloud.org/2010/02/object-model-of-vmware-vsphere-api-a-big-picture-in-2-minutes/],[Common Mistakes|http://www.doublecloud.org/2010/01/31/common-mistakes-using-vmware-vi-and-vsphere-sdk/], Tiny REST API, Cloud Application Architecture)

Steve JIN Author of VMware VI and vSphere SDK; Creator of open source VI Java API (http://vijava.sf.net); Blogger at http://www.doublecloud.org
0 Kudos
anon11
Contributor
Contributor

Thank you for response.

>As of version 0.8, I don't see a way to change the resource (cpu, mem) allocation of a running vApp with vCloud API.

So what are the chances of appearing this feature in next versions of vCloud API?

0 Kudos
Steve_Jin
Expert
Expert

Good question. I don't know. You may want to contact VMware product management for the answer.



Steve JIN

Author of VMware VI and vSphere SDK (Prentice Hall)

Creator of open source vSphere (VI) Java API(Tutorial, Testimonials, Download, Samples, Forum)

Blog: DoubleCloud.ORG ( Top 10 Best Practices,[Object Model|http://www.doublecloud.org/2010/02/object-model-of-vmware-vsphere-api-a-big-picture-in-2-minutes/],[Common Mistakes|http://www.doublecloud.org/2010/01/31/common-mistakes-using-vmware-vi-and-vsphere-sdk/], Tiny REST API, Cloud Application Architecture)

Twitter: @sjin2008

Steve JIN Author of VMware VI and vSphere SDK; Creator of open source VI Java API (http://vijava.sf.net); Blogger at http://www.doublecloud.org
0 Kudos