Perform this task to create a VM on a host or in a cluster. When you create a VM in a cluster, the system creates the VM on the host with the least VMs and the lowest memory and CPU usage ratios. To use a VM, you must install an operating system for it.
Add a VM:
On the top navigation bar, click Compute.
From the left navigation pane, select Resource Navigation > All > Resources > Host Pool Name > Cluster Name, Resource Navigation > All > Resources > Host Pool Name > Cluster Name > Host Name, or Resource Navigation > All > Resources > Host Pool Name > Host Name.
Click Add VM.
Follow the configuration wizard to configure the VM parameters.
Install an OS for the VM:
From the left navigation pane, select the VM.
Click the Console tab.
Click Java Console or Webpage Console.
Click Virtual Drive to load a local image file.
Alias: Enter the alias for the VM.
Description: Enter the description for the VM.
Operating System: Select the operating system installed on the VM. To avoid drive operation and operating system installation failures, make sure the operating system you actually install is the same as the selected operating system in type and version.
Operating System: Select the version of the operating system installed on the VM.
VM Group: Select a VM group to accommodate the VM. For more information about VM groups, see "VM groups."
Classification Level: Select a VM classification level. This parameter is available only when secure mode is enabled for the system.
Encryption: Select whether to enable encryption for the VM. The encryption is enabled by default and cannot be disabled when the VM's classification level is top secret, secret, or confidential. This parameter is available only when secure mode is enabled for the system.
Encryption Method: Select an encryption method. Options include SM4 and AES. This parameter is available only when secure mode is enabled for the system.
Key: Enter the encryption key. The key is used for encrypting and decrypting VM disk data to ensure data security. This parameter is available only when secure mode is enabled for the system.
|
|
Start Now: Enable this feature to enable the VM to automatically start up after VM creation.
Auto Migration: Enable this feature to enable the VM to automatically migrate in the cluster after DRS or DPM takes effect.
CAStools Upgrade: Enable this feature to enable the system to automatically upgrade the CAStools of the VM.
Service Priority: Set the service level of the VM. When the host has insufficient memory, VMs will be shut down according to their service priority. Low-priority VMs are more likely to be shutdown to ensure the correct operation of high-priority VMs.
I/O Priority: Set the I/O priority of the VM. When the I/O access volume is high, the I/O access of high-priority VMs will be ensured preferentially according to the I/O priority.
CPU: Specify the CPU sockets, which cannot exceed the number of CPUs on the host. Windows 7 supports a maximum of two CPUs. To improve processing performance, you can set multiple cores for each CPU.
CPU Cores: Specify the CPU cores. The number of CPU cores of a VM cannot exceed that of the host.
Max. CPUs: Set the maximum CPUs can be assigned to the VM, which is the number of CPU sockets multiplied by the number of CPU cores.
Bind Physical CPU: Bind the vCPUs of the VM to one or multiple physical CPUs of the host. After that, the VM can use only the bound physical CPUs. To avoid misbindings between vCPUs and NUMA nodes as well as VM startup failures, do not disable hyper-threading on the host after binding vCPUs to physical CPUs.
CPU Mode: Select a CPU operating mode. You can configure the default CPU mode on the system parameters page.
Compatible—Virtualizes physical CPUs of different models into vCPUs of the same model. This mode features good migration compatibility.
Host Model—Virtualizes physical CPUs of different models into vCPUs of different models. This mode features bad compatibility but provides better performance for OSs of VMs than the Compatible mode.
Host Passthrough—Passes physical CPUs to VMs. This mode features bad compatibility but provides better performance for OSs of VMs than the Compatible and Host Matching modes. VMs with the passthrough CPU operating mode can be migrated only between hosts with the same CPU model.
Architecture: Select a CPU architecture. A 32-bit operating system supports both the 32-bit and 64-bit architectures. A 64-bit operating system supports only the 64-bit architecture. If you select the 32-bit architecture for a VM using a 64-bit operating system, the VM cannot be started.
Schedule Priority: Select a priority for the processes on the VM to preempt physical CPU resources.
Reserve: Enter the CPU size of the host to reserve for the VM.
Limit: Enter the maximum host CPU frequency that a single CPU core of the VM can use.
Overall CPU Limit: Select whether to enable overall CPU limit. For example, if you set maximum host CPU frequency that a single CPU core can use to 2 GHz and enable overall CPU limit for a VM that has 4 CPU cores, the maximum host CPU frequency is 8 GHz for both the VM and a single CPU core of the VM.
Hot Remove: Select whether to enable hot removal of CPUs. CPU hot removal requires a VM hardware version of 2.7 or higher. You can view the hardware version information in the advanced settings area on the Configure tab of the page for editing VMs. If you have never added CPUs for a VM after that VM was created, CPU hot removal is not allowed. Additionally, the number of CPUs after hot removal cannot be less than the amount set when the VM was created.
Hot Add: Select whether to enable hot add of CPUs. A VM supports hot add of CPUs only when its operating system supports hot add of CPUs.
Memory: Specify the memory size. The memory size is the memory size of the VM OS. The maximum memory size available for the VM depends on the physical memory size.
Reserve: Enter the memory size to be reserved for the VM to the total available memory size of the host in percentage. The host allocates specific memory to a VM based on the actual memory usage of the VM. You can reserve memory for a VM in case the VM needs more memory after the host memory is exhausted.
Limit: Enter the maximum host memory size that the VM can use.
Resource Priority: Select the priority for the VM to request memory resources.
Ballooning: Select whether to enable ballooning. With ballooning enabled, the system dynamically allocates host memory to VMs without shutting down VMs. To use this feature, you must install CAStools on the VM and do not perform memory hot-add.
HugePages: Select whether to enable VMs to use HugePages memory of hosts. In addition, this feature is mutually exclusive with memory reservation, memory limit, resource priority, and ballooning.
Network: Select a virtual switch for the VM.
Port Profile: Select a port profile for the VM. A port profile defines the VLAN, ACL, and network bandwidth settings for a VM. The ACLs configured in the port profile do not take effect if a virtual firewall is configured.
Virtual Firewall: Select a virtual firewall for the VM. You can rearrange the virtual firewalls by dragging and dropping to change their priorities. To increase the priority of a virtual firewall, move it downwards. To decrease the priority of a virtual firewall, move it upwards. The default action of a virtual firewall is deny. You can click Add to add more virtual firewalls. For information about virtual firewall configuration, see "Manage vFirewalls." The incoming and outgoing data packets of the VM will be filtered based on the firewall rules.
| You can edit the default action of a virtual firewall only when both allowlist and denylist rules are configured for the virtual firewall. |
VLAN Transparent Transmission Policies: Configure VLAN policies for VMs, including VLAN transparent transmission policies and private VLAN policies.
VLAN transparent transmission policies—To add a policy, see "Manage VLAN transparent transmission policies" The policies are used by the VMs to identify incoming and outgoing traffic of different virtual networks.
Private VLAN policies—For more information, see "Manage private VLAN policies."
NIC Type: Select a NIC type. High-speed NICs are driven by CVK. If you select High-Speed NIC or Intelligent NIC, fast forwarding is enabled by default. If you select SR-IOV Passthrough NIC, you must select a driver type and VLAN ID.
Driver Type: Select a driver type for the SR-IOV passthrough NIC.
Bound IPv4/IPv6 Address: Enter the IP address bound to the MAC address of the VM’s NIC. If the IP address specified for the VM's NIC is different from the bound IP address, the NIC cannot communicate correctly.
MAC Assignment: Select a MAC address assignment mode.
VLAN ID: Select a VLAN ID for the VM NIC. This parameter is available only when the NIC type is SR-IOV Passthrough NIC.
If a VLAN is configured for an SR-IOV passthrough NIC on a VM, packets sent by the VM will be tagged by a VF and sent to the peer. Upon receiving packets with the same VLAN tag, the peer will strip the tag and send the packets to the source VM. Packets with a different VLAN tag will be discarded.
If no VLAN is configured for an SR-IOV passthrough NIC on a VM, VLAN packets from that VM can be transmitted transparently.
Fast Forwarding: Enable fast forwarding to improve the network performance of the VM. This feature is available only for high-speed NICs and intelligent NICs.
Queue Number: Set the number of queues for the virtual NIC. Multi-queue support can enhance data processing performance for the virtual NIC. The default value is 1, and the maximum value is the vCPU count × cores. This parameter is available for high-speed NICs and intelligent NICs with fast forwarding enabled.
Hot Swappable: Enable or disable NIC hot swapping. This option is available only for high-speed NICs. The configuration takes effect only after the VM restarts.
MTU: Set the MTU of the VM's NIC. This parameter is applicable only to common, high-speed, intelligent, and Intel e1000 NICs.
TCP Checksum: Select whether to enable TCP checksum for the VM. This feature is enabled by default. If you enable this feature, the calculation of TCP checksum during the transmission of TCP packets by the VM is delayed in order to reduce the computational pressure on the CPU during the transmission of a large number of data packets, thereby improving the network performance of the system. This feature can be enabled only when the VM uses a high-speed NIC.
Disk: Configure the storage volume used as the VM disk and the storage pool to which the storage volume belongs.
Type: Specify a disk type.
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 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: If you select this option, specify an existing storage file that is not used by other VMs as the disk of the VM.
Block Device: A block device is also called a raw device, which 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.
Storage Pool: Select the target storage pool of the new disk.
File Name: Enter the file name of the disk if a new file is used as the disk. Select a disk format. Options include the following:
Intelligent: Use the qcow2 disk format.
High-Speed: Use the raw disk format. The raw format provides high I/O efficiency.
Encrypted: Use the LUKS-encrypted qcow2 disk format.
Encryption Method: Select an encryption method. Options include SM4 and AES. Configure this parameter when the VM uses encrypted disks.
Key: Enter the encryption key. The key is used for encrypting and decrypting VM disk data to ensure data security. Configure this parameter when the VM uses encrypted disks.
|
|
Image: Select an image file. This parameter is available only if you select the Use Existing or Block Device type.
Associate Block Device for CBT Backup: Select a storage volume not used by any VMs to store CBT backup data. The size of the storage volume cannot be smaller than the disk size of the VM. The storage volume must reside in an iSCSI network storage pool starting with /dev/disk/by-id/ or an FC network storage pool. Configure this parameter when the VM disk type is block device.
| With this feature enabled, a VM can migrate between hosts based on the HA policy configured for the cluster. If the destination host does not have block devices with CBT backup associated, you must configure this feature again. |
Provision: Select a storage volume provision mode. This parameter is available only 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, you can allocate 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. 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.
Cache Mode: Select a cache mode for VM storage files. By default, the cache mode is none when the disk format is qcow2, raw, or block device (including RBD). The writethrough and writeback modes use caches. When the server powers off unexpectedly, data loss will occur if cached data is not written to the physical disk.
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.
None—The system writes data to the VM cache, and then to the physical disk.
Disk Mode: Select whether to include the VM's disk in external snapshots. This parameter is available only when the VM uses a file-type disk.
Dependent—Includes the disk in external snapshots. When you use an external snapshot to restore the VM, the disk is also restored.
Independent-Persistent——Does not include the disk in external snapshots. When you use an external snapshot to restore the VM, the disk is not restored.
Hot Swappable: Enable or disable disk hot swapping. This option is available only for the high-speed bus type. The configuration takes effect only after the VM restarts.
Serial Number: Enter the serial number of the disk.
Floppy Disk: Select a floppy disk. The system will automatically load the high-speed driver compatible with the selected OS version.
CD-ROM: Select a CD/DVD or image file. To avoid migration failure when the destination host does not have a physical CD-ROM drive, unmount the physical CD-ROM drive from a VM after the VM finishes using that drive.
Connection Mode: Select a connection mode.
Add Hardware: Select the hardware to add for the VM, including NIC, disk, CD-ROM drive, floppy drive, GPU device, USB device, remote USB device, PCI device, watchdog, and vTPM device.
As a best practice to ensure the startup of a VM, follow these restrictions when you add PCI devices for a VM:
If the memory size of a VM is smaller than 2 GB, the total memory size of PCI devices added to the VM cannot exceed 2 GB.
If the memory size of a VM is larger than 2 GB, the total memory size of PCI devices added to the VM cannot exceed 1 GB.
Configure the following parameters to add hardware:
GPU Device: Select a Graphics Processing Unit (GPU) device. A GPU device acts a CPU to process images so that the CPU can perform other tasks. A VM that has a GPU or vGPU device mounted does not support cloud rainbow. If the VM is attached with a vGPU device, the following actions are not allowed when the VM is in running state: hibernate, clone as template, convert as template, and clone. If the VM is attached with a GPU device, the following actions are not allowed when the VM is in running state: hibernate, clone as template, convert as template, clone, migration by changing host, and migration by changing host and storage.
Resource Pool: Select a resource pool, which contains all available GPUs in the cluster. If you select a GPU resource pool, the VM accesses the physical GPU resources of the host through GPU passthrough. If you select a vGPU resource pool, the VM accesses the vGPU resources of the host.
Service Template: Select a service template. The service template defines the rule that how VMs use the GPU resources on the host. The host allocates these resources to VMs based on the priorities of the VMs.
Driver Type: Select a driver type.
Exclusive Mode: Select whether the VM can exclusively use the specified GPU/vGPU resources. If you select Yes, the GPU/vGPU resources cannot be used by any other VMs. This feature is available only when the host has available GPU/vGPU resources that have been added to the selected GPU resource pool. To migrate a VM when this feature is enabled, make sure sufficient GPU/vGPU resources are available on the target host. VMs that use vGPUs can be migrated when they are in running state. VMs that use GPUs can be migrated only when they are not running.
Resource Count: Set the maximum number of GPU/vGPU resources that can be used by the VM. The value depends on the resource pool type and state of the exclusive mode feature:
If you select a vGPU resource pool, only 1 is available.
If you select a GPU resource pool and exclusive mode is disabled, the value is the maximum number of GPUs on a single host in the resource pool. For example, if the resource pool has three hosts, and the hosts have three, two, and two GPUs, respectively, the value is 3.
If you select a GPU resource pool and exclusive mode is enabled, the value is the number of available GPUs on the host attached to the VM.
Watchdog: Select the action to take on VMs upon receipt of interrupt requests.
vTPM: Select a TPM protocol version based on the guest OS, 1.2 or 2.0.
Alias: Enter the alias for the VM.
Description: Enter the description for the VM.
Operating System: Select the operating system installed on the VM. To avoid drive operation and operating system installation failures, make sure the operating system you actually install is the same as the selected operating system in type and version. Some early ARM operating system versions (such as Kylin 4.0.2) cannot open the installation page when they use the pflash boot mode. To resolve this issue, change the boot mode to ROM on the VM editing page.
VM Group: Select a VM group to accommodate the VM. For more information about VM groups, see "VM groups."
Classification Level: Select a VM classification level. This parameter is available only when secure mode is enabled for the system.
Encryption: Select whether to enable encryption for the VM. VM encryption is enabled by default and cannot be disabled when the VM's classification level is top secret, secret, or confidential. This parameter is available only when secure mode is enabled for the system.
Encryption Method: Select an encryption method. The value is AES. This parameter is available only when secure mode is enabled for the system.
Key: Enter the encryption key. The key is used for encrypting and decrypting VM disk data to ensure data security. This parameter is available only when secure mode is enabled for the system.
|
|
Start Now: Enable this feature to enable the VM to automatically start up after VM creation.
Auto Migration: Enable this feature for the VM to automatically migrate in the cluster after DRS or DPM takes effect.
CAStools Upgrade: Enable this feature for the system to automatically upgrade the CAStools of the VM.
Service Priority: Set the service level of the VM. When the host has insufficient memory, VMs will be shut down according to their service priority. Low-priority VMs are more likely to be shutdown to ensure the correct operation of high-priority VMs.
I/O Priority: Set the I/O priority of the VM. When the I/O access volume is high, the I/O access of high-priority VMs will be ensured preferentially according to the I/O priority.
CPU: Specify the CPU sockets, which cannot exceed the number of CPUs on the host.
CPU Cores: Specify the CPU cores. The number of CPU cores of a VM cannot exceed that of the host.
Bind Physical CPU: Bind the vCPUs of the VM to one or multiple physical CPUs of the host. After that, the VM can use only the bound physical CPUs. To avoid misbindings between vCPUs and NUMA nodes as well as VM startup failures, do not disable hyper-threading on the host after binding vCPUs to physical CPUs.
CPU Operating Mode: Only the passthrough mode is supported, which passes physical CPUs to VMs. VMs with the passthrough CPU operating mode can be migrated only between hosts with the same CPU model.
Schedule Priority: Select a priority for the processes on the VM to preempt physical CPU resources.
Reserve: Enter the CPU size of the host to reserve for the VM.
Limit: Enter the maximum host CPU frequency that a single CPU core of the VM can use.
Overall CPU Limit: Select whether to enable overall CPU limit. For example, if you set maximum host CPU frequency that a single CPU core can use to 2 GHz and enable overall CPU limit for a VM that has 4 CPU cores, the maximum host CPU frequency is 8 GHz for both the VM and a single CPU core of the VM.
Hot Add: Select whether to enable hot add of CPUs. A VM supports hot add of CPUs only when its operating system supports hot add of CPUs.
Memory: Specify the memory size. The memory size is the memory size of the VM OS. The maximum memory size available for the VM depends on the physical memory size.
Reserve: Enter the memory size to be reserved for the VM to the total available memory size of the host in percentage. The host allocates specific memory to a VM based on the actual memory usage of the VM. You can reserve memory for a VM in case the VM needs more memory after the host memory is exhausted.
Limit: Enter the maximum host memory size that the VM can use.
Resource Priority: Select the priority for the VM to request memory resources.
Memory Ballooning: To dynamically distribute memory among VMs without shutting down the VMs when memory contention occurs, turn on this option.
HugePages: Select whether to enable VMs to use HugePages memory of hosts. HugePages memory is mutually exclusive with memory reservation, memory limit, resource priority, and ballooning.
Port Profile: Select a port profile for the VM. A port profile defines the VLAN, ACL, and network bandwidth settings for a VM. The ACLs configured in the port profile do not take effect if a virtual firewall is configured.
Virtual Firewall: Select virtual firewalls for the VM. You can rearrange the virtual firewalls by dragging and dropping to change their priorities. To increase the priority of a virtual firewall, move it downwards. To decrease the priority of a virtual firewall, move it upwards. The default action of a virtual firewall is deny. You can click Add to add more virtual firewalls. For information about virtual firewall configuration, see "Manage vFirewalls." The incoming and outgoing data packets of the VM will be filtered based on the firewall rules.
| You can edit the default action of a virtual firewall only when both allowlist and denylist rules are configured for the virtual firewall. |
VLAN Transparent Transmission Policies: Configure VLAN transparent transmission policies for VMs. To add a policy, see "Manage VLAN transparent transmission policies." The policies are used by the VMs to identify incoming and outgoing traffic of different virtual networks.
NIC Type: Select a NIC type from common NIC, high-speed NIC, SR-IOV passthrough NIC, and SmartNIC. The default NIC type is high-speed NIC. High-speed NICs are driven by CVK. A smart NIC uses Vhost Data Path Acceleration (VDPA) and hardware offload technologies for direct interaction between VM traffic and NIC hardware. By default, fast forwarding is enabled for high-speed NICs and smart NICs. You must select a driver type and specify a VLAN ID for an SR-IOV passthrough NIC.
Driver Type: Select a driver type for the SR-IOV passthrough NIC.
Bound IPv4/IPv6 Address: Enter the IP address bound to the MAC address of the VM’s NIC. If the IP address specified for the VM's NIC is different from the bound IP address, the NIC cannot communicate correctly.
MAC Assignment: Select a MAC address assignment mode.
VLAN ID: Set the VLAN ID of the VM. This option is available only if the NIC type is SR-IOV passthrough.
If an SR-IOV pass-through NIC is configured with a VLAN ID, it operates in a mode similar to access mode. Packets sent by the VM are tagged with the configured VLAN tag on the VF and sent towards the destination. If the VF receives a packet with the same VLAN tag, it will strip the tag and forward it to the VM. If a packet has a different VLAN tag, the packet will be discarded.
If an SR-IOV pass-through NIC is not configured with a VLAN ID, it operates in a mode similar to trunk mode. The NIC performs transparent transmission of VM VLAN packets.
Fast Forwarding: Set the state of fast forwarding. If you enable this feature, a high-speed NIC will be simulated as a separate thread in the CVK kernel to enhance the VM network performance. Set this parameter when the NIC type is high-speed NIC or smart NIC.
Queue Number: Set the number of queues for the virtual NIC. Multi-queue support can enhance data processing performance for the virtual NIC. The default value is 1, and the maximum value is the vCPU count × cores. This parameter is available for high-speed NICs with fast forwarding enabled.
Queue Depth: Set the queue depth for VM NICs, that is, the packet-receiving buffer capacity. If the low queue depth is set, the NICs can cache 256 packets simultaneously. If the high queue depth is set, the NICs can cache 1024 packets simultaneously.
Hot Swappable: Enable or disable NIC hot swapping. This option is available only for high-speed NICs. The configuration takes effect only after the VM restarts.
MTU: Set the MTU of the VM's NIC. This option is available only for high-speed and smart NICs.
TCP Checksum: Select whether to enable TCP checksum for the VM. This feature is enabled by default. If you enable this feature, the calculation of TCP checksum during the transmission of TCP packets by the VM is delayed in order to reduce the computational pressure on the CPU during the transmission of a large number of data packets, thereby improving the network performance of the system. This feature can be enabled only when the VM uses a high-speed NIC.
Disk: Configure the storage volume used as the VM disk and the storage pool to which the storage volume belongs.
Type: Specify a disk type.
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 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: If you select this option, specify an existing storage file that is not used by other VMs as the disk of the VM.
Block Device: A block device is also called a raw device, which 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.
Storage Pool: Select the target storage pool of the new disk.
File Name: Enter the file name of the disk if a new file is used as the disk. Select a disk format. The raw format provides high I/O efficiency.
Associate Block Device for CBT Backup: Select a storage volume not used by any VMs to store CBT backup data. The size of the storage volume cannot be smaller than the disk size of the VM. The storage volume must reside in an iSCSI network storage pool starting with /dev/disk/by-id/ or an FC network storage pool. Configure this parameter when the VM disk type is block device.
| With this feature enabled, a VM can migrate between hosts based on the HA policy configured for the cluster. If the destination host does not have block devices with CBT backup associated, you must configure this feature again. |
Provision: Select a storage volume provision mode. This parameter is available only 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, you can allocate 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. 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. ARM hosts support high-speed hard disks and high-speed SCSI disks (default).
Cache Mode: Select a cache mode for VM storage files. By default, the cache mode is none when the disk format is qcow2, raw, or block device (including RBD). The writethrough,and writeback, modes all use caches. When the server powers off unexpectedly, data loss will occur if cached data is not written to the physical disk.
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.
None—The system writes data to the VM cache, and then to the physical disk.
Disk Mode: Select whether to include the VM's disk in external snapshots. This parameter is available only when the VM uses a file-type disk.
Dependent—Includes the disk in external snapshots. When you use an external snapshot to restore the VM, the disk is also restored.
Independent-Persistent——Does not include the disk in external snapshots. When you use an external snapshot to restore the VM, the disk is not restored.
Hot Swappable: Enable or disable disk hot swapping. This option is available only for the high-speed bus type. The configuration takes effect only after the VM restarts.
Serial Number: Enter the serial number of the disk.
Floppy Disk: Select a floppy disk. The system will automatically load the high-speed driver compatible with the selected OS version.
CD-ROM: Select a CD/DVD or image file. To avoid migration failure when the destination host does not have a physical CD-ROM drive, unmount the physical CD-ROM drive from a VM after the VM finishes using that drive.
Connection Mode: Select a connection mode.
Add Hardware: Select the hardware to add for the VM, including NIC, disk, CD-ROM drive, floppy drive, GPU, USB device, remote USB device, and watchdog.
Watchdog: Add a watchdog to the VM. Interrupt options include Reboot, Power Off, and Migrate.