XenCenter

Import VMs From XVA

You can import VMs, templates, and snapshots that have been exported and stored locally in XVA format (.xva) by using the XenCenter Import wizard. The wizard takes you through many of the usual steps needed to create a VM in XenCenter: nominating a home server and configuring storage and networking for the new VMs. For detailed information about each of these steps, see Creating a New VM.

Note:

It might not always be possible to run an imported VM that was exported from another server with a different CPU type. For example, a Windows VM created on a server with an Intel VT CPU, then exported, might not run when imported to a server with an AMD-V CPU.

Prerequisites

  • To be able to import a VM from an XVA package, you require certain permissions. The Import wizard performs checks to ensure that you have a required role in the destination pool before allowing you to continue. For more information about the RBAC roles that are required, see Definitions of RBAC roles and permissions.

Import an XVA package

  1. Open the Import wizard by doing one of the following:
    • In the Resources pane, right-click, and then select Import on the shortcut menu.
    • On the File menu, select Import.
  2. On the first page of the wizard, locate the XVA file you want to import, then click Next. If you enter a URL location (HTTP, HTTPS, file, FTP) in the Filename box, on clicking Next, a Download Package dialog opens. In this dialog, specify a folder on your XenCenter host where the files are to be copied.
  3. On the Home Server page, specify where to put the new VM:
    • To place the imported VM in a pool without assigning it a home server, select the destination pool in the list. Click Next to continue.
    • To place the imported VM in a pool and assign it to a specific server (or to place it on a standalone server), select a server.

    Click Next to continue.

  4. On the Storage page, select a storage repository (SR) where the imported virtual disks are to be placed, then click Next to continue.
  5. On the Networking page, map the virtual network interfaces in the VM you are importing to target networks in the destination pool/standalone server. The Network and MAC address shown in the list on this page are stored as part of the definition of the original (exported) VM in the export file. To map an incoming virtual network interface to a target network, select a network from the list in the Target network column.

    Click Next to continue.

  6. On the last page of the Import wizard, review the configuration options you have selected. To have the imported VM start up when the import process has finished and the new VM is provisioned, select the Start VM after import check box.
  7. Click Finish to begin importing the selected file and close the wizard.

    The import progress is displayed on the status bar at the bottom of the XenCenter window and also on the Events view under Notifications.

    The import process can take some time. The time it takes depends on the size of the imported VM’s virtual disks, the available network bandwidth, and the disk interface speed of the XenCenter host. When the newly imported VM is available, it appears in the Resources pane.

XenServer 8

Citrix Hypervisor 8.2 Cumulative Update 1

Import VMs From XVA