You can copy a virtual machine or vApp from one cloud to another. You must power off the virtual machine or vApp before you copy it.

When you copy to a vCloud Director-based cloud, the virtual machine or vApp is copied as a vApp template. You can use the deploy option to automatically deploy a vApp from the vApp template after it is copied. Note that the deploy option is not available if you select the lossless copy option while copying a vApp from a source vCloud Director cloud to a destination vCloud Director cloud. In this case, you must manually deploy the vApp from the template in the destination vCloud Director cloud.

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 nodes, that is, 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.

In the destination cloud, you need a catalog for which you have write permissions. If you are copying from a vCloud Director-based cloud, you also need a catalog with write permissions in the source cloud.

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 on the left, expand the Clouds tree and select the cloud that contains the virtual machine or vApp that 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 vApps or Virtual Machines tab and select the item you want to copy.

Note

From a vCloud Director cloud, you can only copy vApps. You cannot copy individual virtual machines.

3

If the virtual machine or vApp is powered on, click the Power Off icon at the top of the panel to power it off. If it is suspended, click the Resume icon and then the Power Off icon to power it off.

4

Click the Copy icon at the top of the panel.

5

If you are copying from a vCloud Director cloud, in the Select a catalog page, select a catalog in the source cloud in which to store a temporary vApp template, then click Next. You must have write permissions for the catalog.

This is a vCloud Director requirement. The temporary vApp template will be deleted after the vApp is copied.

The Select a catalog page does not appear if you are copying from a vSphere cloud.

6

Click Next.

7

Select the destination cloud for the virtual machine or vApp.

8

Type a name and description for the virtual machine or vApp. If you do not specify a name, the default name is the name of the source item 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.

9

Select a catalog in which to store the virtual machine or vApp, then click Next.

You must have write permissions for the catalog.

10

Select a virtual datacenter, then click Next.

11

Select the appropriate options in the Deployment Options page.

Option

Description

Lossless copy

Select this option if you want to copy a vApp from a source vCloud Director cloud to a destination vCloud Director cloud and you want to preserve the network configuration of the vApp, that is, its firewall and NAT rules and the vApp name. Lossless copy is applicable only if the source and destination vCloud Director clouds have identical Organization, virtual data center, and Organization Network names.

Note

When you select the Lossless copy option, you cannot select the deploy option. The vApp is always copied as a vApp template. Deploy the vApp from the template manually in vCloud Director. You cannot deploy it from vCloud Connector.

Deploy vApp after copy

Deploys a vApp after copying the virtual machine or vApp as a vApp template.

If you select this option, additional settings appear.

Network connection mode: Select how you want the vApp to be deployed in the destination vCloud Director cloud, in fenced mode or direct mode. Fencing allows identical virtual machines in different vApps to be powered on without conflict by isolating the MAC and IP addresses of the virtual machines. For more information, see the VMware vCloud Director documentation.

Select network configuration: Select a network for the vApp in the destination vCloud Director cloud.

Guest customization: If you enable guest customization, the computer name and network settings configured for the virtual machine are applied to its guest operating system when the virtual machine is powered on. You can also set the following options for the guest operating system.

Change SID

Applies to Windows virtual machines only. Sysprep is run to change the Windows SID. On Windows NT, Sidgen is run.

Password settings for the administrator account

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 vApp after deployment

Powers on the vApp after deploying it.

Remove temporary vApp template in destination vCloud catalog

After deploying the vApp, removes the vApp template from the destination catalog.

12

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. If you are using the default settings on both nodes, the transfer mode is HTTPS. See Installing and Configuring vCloud Connector for more information.

13

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

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

14

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.

15

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 virtual machine or vApp is copied as a vApp template. You might need to reload the destination cloud to see the vApp template or deployed vApp.