Create a Proxmox cluster

create-proxmox-cluster-01

Compared to VMware, to create a Proxmox cluster you don't need a dedicated appliance to centralize the management of resources such as CPU, RAM, storage and networking.

The cluster is at the node level and can be managed by any node since it is a multimaster cluster (no master-slave nodes).

To ensure a consistent configuration across all cluster nodes (the cluster configuration is distributed to all nodes), Proxmox uses a quorum-based voting mechanism leveraging the Corosync cluster engine.

 

Create a Proxmox cluster

To create a Proxmox cluster you need two or more ready nodes. It is recommended to add at least three nodes to the cluster to ensure the correct cluster functionality in case of a node failure. With a two nodes cluster, if a node fails the cluster loses the quorum (quorum exists if the majority of nodes are online) and switches to read-only mode affecting the functionality.

Login to the first node and select Datacenter > Cluster. Click on the Create Cluster button.

create-proxmox-cluster-02

Enter the Cluster Name and select a link for the Cluster Network. If you need additional links used as failover, click Add and specify the required parameters. Click Create to proceed with cluster creation.

create-proxmox-cluster-03

The cluster is being created. Click X to close the window.

create-proxmox-cluster-04

The created Proxmox cluster.

create-proxmox-cluster-05

 

Add cluster members

Before adding a node to the cluster, make sure no VMs are running on the node.

To add a node to the cluster you need to copy the information from the node where the cluster was created. Select Datacenter > Cluster and click Join Information.

create-proxmox-cluster-06

Click Copy Information and close the window.

create-proxmox-cluster-07

Now connect the second node and select Datacenter > Cluster and click Join Cluster.

create-proxmox-cluster-08

Paste the Join Information previously copied and type the root password in the Password field. Click Join "cluster_name" (cluster01 in the example).

create-proxmox-cluster-09

The node is being added to the cluster.

create-proxmox-cluster-10

Refresh the browser and login once again. The cluster now displays the two node members.

create-proxmox-cluster-11

Repeat the same procedure if you have other nodes to add to the cluster. In the example, three nodes have been added to the cluster.

create-proxmox-cluster-12

Once the cluster configuration is complete, you can migrate the installed VMs to the available nodes.

signature

No Responses

Leave a Reply