• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to add Multiple Nodes into Proxmox VE Cluster

2264

To add Multiple Nodes into Proxmox VE Cluster

Proxmox VE is Virtualization solution for open source type 1 Hypervisor similar to VMware’ s ESXI, Microsoft’ s Hyper-v, Red Hat Hypervisor and Xen Server. Same like all hypervisor proxmox has a webconsole to administer virtual machines. It is really so simple to add multiple nodes into Proxmox VE cluster, and this tutorial demonstrates the same proces.

Adding Multiple Nodes

Once you installed Proxmox you can login to your web console which looks like similar to following image.

Login

The above image shows there is only one node connected in to Datacenter of proxmox. You can connect multiple proxmox nodes into same datacenter and centrally manage all the nodes through one Single login, thus avoiding multiple login for each and every node of proxmox. In-order to do that, you need to add all the nodes into Proxmox Cluster.

For this setup you need to have two nodes as follows:

Node 1 &ndash 192.168.7.222

Node 2 &ndash 192.168.7.223

Both nodes have fresh installation of Proxmox VE 5.1

First, you need to setup the host file of each nodes, so add every nodes ip and hostname into the /etc/hosts file of every nodes.

Node 1:

root@node1:~# vim /etc/hosts

Add the following line for Node 1

192.168.7.223 node2.example.com node2 pvelocalhost

Node 2:

root@node2:~# vim /etc/hosts 

Add the following line for Node 2

192.168.7.222 node1.example.com node1 pvelocalhost

After that, you shall reboot all nodes. Next create new cluster in Node 1, which will act as a master node.

root@node1:~# pvecm create mynode
Corosync Cluster Engine Authentication key generator.
Gathering 1024 bits for key from /dev/urandom.
Writing corosync key to /etc/corosync/authkey.

Now the cluster is created on node 1, next we can add all the remaining nodes into this cluster. Now goto node 2 and execute below command with the ip address of node 1.

root@node2:~# pvecm add 192.168.7.222
The authenticity of host ' 192.168.7.222 (192.168.7.222)'  can' t be established.
ECDSA key fingerprint is SHA256:dQPbC0I5QF0yMVY3WBHU27H4iqfrAMApy29MKsrY/Qg.
Are you sure you want to continue connecting (yes/no)? yes
root@192.168.7.222' s password:
copy corosync auth key
stopping pve-cluster service
backup old database
waiting for quorum...OK
generating node certificates
merge known_hosts file
restart services
successfully added node ' node2'  to cluster.

Now node2 is added to cluster, we can check the cluster status on node 1 by executing below command

root@node1:~# pvecm status
Quorum information
------------------
Date:             Fri Dec 22 00:38:35 2017
Quorum provider:  corosync_votequorum
Nodes:            2
Node ID:          0x00000001
Ring ID:          1/8
Quorate:          Yes

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

Membership information
----------------------
    Nodeid      Votes Name
0x00000001          1 192.168.7.222 (local)
0x00000002          1 192.168.7.223

Now you can login to your web console for node 1 then you can see the second node is added to Datacenter.

Login

With this, the method to add Multiple Nodes into Proxmox VE Cluster comes to an end.

Tags:
ethan
Author: 

Comments ( 2 )

parthiban
Adding a node to the cluster will delete it's current /etc/pve/storage.cfg. If you have VMs stored on the node, be prepared to add back your storage locations if necessary
fermuiz
Hi, thanks. But i have a question, i have one node with 3 VMS inside, i wanna add other node with 0 VMS. I can create a cluster?
Add a comment

Frequently asked questions ( 5 )

Q

How can I check the cluster status?

A

By executing below command:
# pvecm status

Q

How to create a new cluster in Node 1?

A

USe the following the command:
# pvecm create mynode

Q

What is Proxmox VE Cluster?

A

Proxmox VE is a Virtualization solution for open source type 1 Hypervisor similar to VMware&rsquo s ESXi, Microsoft&rsquo s Hyper-v, Red Hat Hypervisor, and Xen Server. Same like all hypervisor proxmox has a web console to administer virtual machines. It is really so simple to add multiple nodes into Proxmox VE cluster

Q

Can I Add Multiple Nodes Proxmox VE Cluster?

A

Yes, Follow the step by step process:
1. First, you need to set up the host file of each node, so add every node IP and hostname into the /etc/hosts file of every node.
# vim /etc/hosts
2. Add the following line for Node 1
192.168.7.223 node2.example.com node2 pvelocalhost

Q

How can I execute the particular node?

A

Use the following command:
# pvecm add 192.168.7.222

Related Tutorials in How to add Multiple Nodes into Proxmox VE Cluster

Related Tutorials in How to add Multiple Nodes into Proxmox VE Cluster

How to add NFS Storage on Proxmox VE
How to add NFS Storage on Proxmox VE
Feb 17, 2018
How to install Windows 10 VM on Proxmox VE
How to install Windows 10 VM on Proxmox VE
Feb 24, 2018
How to install Windows 7 VM on Proxmox VE
How to install Windows 7 VM on Proxmox VE
Feb 17, 2018
How to add Multiple Nodes into Proxmox VE Cluster
How to add Multiple Nodes into Proxmox VE Cluster
Jan 6, 2018
How to Install Proxmox VE in Linux
How to Install Proxmox VE in Linux
Jul 19, 2016
How to install and configure cluster in Linux
How to install and configure cluster in Linux
Jul 2, 2016
How to Migrate Virtual Machines using RHEV clusters
How to Migrate Virtual Machines using RHEV clusters
Jul 15, 2016
How to Install Hadoop in Ubuntu
How to Install Hadoop in Ubuntu
Nov 26, 2016

Related Forums in How to add Multiple Nodes into Proxmox VE Cluster

Related Forums in How to add Multiple Nodes into Proxmox VE Cluster

Proxmox
xavier class=
Dual Boot : Windows 7 and Proxmox
Jan 23, 2018
Cinnamon Desktop
madisonjohn class=
Desktop Environment for Proxmox
Jan 30, 2018
Proxmox
nandhikumar class=
Where Proxmox ISO Stored?
Jan 4, 2018
Proxmox
dennaia class=
how to create proxmox usb boot
Jan 18, 2018
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.