Proxmox 8.0 Cluster setup with Post-Install Script
/ 2 min read
Last Updated:Introduction
In the Last post, we learned how to image four separate nodes with Proxmox; today, we will merge all of them into one data center in Proxmox and run a helper script to remove the subscription nag.
ProxMox Cluster Setup
After Proxmox is set up and you have all four IPs recorded down, choose one of the nodes to be the primary and use that to add the rest.
Under Datacenter
-> Cluster
, click the Create Cluster
button. You can call it whatever. In my case, I’m going to name it Lab. Click Create
to make the cluster.
After you see TASK OK
, click X
to close the popup.
Click Join Information
on the main page to get the encrypted JWT you must paste on the other nodes.
On each of the other nodes, paste in the JWT token and put in the root password of the master node.
After adding all nodes, you will be able to see them from any Web Gui
tteck’s Proxmox Helper Script’s
This collection of scripts1 is beneficial as it contains some for proxmox and some for creating new LXC containers.
Warning: make sure not to run any scripts you are unfamiliar with blindly. Raw script attached, https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh
Run with the following command bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"
If it asks to enter `y’ for each one
Ultimately, it will ask to reboot, hit `y’, and wait for the host to return online.
Repete the same post-install script on the rest of the nodes.
Footnotes
-
GitHub page for Tteck’s Helper Scripts ↩