Adding Virtualization Nodes

In the Cloud Infrastructure, you can use nodes with Virtuozzo or OpenVZ to host the following types of virtual servers:

  • Linux containers
  • Linux virtual machines
  • Windows virtual machines

To register a virtualization node in Cloud Infrastructure Automation:

  1. In Operations control panel, go to Services > Cloud Infrastructure > Virtualization Nodes.
  2. Click Register New Node.
  3. Specify the following parameters:
    • Hostname or IP address. The IP address or hostname of the virtualization node.
    • Login. Only the root user can be specified.
    • Password. The password of the root user.

    and click Next.

  4. In the Display Name section, you can specify a custom name to be used for the node.
  5. In the Location section, you can define the location of the node. By default there is one location named DEFAULT. To assign other locations to the node, you need preliminarily create locations.
  6. In the Network Group section, choose the network group, where this node will be added.

    Each node must be added to a network group to get registered in the Cloud Infrastructure Automation. For more information about network groups, refer to the Creating Network Group.

  7. If you want the node to store its containers and virtual machines in Virtuozzo storage high availability cluster, select the Allow this node to use storage cluster option, and specify the storage cluster name and IP address. If the node is included in Virtuozzo storage cluster, it will use this address to communicate with other nodes in the cluster.
  8. In the Network Interfaces Configuration section, specify network interfaces for every type of access:
    • Backnet IP address. For communication with CloudBlue Commerce management node and service nodes.
    • Public IP address. For services which provide hosting for customers on the shared IP address.
    • Private network IP address. For routing traffic between a customer's servers.
  9. When ready, click Finish.

Once the registration is completed, your node appears in the list of virtualization nodes.

Important:
1. Be aware that root user password must not be changed manually. You can change it via Operations PCP. Root account should have SSH access.
2. Before any virtual server is provisioned to a virtualization node, install the ebtables package on virtualization node. It is needed for proper configuration of firewall rules in virtual servers and Plesk provisioning.

The vm2vf component of the Cloud Infrastructure Automation module, installed on the virtualization node, uses SSH connection on localhost address for certain operations. Closed port 22 may interfere and cause task failures. Therefore, make sure that the port 22 is opened for local connections:

  1. Add the following ListenAddress line in /etc/ssh/sshd_config and restart SSH:
    # grep ListenAddress /etc/ssh/sshd_config
    ListenAddress 192.0.2.2
    ListenAddress 127.0.0.1 <--- should be added
    # service sshd restart
  2. Open port 22 for localhost in the local firewall.