XenCenter

Export VMs as OVF/OVA

You can export one or more VMs as an OVF or OVA package using the XenCenter Export wizard. To open the wizard, select the VM you want to export and on the VM menu, select Export. The VMs must be shut down or suspended before they can be exported.

You need an RBAC role of Pool Admin to export to OVF/OVA. The Export wizard performs checks when it starts up to ensure that you have a Pool Admin role before allowing you to continue. For more information, see RBAC overview.

Procedure

  1. Open the Export wizard: select the pool or server containing the VMs you want to export, then on the VM menu, select Export.
  2. On the first page of the wizard, enter the name of the export file. Specify the folder where you want the files to be saved. Select OVF/OVA Package (*.ovf, *.ova) from the Format list. Select Next.
  3. Select the VMs you want to export. Select Next.
  4. On the EULAs page, you can add previously prepared End User Licensing Agreement (EULA) documents (.rtf, .txt) in the package. To view the contents of a EULA in a text editor, select it in the list and select View. If you do not want to include a EULA in the package, select Next to continue.
  5. On the Advanced options page, specify any manifest, signature, and output file options, or select Next to continue:
    1. To create a manifest for the package, select the Create a manifest check box. The manifest provides an inventory or list of the other files in a package. The manifest is used to ensure the files originally included when the package was created are the same files present when the package arrives. When the files are imported, a checksum is used to verify that the files have not changed since the package was created.
    2. To add a digital signature to the package, select the Sign the OVF package check box. Browse to locate a certificate. Enter the private key associated with the certificate in the Private key password box. When a signed package is imported, the user can verify the package creator’s identity by using the certificate’s public key to validate the digital signature. Use an X.509 certificate that you have already created from a Trusted Authority and exported as either a .pem or .pfx file that contains the signature of the manifest file and the certificate used to create that signature.
    3. To output the selected VMs as a single (tar) file in OVA format, select the Create OVA Package check box. For more information on the different file formats, see Open Virtualization Format (OVF and OVA).
    4. To compress the virtual hard disk images (.VHD files) included in the package, select the Compress OVF files check box. By default, when you create an appliance package, the virtual hard disk images that are exported consume the same amount of space that was allocated to the VM. For example, a VM that is allocated 26 GiB of space has a hard disk image that consumes 26 GiB of space, regardless of whether the VM actually requires that much space. Compressing the VHD files makes the export process take longer to complete, and importing a package containing compressed VHD files takes longer as the Import wizard must extract the VHD images as it imports them.

    If both the Create OVA Package and Compress OVF files options are checked, the result is a compressed OVA file *.ova.gz.

  6. On the Transfer VM Settings page, configure networking options for the temporary VM used to perform the export process (the “Transfer VM”). Select Next to continue.
  7. On the final page of the wizard, review the settings you have selected on the previous pages. To have the wizard verify the exported package, select the Verify export on completion check box. Select Finish to begin exporting the selected VMs and close the wizard.

    The export process can take some time. The export speed depends on the size of the virtual disks, the available network bandwidth, and the disk interface speed of the XenCenter host. Progress is displayed on the status bar at the bottom of the XenCenter window and on the Events view under Notifications.

    To cancel an export in progress, select Notifications > Events, find the export in the list of events, and select Cancel.

Export VMs as OVF/OVA