API Doc
Search Docs...
⌘ K
OverviewDeploymentManagementOperationSecurityReferenceGlossary

Importing an OVF package as a VM template

Prerequisite

You have obtained the OVF package to be imported, which contains the .ovf file and the .vmdk file.

Procedure

  1. In the upper-right corner of the VM template list, click Add VM template > Import VM template.

  2. In the Import VM template dialog box, enter the following configuration information accordingly.

    • Select file

      Parameter Description
      Datastore The datastore used to hold the VM template.
      • ABS datastore

        After selecting it, select at least one cluster to hold the VM template.

      • VCFS datastore

        After selecting it, select separate datastores for the VM template's configuration file data and disk data. Configuration file data and disk data can be stored on different datastores. Disk data can also be assigned to different datastores at the volume level.

        • Configuration file data: Select the datastore in the drop-down list.
        • Disk data: Select a datastore in the drop-down list or customize storage by volume. If you select a datastore, all virtual volumes are stored in the same datastore. If you customize storage by volume, select at least one datastore for each virtual volume.

          If you need to store the VM template on other datastores, click + Add storage configuration at the lower left and complete datastore configuration for configuration file data and disk data.

      Select OVF file Select the file with the .ovf suffix. You can only select one file.
      Select VMDK file Select the file with the .vmdk suffix. Different .ovf files require a different number of .vmdk files. Select the required files according to the prompt.
    • Basic information

      Parameter Description
      VM template name Cannot duplicate the name of any existing VM template in the content library.
      Description (optional) The additional information about the VM template.
      Serve as SVM template When selected, a virtual machine created from the template will be a security virtual machine by default.
    • Computing resource

      Parameter Description
      vCPU The system automatically fills in the vCPU value from the imported file. You can also modify it manually. A maximum of 240 vCPUs are supported. Click Advanced to further configure the sockets if needed.
      Memory The system automatically fills in the memory value from the imported file. You can also select 8 GiB, 16 GiB, or customize the memory, but the value must be a positive integer multiple of 0.5 and cannot exceed the maximum available memory suggested on the page.
    • Disk

      Parameter Description
      Disk

      The system automatically adds the virtual volumes included in the imported files. These virtual volumes cannot be deleted, but you can reconfigure their names, buses, and storage policies as needed. The storage policy defaults to the storage policy of the cluster holding the VM template.

      If a VCFS datastore is selected, creating or mounting virtual volumes is not supported.

      CD-ROM

      The system automatically adds the CD-ROM devices included in the imported files. You can add, delete, enable, or disable CD-ROM devices as needed. Disabled CD-ROM devices will not be displayed inside the virtual machine.

      Currently, loading ISO images is not supported.

    • Virtual NIC

      VIRTIO and E1000 virtual NICs are supported. The system automatically adds the NICs included in the imported files. You can add new NICs and delete existing ones as needed.

      Parameter Description
      Enabled or Disabled

      Enable or disable the virtual NIC.

      Mode The NIC mode can be configured to VIRTIO or E1000.
      Mirror mode

      When mirror mode is enabled, the NIC can only be used to receive mirrored traffic and listen to all traffic sent to the host from the virtual distributed switch to which the NIC is attached. This parameter cannot be used for regular purposes.

    • Other configurations

      Parameter Description
      High availability (HA) Once enabled, if a virtual machine experiences availability issues, it will be automatically rebuilt on a healthy host.
      Firmware

      The system automatically selects the firmware type recorded in the imported files, which cannot be modified.

  3. Click Confirm.

    You can view the import status of the VM template in the Task center. After the import is completed, you can view the newly imported template in the VM template list.