VMware {code} Community
sahmed24
Contributor
Contributor
Jump to solution

create linked clone of vApp?

Hi

how can i create 'linked clone' of vApp from vSphere web services SDK?

//Rizwan

Tags (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
lamw
Community Manager
Community Manager
Jump to solution

Hi,

Creating Linked Clones from a vApp is not possible through the vSphere API, only full clones can be done. You can however query for an existing vApp, take each VM and create Linked Clones and you can refer to the details to VMware's Linked Clone WP - http://www.vmware.com/support/developer/vc-sdk/linked_vms_note.pdf

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

Reply
0 Kudos
5 Replies
lamw
Community Manager
Community Manager
Jump to solution

Hi,

Creating Linked Clones from a vApp is not possible through the vSphere API, only full clones can be done. You can however query for an existing vApp, take each VM and create Linked Clones and you can refer to the details to VMware's Linked Clone WP - http://www.vmware.com/support/developer/vc-sdk/linked_vms_note.pdf

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos
sahmed24
Contributor
Contributor
Jump to solution

thanks lamw

//Rizwan

Reply
0 Kudos
lamw
Community Manager
Community Manager
Jump to solution

Check out this script to create vApp Linked Clones -

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos
Kjellski
Contributor
Contributor
Jump to solution

What do I have to do when my VApp needs its own vSwitch?

There is no link in your last post, could you provide one for me too?

btw: Are the links in your signature broken?

Greetings,

Kjellski

Reply
0 Kudos
lamw
Community Manager
Community Manager
Jump to solution

Reply
0 Kudos