DEV Community

PROXMOX: Creación de Cluster, Parte 2.

After completing the Cluster Creation Lab - Part 1, we have set up three virtual machines that will form the base of our cluster. We need to update Proxmox on each VM by disabling the repositories and adding free ones, then updating the system and packages using the command "apt -y update && apt -y upgrade". We also need to update the Proxmox templates using the commands "pveam available" and "pveam update". This process must be repeated on each node of the cluster. To configure communication between the nodes, we need to edit the /etc/hosts file on each node, adding the IP addresses and names of each node. We then create the cluster on the master node using the command "pvecm create PCLINUX" and add the worker nodes. We connect to each worker node using SSH and add them to the cluster using the command "pvecm add nodomaster". Finally, we verify the cluster status using the command "pvecm status" and update the master node by editing the /etc/apt/sources.list.d/pve-enterprise.list file and running several apt commands. After completing these steps, we can access the Proxmox graphical interface and see that the cluster and nodes have been created successfully.
favicon
dev.to
dev.to
Image for the article: PROXMOX: Creación de Cluster, Parte 2.
Create attached notes ...