You can copy templates from one cloud to another. You can choose to automatically deploy a template after copying it.

When you copy and deploy to a vSphere cloud, ensure that the destination host has a Standard Virtual Switch with a VM Network port group defined.

You can start multiple copy tasks at the same time. The tasks are executed concurrently. A maximum of 5 concurrent copy tasks are allowed for on-premise clouds. If either the source or destination cloud is on-premise and already has 5 copy tasks running concurrently, you cannot copy. This concurrent copy task limit does not apply to public clouds. See "Maximum Number of Concurrent Copies" in How Objects are Copied for more information.

See How Objects are Copied for more information about the Copy command.

Note

You cannot copy objects that have an ISO file attached.

If you are copying and deploying to a vSphere cloud, ensure that the destination host has a Standard Virtual Switch with a VM Network port group defined.

If you intend to select the Enable Guest Customization option for the object you are copying, ensure that both the object and the destination cloud have the latest version of VMware Tools installed. If you are deploying a Windows virtual machine, also ensure that the latest version of Sysprep is installed.

Increase the staging storage for the vCloud Connector nodes associated with the source and destination clouds. Staging storage equal to or greater than the size of the object you are copying is recommended. See "Configure vCloud Connector Node Allocated Storage" in Installing and Configuring vCloud Connector for more information.

Ensure that the object you are copying does not have an ISO file attached.

1

In the Browser panel, expand the Clouds tree and select the cloud that contains the template you want to copy.

The Inventory panel displays all the contents of the cloud. You can narrow the results by using Search or by expanding the cloud hierarchy further in the Browser panel and selecting a sub-folder.

2

In the Inventory panel, click the Templates tab, then select the template you want to copy.

3

Click the Copy icon at the top of the panel or select Copy from the Actions drop-down menu.

4

Select the destination cloud to which to move the template.

5

Type a name for the template. If you do not specify a name, the default name is the name of the source template with the prefix Copy of.

Note

You cannot use the following characters in the name: % . # & < >

Note

Do not use a backslash (\) or double quotes (") character in the destination name.

6

Select the destination folder for the template, then click Next.

7

Select the cluster, host, vApp, or resource pool in which to store the template, then click Next.

8

Select a virtual disk format and a datastore, then click Next.

9

If you want to deploy the template after copying it, specify your selections in the Deployment Options page.

If you are copying a template from a vCloud Director cloud, you can select Power on vApp after deployment.

If you are copying a template from a vSphere cloud, select the appropriate options.

Option

Description

Deploy VM after copy

Deploys a virtual machine from the template after copying the template to the destination cloud.

If you select this option, you can also set Guest Customization options.

To enable guest customization, select Enable guest customization and select a guest operating system. If you select Microsoft Windows, you can set the following options.

Change SID

Computer name: You can specify a name or choose to use the virtual machine name.

Owner's name and organization

Password for administrator account

If you select Linux, you can set the following options.

Host name: You can specify a name or choose to use the virtual machine name.

Domain name

For more information about guest customization, see the VMware vSphere Documentation Center and the VMware vCloud Director Documentation Center.

Note

If you enable guest customization, ensure that you have the latest version of VMware Tools installed on both the object you are copying and the destination cloud. If you are deploying a Windows virtual machine, also ensure that you have the latest version of Sysprep installed.

Power on VM after deployment

Powers on the deployed virtual machine.

Remove template from destination folder

Removes the template from the destination folder after deploying the VM.

10

In the Ready to Complete page, review your selections.

Note

All selections except the transfer mode are made in the Copy wizard. The transfer mode is HTTP, HTTPS, or UDT and is determined by the options configured in the source and destination vCloud Connector nodes. See Installing and Configuring vCloud Connector for more information.

11

Click Validate for a pre-check of your copy selections and configurations.

Warnings or errors found are displayed at the top of the page.

12

Make the required changes.

If only warnings were found, you can proceed with copy. However, resolving the issues helps you avoid copy failures.

If errors were found, you must resolve them before you can proceed with copy.

See also Copy Validation.

13

Click Finish.

To monitor the progress of your copy, see the Tasks panel on the right. A copy task appears. Place your cursor over the task to view detailed, up-to-date data transfer status. See Monitor Copy Tasks for more information.

The template is copied, and deployed if you selected the deploy option. You might need to reload the destination folder to see the results.