Create a Cluster

About this task

You create a cluster in a data center. Configure cluster parameters based on the host architecture, network plan, and the VM placement, availability, and runtime settings you plan to use.

Procedure

  1. Use one of the following methods to create a cluster.
    • In the left navigation pane, right-click the target data center and choose New Cluster.

    • In the left navigation pane, select the target data center, and then choose Actions > New Cluster.

    • On the Cluster and Host tab of the target data center, click New Cluster.

  2. Configure basic information.
    Option Description
    Name Enter the cluster name.
    Description Enter a brief description of the cluster.
    Data Center Select the data center in which to create the cluster.
    CPU Architecture Select the x86 or aarch architecture. The architecture of hosts added to the cluster must be consistent with the cluster CPU architecture.
    DRS Monitors the CPU and memory loads of all hosts in the cluster and dynamically adjusts virtual machine workloads on hosts based on the scheduling policy. DRS is disabled by default. After it is enabled, manual scheduling and automatic scheduling are supported. For more information about configuring DRS, see Configure DRS.
  3. Configure advanced settings as needed.

    Cluster Network

    Option Description
    VDI Network Configures a dedicated VDI network CIDR for the cluster. If it is not set or does not take effect, the management network is used by default.
    Migration Network Configures a dedicated network CIDR for VM migration. If it is not set or does not take effect, the management network is used by default.

    Cluster Overcommi

    Option Description
    CPU Overcommit Ratio Controls the number of virtual CPUs that can be allocated to virtual machines. Total allocatable virtual CPUs = total physical CPU cores in the cluster x CPU overcommit ratio.
    Memory Overcommit Ratio Controls the virtual memory capacity that can be allocated to virtual machines. Total allocatable virtual memory = (physical memory capacity - reserved capacity) x memory overcommit ratio.

    Host Settings

    Option Description
    Host CPU Model Check Checks whether the CPU model of the source host is consistent with the CPU models of hosts in the current cluster during VM live migration or host addition. This option is disabled by default. If it is enabled, the corresponding operation is blocked when inconsistency is detected.
    ignore_msrs Option Enables the ignore_msrs option for the host KVM kernel module. This option is disabled by default.
    Host Zero Copy Enables Zero Copy on host CPUs. This option is disabled by default. After it is enabled, data copy operations between kernel mode and user mode are reduced, CPU usage time is reduced, and virtual NIC performance is improved.
    Huge Pages Enables huge pages on hosts in the cluster and allocates huge page space to virtual machines. Huge pages are disabled by default. Each huge page is 2 MB.
    Host Reserved Memory Sets the memory capacity reserved on the KVM host to ensure that the host system can run properly. After huge pages are enabled in the cluster, at least 4 GB memory must be reserved on each host.

    VM Settings

    Option Description
    VM HA Enables the automatic restart mechanism after a virtual machine is powered off. This option is enabled by default. For more information about VM HA and resource scheduling, see VM HA Policy and Cluster DRS.
    VM Cross-Cluster HA Allows cross-cluster HA migration in shared storage scenarios, including NFS, SAN, and distributed storage, when VM HA starts a virtual machine on another host or when a host enters maintenance mode.
    VM CPU Mode Sets the virtual machine CPU model to match the host CPU model, so that the virtual machine can inherit part or all of the host CPU features for different service scenarios. The default value is not set (None) for the x86_64 architecture and passthrough for the aarch architecture. For more information about configuring VM CPU features, see Configure VM CPU Features.
    VM Hyper-V Enables Hyper-V emulation for virtual machines. This option is disabled by default and is mainly used in nested virtualization scenarios for Windows virtual machines.
    Video Card Type on Boot Sets the default graphics card type used when a virtual machine starts. The type determines whether basic, high-definition, or high-performance video capability is provided. The default value is vga for the x86 architecture and virtio for the aarch architecture. The aarch architecture supports only virtio.
    vNIC Multi-Queue Upgrading Enables a virtual machine NIC to use multiple queues to send and receive network packets, improving network PPS and bandwidth performance.
  4. Click OK.