Configure NTP to make sure the CVM and all CVK hosts in the system use the same system time.
The NTP service is enabled by default after H3C CAS is installed. As a best practice, set the CVM host as the NTP server so the CVK hosts (as NTP clients) can synchronize their system time settings with the CVM host. In a stateful failover environment, use the virtual IP address of the CVM host as the IP address of the NTP server.
To configure the NTP server:
From the left navigation pane, select Resources. On the Resources page, click …More, and then select NTP Server.
In the dialog box that opens, specify the IP address of the CVM server as the primary NTP server address. In a stateful failover environment, use the virtual IP address of the CVM host as the IP address of the NTP server.
Click OK.
CVM uses host pools to manage individual hosts (hosts that are not in clusters) and clusters. By default, CVM does not contain any host pools. To manage hosts in the data center, you must add host pools.
The following information describes the procedure to create a host pool named HostPool:
From the left navigation pane, select Resources. On the Resources page, click Add Host Pool.
In the dialog box that opens, specify HostPool as the host pool name and click OK.
A cluster is a collection of physical hosts and VMs. To manage multiple hosts and VMs as a whole, you can add them to a cluster. You can also enable HA on a cluster to have CVM move the VMs on a host to the remaining hosts in the cluster when that host fails.
By default, CVM does not contain any clusters. You must manually add clusters to CVM.
The following information describes the procedure to add a cluster named Cluster to host pool HostPool:
From the left navigation pane, select Resources > Host Pool Name, where Host Pool Name is the name of the host pool to which you want to add a cluster. This example uses host pool HostPool.
Click Add Cluster.
Enter Cluster as the cluster name.
Perform either of the following tasks:
To create an HA-incapable cluster, disable the HA function and then click Finish directly.
To create an HA-capable cluster, enable the HA function and then click Next to proceed to the next step.
Configure HA parameters.
Min. Nodes: Specify the minimum number of hosts for HA to take effect on the cluster. If the number of hosts that are operating correctly in the cluster is smaller than the specified minimum node number, HA cannot take effect on the cluster.
Reserved Resource: Set the reserved CPU and memory percentages. When the remaining resources in the cluster are less than the specified percentage of resources, you cannot start new VMs, set the VMs to running or suspending state, or migrate running VMs to the cluster.
Configure whether to enable compute DRS and storage DRS for the cluster. DRS enables the system to perform real-time monitoring on compute and storage resources of a cluster and dynamically allocate resources to VMs. If the available resources of a host are insufficient for its VMs, the system automatically migrates the VMs to other hosts to ensure that each VM can obtain sufficient resources.
Click Finish.
A host is a physical server that runs the virtualization software and provides hardware resources for VMs running on it. After you add a host pool or a cluster to CVM, you must add hosts to the host pool or cluster.
To ensure the operating performance and reliability of VMs, the hosts in CVM must meet the following requirements:
The managed X86 hosts must use CPUs that support Intel-VT or AMD-V for virtualization. This requirement does not apply to servers that operate solely as management servers.
The managed ARM hosts must use ARM8.1 or higher CPUs and support VHE.
Minimum hardware requirements:
16 GB of memory.
300 GB of local storage.
Four physical Gigabit Ethernet NICs.
One DVD drive.
The following information describes the procedure to add a host to the cluster named Cluster in host pool HostPool:
From the left navigation pane, select Resources > HostPool > Cluster.
Click Add Host.
In the dialog box that opens, select whether to add multiple hosts in bulk.
If you add one host, enter the IP address of the host and the password.
If you add multiple hosts in bulk, enter the start IP address and end IP address of the IP address pool to which the hosts belong as well as the password.
Click OK.