Configure compute resources

Configure the NTP server

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:

  1. From the left navigation pane, select Resources. On the Resources page, click …More, and then select NTP Server.

  1. 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.

  1. Click OK.

Configure host pools

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:

  1. From the left navigation pane, select Resources. On the Resources page, click Add Host Pool.

  1. In the dialog box that opens, specify HostPool as the host pool name and click OK.

Configure clusters

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:

  1. 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.

  1. Click Add Cluster.

  1. Enter Cluster as the cluster name.

  1. Perform either of the following tasks:

  1. Configure HA parameters.

  1. 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.

  1. Click Finish.

Add hosts to a cluster

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 following information describes the procedure to add a host to the cluster named Cluster in host pool HostPool:

  1. From the left navigation pane, select Resources > HostPool > Cluster.

  1. Click Add Host.

  1. In the dialog box that opens, select whether to add multiple hosts in bulk.

  1. Click OK.

  1. Verify that the Hosts tab and the Summary tab are updated to display information about the newly added host.