How to Add Multiple Nodes into Proxmox VE Cluster CML in Shell

To add multiple nodes to a Proxmox VE cluster from the command line, you can use the “pvecm” command. Here are the basic steps:

  1. Install Proxmox VE on each additional node that you want to add to the cluster.
  2. Ensure that all nodes in the cluster have the same version of Proxmox VE installed.
  3. On the first node of the cluster, open a terminal and run the following command to create a new cluster:
lua
pvecm create <cluster_name>
  1. On each additional node, open a terminal and run the following command to join the node to the cluster:
php
pvecm add <cluster_name> <first_node_ip>
  1. Check the cluster status on the first node by running the following command:
lua
pvecm status
  1. Once all nodes have been added, check the cluster status to ensure that all nodes are connected and healthy.

Note: It is also recommended to have a dedicated network interface for clustering communication and also be sure that all nodes have the same time and timezone set.