vCloud Director vApp hot clone & customize

vCloud Director vApp hot clone & customize

Allows to clone a vApp (running or not) to a VDC. The vCloud API does not allow to hot clone to a different VDC so the vApp is first cloned to the same VDC and then cloned again to the destination VDC.

Options:

  • Deploy / power on the cloned VM
  • Delete the source vApp
  • Use link clones

vApp network customizations:

  • Change organization VDC network (i.e dev to test)
  • Fence the vApp

vApp VMs network customization

  • Update MAC addresses & Pool IP addresses
  • Switch static IPs to pool or DHCP

vApp VMs guest OS customization

  • Generate unique guest hostname
  • Change SID

For  the change organization VDC network run first the "Create organization  VDC network mapping"  and answer user interactions to map each source  VDC org network to a destination one.

Find attached a package for the vCloud Director 5.1 plug-in.

Notes:

  • The customizations exist to avoid Mac Addresses / IP / hostname / SID duplicates.
  • The Windows guest customization may not work properly based on the guest customization settings. Also in some cases the vApp may require an extra restart for the guest customization to take place. Ufortunately I could not test all possible configurations.

Disclaimer: These samples workflows are  provided AS IS and are not considered production quality and are not  officially supported. Use at your own risk. Feel free to modify and  expand and share your contributions.

Attachments
Version history
Revision #:
1 of 1
Last update:
‎04-09-2013 12:56 PM
Updated by: