If you have system administrator rights, you can import vCenter Server VMs as vApps to VMware Cloud Director.
Importing a virtual machine does not keep the VM reservation, limit, and shares settings configured in vCenter Server. Imported VMs get their resource allocation settings from the organization virtual data center (VDC) on which they reside.
Note: When you create VM in
vCenter Server, it might take some time for the VM to appear in the
VMware Cloud Director inventory.
If you want to define different storage profiles for each disk when importing VMs from vCenter Server, you can use the VMware Cloud Director API. See the VMware Cloud Director API Schema Reference.
Prerequisites
To see and import virtual machines from vCenter Server, verify that you have system administrator rights.
Procedure
- On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select vApps.
- Click New and select Import from vCenter.
- From the drop-down menu, select a vCenter Server instance from which to import a virtual machine.
- Select a virtual machine to import.
If the VM and its disks reside on storage that is compatible with the target VDC, and the vNIC is connected to a network recognized by
VMware Cloud Director, you can import powered on VMs.
- Enter a name and, optionally, a description for the vApp.
- From the drop-down menu, select a VDC in which to store and run the vApp.
- (Optional) From the drop-down menu, select a storage policy for the vApp.
- If you want VMware Cloud Director to take ownership of the VM, toggle on the Move Virtual Machine option.
When you turn on the Move Virtual Machine toggle, VMware Cloud Director starts managing the VM instead of vCenter Server. VMware Cloud Director attempts to import the VM without deleting the source VM. If the datastore, storage policy, or other factors are incompatible with the selected VDC, VMware Cloud Director clones the VM and deletes the source VM. If you want to keep the source VM and VMware Cloud Director to manage a copy, leave the toggle turned off.
- Click Import.