The system supports creating IDV image source VMs with the default C102V, C103V, C105V configurations to adapt to IDV endpoints with the corresponding models. The system also allows you to select the IDV endpoint configuration customized in Flavor configuration to adapt to non-default IDV endpoints.
ARM hosts do not support IDV desktop images in current software version.
From the navigation pane, select Images > Desktop Images.
Click the Image Source VMs tab. Click Create.
On the page that opens, select image type IDV, configure the image source VM parameters, and click OK.
Host: Select the host where the image source VM resides.
Type: Specify a disk type for the image source VM. Available options include File, Create RBD, and Block. Options for the File type include New File or Existing File. When an active RBD storage pool exists on the host, the default is Create RBD. In the other cases, the default is New File.
New File: For the VM, a file is a disk based on a virtual disk file. This disk type is more manageable than the block device disk type. If you select this option, an empty storage file is created as the disk of the VM.
Create RBD: If you select this option, create an RBD as the disk of the VM in an RBD storage pool.
Existing File: Specify an existing storage volume that is not used by other VMs. You can select a volume from the local file directory, shared file system, or network file system storage pool as the disk of the VM.
Block: A block device is also called a raw device that does not have a file system, for example, a storage LUN on an IP SAN or FC SAN. Block devices are typically used in a virtualization environment that requires high performance, for example, databases and high-performance I/O compute. Select this option to an existing storage volume that is not used by other VMs as the disk for the VM. You can select a volume from the RBD, iSCSI, FC, or LVM logic storage pool as the disk of the VM.
Path: The path acts as the storage path for the image source VM file rather than the final desktop image. The /vms/images and /vms/isos paths are local paths. As a best practice, select another path in case that the local directory space is insufficient. When creating an IDV image source VM, make sure the available space of the storage path is greater than the endpoint system disk size specified in the selected flavor.
Flavor Configuration: Configuration of the IDV endpoints that the image source VM applies to. You can select the system-default IDV endpoint configuration or a self-defined IDV endpoint configuration defined in Flavor configuration. Make sure the model of the selected flavor is the same as that of user endpoints. For example, if the user endpoint model is C102V, select the flavor named C102V. When you create an IDV image source VM, the system disk size in the selected flavor is the recommended value for best experience. As a best practice, do not modify it.
Operating Mode: Set the CPU operating mode. Options include Compatible, Host Matching, and Passthrough. By default, the CPU operating mode is Compatible.
Compatible: Virtualizes physical CPUs of different models into vCPUs of the same model. This mode feature high migration compatibility.
Host Matching: Virtualizes physical CPUs of different models into vCPUs of different models. This mode features low migration compatibility but provides better performance for VM operating systems than the Compatible mode.
Passthrough: Directly passes physical CPUs to VMs. This mode features low migration compatibility but provides better performance for VM operating systems than the Compatible mode and Host Matching mode. VMs using the passthrough CPU operating mode can be migrated only between hosts with the same CPU model. ARM hosts support only the passthrough mode.
Network: Select the vSwitch for the image source VM network communication.
System Image: Pure ISO image for the operating system used by the image source VM.
File Name: Enter the file name of the disk if a new file is used as the disk. Select a disk formatting mode, which can be High Speed and Intelligent. The default mode is intelligent.
Intelligent: Specify qcow2 disk format.
High Speed: Specify raw disk format. This format has a better I/O performance with a simple structure.
Provision: Select a storage volume provision mode. Options include Thin (the default), Lazy Zeroed, and Eager Zeroed. This field is required when the disk type is New File.
Thin: Allocates only as much storage space as the storage volume needs for its initial operations when the storage volume is created. If the storage volume needs more storage space later, the system allocates as much storage space as the volume would require based on the specified maximum storage size.
Lazy Zeroed: Allocates the specified maximum storage size to the storage volume when the storage volume is created. Data remaining on the physical device is not erased during creation, but is zeroed out on first write from the VM.
Eager Zeroed: Allocates the specified maximum storage size to the storage volume when the storage volume is created. Data remaining on the physical device is zeroed out during creation. It might take a longer time to create storage volumes in this format than to create storage volumes of other formats.
Disk Cluster Size: Set the smallest amount of disk space that can be used to store a file. The default is 256 KB. If a file is larger than a disk cluster, it is stored in multiple disk clusters. If a file is smaller than a disk cluster, it is stored in a dedicated disk cluster. A shared file system is mainly used to store VM image files. As a best practice, set the value of this parameter as large as possible to enhance disk read performance and save disk space. You must configure this parameter when you add an intelligent disk.
Bus Type: Select a bus type. Options include IDE, USB, High-Speed (the default), and High-Speed SCSI.
Cache Mode: Select a cache mode for VM storage files. Options include Directsync, Writethrough, Writeback, and None. The default cache mode for intelligent disk format is Directsync. For raw or block (including RBD) device disk format, the default cache mode is None.
Directsync: The system reads data from the physical disk.
Writethrough: The system writes data to the host cache, and then to the physical disk.
Writeback: The system writes data to the VM cache, then to the host cache, and finally to the physical disk.