Proxmox Cluster

1. The first step in setting up clustering is to edit the hosts file on each node in the cluster. In this example I have three nodes, they are on IP address 10.110.10.5,6 and 7 so each node will have the following settings added replacing the original host setting

10.110.10.5 prox1.fitzsimmons.com.au prox1

10.110.10.6 prox2.fitzsimmons.com.au prox2

10.110.10.7 prox3.fitzsimmons.com.au prox3

2. Execute

nano /etc/hosts

3. And modify the host entries make sure it looks something like the following (only chage the section in yellow)

127.0.0.1 localhost

127.0.1.1 prox.proxmox.local proxmox

10.110.10.5 prox1.fitzsimmons.com.au prox1

10.110.10.6 prox2.fitzsimmons.com.au prox2

10.110.10.7 prox3.fitzsimmons.com.au prox3

4.Make sure that each server can ping and resolve the names of all the other servers, from the terminal issue the following commands on each node

ping prox1.fitzsimmons.com.au

ping prox2.fitzsimmons.com.au

ping prox3.fitzsimmons.com.au

5. Next we need to create the cluster that the other nodes will be part of to form our High Availability configuration , Log into the first node which in this case is prox1.fitzsimmons.com.au

6. browse to "Datacentre" and then select "Cluster"

7. click create cluster

8. give the cluster a name, in my case Im keeping it simple and calling it Proxmox cluster. (no spaces)

9. select the link that will be used to comunicate between each server, in this case there is only one Ethernet conection, but if you had more than one NIC onstalled you can use a dedicated NIC to comunicate between servers.

10. click create

11. if all is successfull you should see a message similar to the following

12. next select the Join information button that is no highlighted, this will open a dialog box similar to the following

13. select "copy information"

14. then log into one of the other nodes, for example prox2.fitzsimmons.com.au browse to Datacenter and Cluster

15. select "join Cluster"

16. a dialog box similar to the following will apear, paste into the information box, the information copied in step 13. make sure the ipaddress for prox1.fitzsimmons.com.au is corect and type in the password for the root user.