A cluster is a group of servers in a single location. The key feature of such servers (cluster nodes) is their location and high data transfer speed between them.
Perform the following steps to create a cluster:
- Go to Clusters → Create a cluster.
-
Select the cluster Technology type — KVM or LXD.
- Enter a cluster Name or press generate.
- Set the Time zone that will be used for cluster nodes and virtual machines (VMs) by default.
- For cluster nodes to use proxy settings, enable the Use proxy to access the Internet option. Read more in the article Using a proxy.
- If required, specify the DNS servers for VM. VMs in the cluster will use these servers to resolve domain names.
- Enter optional Notes.
- Click Next.
- Select the OS that can be installed on virtual machines in the cluster.
- Activate the Enable SPICE connections option to allow SPICE connections to the VMs in the cluster. Read more it the article SPICE.
- Enable the Users can upload their ISO-images option to allow VM owners to connect their own ISO images to the VM. Read more in the article Mounting an ISO image.
- Enable the Users can connect/disconnect their VM disks option to allow users to manage virtual disks. Read more in the article Managing VM disks.
- Select the Domains Template for VMs in this cluster. For example, if you specify the template .example.com, when you create a VM in this cluster, it will have a domain of the form vm_name.example.com.
- Enable the option Users can change a domain name to allow VM owners to change domain names.
- Enter the CPU overselling rate. Read more in the article Overselling.
- Enter the RAM overselling rate in the node. Read more in the article Overselling.
- Specify the VM limit on nodes — the maximum number of VMs that will be created on cluster nodes.
- Select the type of Distribution of VM on nodes:
- homogeneous — VMs will be created on the most vacant node of the cluster;
- successive — VMs will be created on the node of the cluster that is filled up the most. Read more about node selection in Selecting a cluster node for the virtual machine.
- Click Next.
- Specify the Storage settings rules on nodes. Read more in the article Storage types:
- Images and backups directory. Default value is /image.
- OS directory. Default value is /share.
- Images and backups directory. Default value is /image.
-
To edit the default storage settings, press .To add a storage, click and specify its settings :
File storage settingsLVM settingsCeph settingsZFS settingsNetwork LVMClick main to use the added storage as primary.
Storage configuration interface
- If a storage for backups is connected to the platform, select it in the Backup location field. For more information about connecting storage, see the article Backup storage.
- Click Next.
-
Select a Network configuration type:
SwitchingRoutingIP-fabric - To enable the use of virtual networks in a cluster, activate the Enable virtual networks option. Read more in Virtual networks (VxLAN).
-
Select one of the configuration types:
- Full Mesh. No more than 10 nodes can be added to the cluster. Virtual networks will only be available within that cluster.
- Route Reflector. If you selected the IP-fabric network configuration type, all virtual network settings are copied from the IP-fabric network settings. If you selected the Switching network configuration type, you must specify the settings for virtual networks:
- To configure the IPv4 network, activate the Enable BGP sessions for IPv4 option and specify session settings:
- The BGP Autonomous system number.
- BGP community for IPv4.
- Neighbor IPv4 and the number of the Autonomous system for the Route Reflector.
- Add a discretionary Comment.
- To specify settings for more equipment, press Add more sessions for IPv4.
- To configure the IPv6 network, activate the Enable BGP sessions for IPv6 option and specify session settings:
- The BGP Autonomous system number.
- BGP community for IPv6.
- Neighbor IPv6 and the number of the Autonomous system for the Route Reflector.
- Add a discretionary Comment.
-
To specify settings for more equipment, press Add more sessions for IPv6.
Add at least one neighbor with an IPv4 address to operate an IPv4 network in the cluster, or add at least one neighbor with an IPv6 address to operate an IPv6 network.
- To configure the IPv4 network, activate the Enable BGP sessions for IPv4 option and specify session settings:
- Click on Create.
Interface of creating a cluster
Connect the nodes to the cluster. For more information please refer to the article Managing servers in the cluster.