Proxmox/Hyper-V/VMware

How to create a cluster in Proxmox VE

The Proxmox VE cluster manager pvecm is a tool to create a group of physical servers. Such a group is called a cluster. We use the Corosync Cluster Engine for reliable group communication, and such clusters can consist of up to 32 physical nodes (probably more, dependent on network latency).

After logging in, it is now time to create our cluster. The commands below are used to create a Proxmox cluster.

Proxmox VE 4.x (and all versions above) cluster enables central management of multiple physical servers
Note: First, install the Proxmox VE on all nodes, see Installation. Make sure that each Proxmox VE node is installed with the final hostname and IP configuration. Changing the hostname and IP is not possible after cluster creation.
Currently the cluster creation has to be done on the console, you can login to the Proxmox VE node via ssh.

Steps: Follow the following steps below

pvecm create <cluster_name>

The cluster does not operate on master/slave basis, but on Quorum. In order to
achieve healthy cluster status, all nodes need to be online. Let’s execute the following
command and create the cluster:

root@pmxvm01:~# pvecm create pmx-cluster

After cluster creation is complete, check its status by using the following command:
root@pmxvm01:~# pvecm status

After the cluster has been created, the next step is to add Proxmox nodes into the
cluster. Securely log in to the other node and run the following command:
root@pmxvm02:~# pvecm add 192.168.145.1

Verify that this node is now joined with the cluster with the following command:
root@pmxvm02:~# pvecm nodes

Now lets view the status of each node

root@pmxvm02:~# pvecm status
Quorum information
——————
Date: Wed Apr 20 12:02:05 2016
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00xxx001
Ring ID: 4
Quorate: Yes

Votequorum information
———————-
Expected votes: 1
Highest expected: 1
Total votes: 1
Quorum: 1
Flags: Quorate

Membership information
———————-
Nodeid Votes Name

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x