Importing an OVF or OVA File

Import an Open Virtualization Format (OVF) or an Open Virtual Appliance (or Application) (OVA) file from a system if you want to transfer a VM from one system to another, or if you want to transfer an image that you created back to the same system to restore or duplicate the original VM. (To migrate a physical machine (PM) or virtual machine (VM) to a system without using an OVF or OVA file, see Migrating a Physical Machine or Virtual Machine to a System.)

You can import or restore the VM. Importing a VM creates a new instance of the VM with unique hardware IDs. Restoring a VM creates an identical VM with the same hardware IDs (SMBIOS UUID, system serial number, and MAC addresses, if provided in the VM image) that your guest operating system and applications may require for software licensing. To prevent conflicts with the original VM, restore a VM only if you want to transfer it to the ztC Edge system and stop using it on the source system.

This topic explains how to import an OVF or OVA file from a local computer, a USB device, or a remote file system such as an NFS export or a Windows share (also known as a CIFS share, such as, for example, Samba). If you want to restore an existing VM on the same system to overwrite the VM and recover it from a previous backup copy, see Replacing/Restoring a Virtual Machine from an OVF File.

Notes:  
Prerequisite:

Before you import a VM image from an OVF file, use the ztC Console on the source system to export a VM (see Exporting a Virtual Machine ) to OVF and Virtual Hard Disk (VHD) files on a supported network share or a USB device. Copy these files to your management PC, or mount the USB device or network share on the target ztC Edge system as described in Mounting a USB Device or Network-mounted Folder on the ztC Edge System, and then use the ztC Console on the target system to import the OVF and VHD files.

Before you import a VM image from an OVA file, create the OVA file on a VMware system. The ztC Edge system supports VMware OVA files that contain a metadata file and one or more disk image files.

To import an OVF or OVA file

  1. Log on to the ztC Console on the target system.
  2. On the Physical Machines page (see The Physical Machines Page) of a system licensed for two nodes, verify that both PMs are in the running state and that neither PM is in maintenance mode or in the process of synchronizing.
  3. If you are importing a VM from a USB device or network share (instead of the PC running the ztC Console), mount the device or share on the ztC Edge system as described in Mounting a USB Device or Network-mounted Folder on the ztC Edge System.
  4. On the Virtual Machines page (see The Virtual Machines Page), click Import/Restore to open the Import/Restore Virtual Machine wizard.
  5. Select one of the following:

    If you have selected an OVA file, continue with the next step (import is the only option with an OVA file).

    If you have selected an OVF file, click Next. Messages appear confirming whether or not it is a ztC Edge-created file and whether or not you have the option to import or restore the VM. When selecting a ztC Edge-created OVF file, you have the option of importing or restoring the file, and you can optionally display the following message:

    Restoring a VM attempts to preserve the hardware ID and MAC addresses of all network interfaces. Select Restore only if you are specifically trying to restore a particular instance of a VM and that it will be the only copy of this VM running across all systems on your network. Typically a Restore is used to recover a VM from a previous backup. Select Import if you are trying to create or clone a VM from a "golden" image, as this will assign a unique hardware ID and MAC addresses.
  6. Select Import (scroll down the window, if necessary). (For a ztC Edge-created OVF, you can also select Restore. See Replacing/Restoring a Virtual Machine from an OVF File for information.)

  7. The wizard displays the Prepare for Importing Virtual Machine window, prompting you to upload additional files, if necessary. If prompted, select the appropriate file(s) to include for each volume associated with the VM.

  8. If you have selected an OVF file, you can review and, if necessary, edit the information (you may need to scroll down the window):

  9. Optionally, clear the check box for Auto start Virtual Machine after import if you need to reprovision the VM before starting it for the first time.
  10. Click Import to begin importing the VM. You can optionally click Cancel to cancel the procedure.

    The wizard displays progress information. When the transfer is complete, click Done to close the wizard.

    Note: Imported volumes begin to appear on the Volumes page of the ztC Console while the import is still in progress. Do not attach or remove any of these imported volumes until the import window reports that the process is complete; otherwise, the import fails.
  11. If applicable, use the Reprovision Virtual Machine wizard to allocate additional resources to the VM, as described in Reprovisioning Virtual Machine Resources.

    When you are finished reprovisioning the VM, click Start to boot the VM.

  12. Click Console to open the console of the VM and log on to the guest operating system.
  13. For Windows-based VMs only, download and update the VirtIO drivers to the latest supported versions, as described in Updating the VirtIO Drivers (Windows-based VMs). (The correct VirtIO drivers are already present in Linux-based VMs.)

    Note: After updating the drivers, you may need to restart the guest operating system.
  14. If necessary, update the network settings in the guest operating system.

After you verify that the new VM is functioning properly, the import process is complete; however, the system may continue to synchronize data between PMs to enable High Availability (HA) or Fault Tolerant (FT) operation.

Note: The new VM and its associated volumes may be marked with warning symbols until the data has been synchronized and the VirtIO drivers are running.

Related Topics

Mounting a USB Device or Network-mounted Folder on the ztC Edge System

Creating and Migrating Virtual Machines

Configuring Windows-based Virtual Machines

Configuring Linux-based Virtual Machines

Managing Virtual Machine Resources

Managing the Operation of a Virtual Machine