Add a compute node

  1. On the top navigation bar, click Resources.

  1. From the left navigation pane, select Virtualization.

  1. Click Virtualization Settings in the upper right corner of the page, and then click Create.

  1. Configure required parameters to connect to a CAS or vCenter platform.

Figure-1 Configuring virtualization parameters

Parameter

Description

Management IP

Enter the IP address of CAS CVM or VMware vCenter.

Protocol

Select a protocol when CAS is selected. Options include HTTP and HTTPS.

Username

Enter the username for the compute node to access CAS CVM or VMware vCenter.

Password

Enter the password for the compute node to access CAS CVM or VMware vCenter.

 

  1. Click OK.

  1. Click Back to return to the Virtualization page, and then click Compute Nodes.

  1. Click Create. Configure compute node connection parameters, and then click Verify to verify virtualization platform connectivity.

Table-1 Configuring compute node connection parameters

Hypervisor

Parameter

Description

CAS

CVM IP

Select a management IP address of CAS CVM.

Network Mode

Select a network mode. Options include VLAN Mode, VXLAN Network Overlay Mode, and VXLAN Host Overlay Mode.

Select VLAN mode for a VLAN VPC network deployment.

Select VXLAN network overlay or VXLAN host overlay for a VXLAN VPC deployment.

After the system creates the compute node, you cannot change its network mode.

VMware vSphere

vSwitch Type

Select type of the vSwitch that provides forwarding services for VMware VMs. Options are standard vSwitch and distributed vSwitch.

  • A standard vSwitch is deployed on one host and cannot provide services for VMs on other hosts. Use standard vSwitches only if you have only a limited number of ESXi hosts. If you use standard vSwitches, you must make sure the vSwitch settings are consistent across all ESXi hosts.

  • A distributed vSwitch provides centralized management and monitoring of the networking configuration across its associated hosts. It ensures that you can move a VM between hosts to provide uninterrupted services without having to change port group settings.

The hierarchical VXLAN VPC networking scheme does not support standard VMware vSwitches.

vCenter IP

Select a management IP address of vCenter.

Network Mode

Select a network mode. Options include VLAN Mode, VXLAN Network Overlay Mode, and VXLAN Host Overlay Mode.

Select VLAN mode for a VLAN VPC network deployment.

Select VXLAN network overlay or VXLAN host overlay for a VXLAN VPC deployment.

After the system creates the compute node, you cannot change its network mode.

 

  1. Configure compute node parameters as required.

Table-2 Configuring compute node parameters

Hypervisor

Parameter

Description

CAS

Host Pool

Select a host pool. The host pool contains hosts and clusters.

Cluster Name

Select a cluster.

  • If you select all, you select all clusters in the host pool, and both the host pool and its clusters cannot be used as compute nodes.

  • If you select a specific cluster, other clusters in the host pool can be used as compute nodes.

Cinder AZ

Specify a cinder AZ name.

Back-End Storage Type

Select a back-end storage type, including CAS and ONEStor. To use RBD cloud hosts, you must select ONEStor, and configure ONEStor settings.

ONEStor Settings

Management IP/Username/Password

Enter the ONEStor management IP address, username, and password, and then click Verify to verify ONEStor settings. The password cannot contain special characters including question marks (?) and pound signs (#). If the password cannot meet these requirements, an ONEStor connection failure might occur.

ONEStor settings are required when you select ONEStor as the back-end storage type.

ONEStor Disk Pool

Enter the name of an ONEStor disk pool correctly, Make sure the name is the same as that in the ONEStor environment. If you fail to do so, the compute node service might be abnormal.

ONEStor Storage Pool

Enter the name of an ONEStor storage pool correctly. Make sure the name is the same as that in the ONEStor environment. If you fail to do so, the compute node service might be abnormal.

Compute Node Shared Storage

Select a PV equal to or greater than 50 GB for image caching. The PV must be configured a unique label. Shared storage settings are configured in advance on the Resources > Container > Cluster > Storage page.

Host Name

Specify a host name in the format of [cpn-xx]. This name is used for selecting a compute node when creating a Nova AZ.

VM Initialization Mode

Select a VM initialization mode. Options include the following:

  • Standard—In this mode, a VM uses the interface provided by the virtualization platform for initialization. This mode supports deploying initialization data such as host name, root user password, and network address.

  • Professional—In this mode, a VM uses the cloud-init tool for initialization. This mode supports deploying initialization data in standard mode and data provided by users, such as host routes.

Drive Format

Select a drive format. Options include VFAT and ISO. If you select VFAT, the cloud host will be mounted to a 64 MB disk. If you select ISO, the cloud host will be mounted to a CD driver.

You can configure this field when the initialization mode of the cloud host is Professional.

VMware vSphere

Cluster Name

Name of the cluster where the VMware ESXi server resides.

Cinder AZ

Cinder AZ name.

Host Name

Specify a host name in the format of [cpn-xx]. This name is used for selecting a compute node when creating a Nova AZ.

VM Initialization Mode

Select a VM initialization mode. Options include the following:

  • Standard—In this mode, a VM uses the interface provided by the virtualization platform for initialization. This mode supports deploying initialization data such as host name, root user password, and network address.

  • Professional—In this mode, a VM uses the cloud-init tool for initialization. This mode supports deploying initialization data in standard mode and data provided by users, such as host routes.

 

  1. Click Create from the Network Egress List.

  1. Configure network egress parameters, and then click OK.

For VMs to be created successfully, make sure a vSwitch or NICs have been configured on each host on the virtualization platform when you create a network egress.

 

Table-3 Configuring network egress parameters

Hypervisor

Parameter

Description

CAS

Physical Network Name

Specify a physical network name. Compute nodes that have the same physical network name can communicate.

Egress Type

Select an egress type. Options include the following:

  • vSwitch—A VM accesses the service network through a vSwitch.

  • Passthrough NIC—A VM accesses the service network directly through its NIC. A passthrough NIC is a physical NIC that supports SR-IOV. It is also called PF NIC. This type of NIC can be virtualized into multiple VF NICs to assign to VMs. This mode provides higher forwarding performance that vSwitch node, but requires specific physical NICs. The supported passthrough NICs depend on the virtualization platform. For a service network that uses passthrough NICs, the SRIOV NIC name and settings for all hosts (CVK or ESXi hosts) must be the same.

vSwitch Name

Select a vSwitch. VMs that use this egress will be connected to the specified vSwitch or NIC.

VMware vSphere

Physical Network Name

Specify a physical network name. Compute nodes that have the same physical network name can communicate.

Egress Type

Select an egress type. Only vSwitch is supported, which allows a VM to access the service network through a vSwitch.

vSwitch Name

Select a vSwitch. VMs that use this egress will be connected to the specified vSwitch.

 

  1. Click OK.