I’m back and testing proxmox once again. This time I am adding my 3rd machine to the cluster. Performing this task is very simple to do and takes only a few moments of time to complete. With that said lets get into it.
First you will need to access the proxmox console or log via SSH to the new node; I am using putty for this.
Type the following to join:
pvecm add <ip address of cluster member>
root@proxmox3:~# pvecm add 18.104.22.168 The authenticity of host '22.214.171.124 (126.96.36.199)' can't be established. ECDSA key fingerprint is af:09:3d:aa:8b:64:39:17:f0:0d:fc:79:19:bf:37:8a. Are you sure you want to continue connecting (yes/no)? yes firstname.lastname@example.org's password: copy corosync auth key stopping pve-cluster service Stopping pve cluster filesystem: pve-cluster. backup old database Starting pve cluster filesystem : pve-cluster. Starting cluster: Checking if cluster has been disabled at boot... [ OK ] Checking Network Manager... [ OK ] Global setup... [ OK ] Loading kernel modules... [ OK ] Mounting configfs... [ OK ] Starting cman... [ OK ] Waiting for quorum... [ OK ] Starting fenced... [ OK ] Starting dlm_controld... [ OK ] Tuning DLM kernel config... [ OK ] Unfencing self... [ OK ] generating node certificates merge known_hosts file restart services Restarting PVE Daemon: pvedaemon. Restarting PVE API Proxy Server: pveproxy. successfully added node 'proxmox3' to cluster.
Once completed you can verify the status by typing:
root@proxmox3:~# pvecm status Version: 6.2.0 Config Version: 3 Cluster Name: cluster Cluster Id: 13364 Cluster Member: Yes Cluster Generation: 112 Membership state: Cluster-Member Nodes: 3 Expected votes: 3 Total votes: 3 Node votes: 1 Quorum: 2 Active subsystems: 5 Flags: Ports Bound: 0 Node name: proxmox3 Node ID: 3 Multicast addresses: 188.8.131.52 Node addresses: 184.108.40.206
And if you want to list all members of the cluster you simple type:
root@proxmox3:~# pvecm nodes Node Sts Inc Joined Name 1 M 128 2015-07-22 10:34:45 proxmox1 2 M 128 2015-07-22 10:34:45 proxmox2 3 M 116 2015-07-22 10:34:45 proxmox3
Once completed issue the host a reboot and that’s it.