Cluster HA depends on shared storage and dynamic migration technologies to provide simple and efficient HA services for applications running on all VMs in the cluster. It reduces service interruption caused by host hardware failure. Cluster HA is applicable to scenarios that require service continuity.
CVM virtualizes a group of hosts into a cluster that uses a shared resource pool. After you enable HA for the cluster, CVM monitors running state of all hosts and VMs in the cluster.
When a host fails, CVM migrates the VMs on the host to available hosts in the cluster.
When a VM fails, CVM restarts the VM. If the VM is restarted, CVM does not migrate the VM. If the restart fails, CVM migrates the VM to another host and restarts it.
When the network between a host and the shared storage fails, CVM migrates the VMs on the host to available hosts in the cluster.
Automatically monitors running state of hosts and VMs and migrates a failed VM or VMs on a failed host to other hosts in the cluster.
Reserves enough resources for VMs to restart if hosts fail.
Automatically migrates VMs between hosts to ensure service continuity in case of hardware failure.
Automatically selects suitable hosts for VMs on a failed host based on the resource usage if you enable both HA and DRS for the cluster.
All hosts in an HA-enabled cluster must have the same virtual switch configuration, including virtual switch quantity, name, and forwarding mode.
To ensure that VMs in an HA-enabled cluster can migrate between hosts in the cluster, make sure the image files of all VMs in the cluster are saved in the shared storage. As a best practice, do not enable HA or DRS if the VMs use the local storage.
In an HA-enabled cluster, all hosts must use CPUs from the same manufacturer. Clusters containing hosts that use CPUs of the same model from the same manufacturer can provide better migration compatibility.
To prevent VM name conflict, make sure no hosts in abnormal state exist in a cluster before you disable HA for the cluster. If VM name conflict occurs, enable HA for the cluster again.
During the process of enabling or disabling HA for a cluster, do not start, deploy, or migrate VMs or restart or shut down hosts in the cluster.
To reinstall the CVK component for a host in an HA-enabled cluster, first delete the host from the cluster, reinstall the CVK component, and then add the host to the cluster again.
Before you enable HA for a cluster, make sure all hosts in the cluster have reserved sufficient system resources so that the VMs can migrate between the hosts.
If a VM enabled with the Intel RDT noisy neighbor quieting feature is migrated to a host that does not support the feature, the feature will be disabled for the VM.
If the cluster HA configuration is no action or I/O failover, the RBD VMs on a host will not be migrated when the host or the management network fails.
On the top navigation bar, click
From the left navigation pane, select
Click
Enable HA as needed.
If you enable HA for the cluster, you must select a default startup priority for the VMs in the cluster.
Enable proactive HA, service network HA, and HA access control as needed.
If you enable HA access control, you must specify the minimum number of nodes, select a failover host, or set the reserved CPU and memory percentages.
Click
The disk bus type is USB.
The disk bus type is high-speed SCSI (FC&ISCSI) for block devices.
Disks are encrypted.
The disk cache mode is writeback or writethrough.
LVM raw blocks exist.
NFS storage is attached.
RBD storage is attached.
VMs that use block devices as disks.
VMs that use logical volumes.
VMs that have internal snapshots.
The disk bus type is USB.
The disk bus type is high-speed SCSI (FC&ISCSI) for block devices.
Disks are encrypted.
The disk cache mode is writeback or writethrough.
LVM raw blocks exist.
NFS storage is attached.
After the shared storage recovers, the VM will automatically enter running state.