Creating a Proxmox cluster
A cluster is not automatically created on a freshly installed Proxmox node. It must be created through a CLI from any Proxmox node that is going to be a part of the cluster. After the cluster is created and nodes are the added to the cluster, the bigger part of the management can be done through the GUI.
Getting ready
Login to a Proxmox node as the root through SSH or the Proxmox GUI | Shell option, as shown in the following screenshot:
How to do it…
- To create a new cluster, use the following command format:
# pvecm create <cluster_name>
For our example, in the Proxmox environment, we are going to create a cluster named
pmx
:#pvecm create pmx
- After running the cluster creation command, verify that is it created using the following command:
#pvecm status
The command should display information similar to the following code:
Version: 6.2.0 Config Version: 1 Cluster Name: pmx Cluster Id: 786 Cluster Member: Yes Cluster Generation: 51 Membership state: Cluster...