Low Orbit Flux Logo 2 F

Proxmox Cluster - Basic Setup

Here we are going to show you how to setup a basic Proxmox cluster. In this video I show you how to setup a basic three node proxmox cluster. You can keep scrolling past the video if you want to read more.

I have three Proxmox instances. Two of them are running directly on hardware ( Mac Minis ) and the third in stance is running inside a VM which itself is running on top of a third Mac Mini ( see the diagram below ). The rational behind this was that I wanted to have a third host for voting. The cluster needs an odd number of hosts to be able to reach a quorum ( break the tie when voting ). The first two instances are what I would actually be running VMs on. The third instance only exists as a tie breaker since it is has fewer resources and actually runs on top of a VM itself.

Hopefully this makes more sense with this diargram.

Proxmox Cluster - Basic Setup

Steps - Proxmox Cluster - Basic Setup

Make sure that you are logged into each instance that you will want to add to your cluster before starting.

Start by going to “cluster” and clicking “Create Cluster”.

Proxmox Cluster - Basic Setup

Fill in a cluster name and your network info if needed. Click “Create”.

Proxmox Cluster - Basic Setup

You should see output that looks like this:

Proxmox Cluster - Basic Setup

You should see one node under “Cluster Nodes”. Next you are going to need to get the join information. Click on “Join Information”. This will bring up a dialog box with the info you need.

Proxmox Cluster - Basic Setup

You should see the following dialog box. Click on “Copy Information” to copy the join information.

Proxmox Cluster - Basic Setup

Now switch to the GUI for your second cluster node. Click on “Join Cluster”.

Proxmox Cluster - Basic Setup

Paste the join info into the “Information” field. Most of the other fields should be populated. You will need to enter your password in the “Password” field. Click the “Join” button.

Proxmox Cluster - Basic Setup

You should see output that looks like this:

Proxmox Cluster - Basic Setup

You may need to reload the page and re-login:

Proxmox Cluster - Basic Setup

You should now see two nodes in your cluster like this:

Proxmox Cluster - Basic Setup

Repeat the join steps to connect the third cluster node to the cluster using the same join information that you pasted previously.

Once a node has been added to the cluster you should be able to manage it from any GUI instance. You should see all threee nodes added to the cluster now.

Proxmox Cluster - Basic Setup

You should also be able to see the cluster log events indicating that nodes were added to the cluster like this.

Proxmox Cluster - Basic Setup

When you add a node to the cluster, the GUI for that node may need to be refreshed and you may need to re-login like this.

Proxmox Cluster - Basic Setup

Now that our cluster is setup we can try to live migrate a running VM. Start by right clicking on a VM and select “Migrate”.

Proxmox Cluster - Basic Setup

If a CD ISO image is still connected to the VM you may see an error like this. You will need to remove it first.

Proxmox Cluster - Basic Setup

Got to “Hardware” and Select “CD/DVD Drive”. Click the “Edit” button.

Proxmox Cluster - Basic Setup

Select the “Do not use any media” radio button.

Proxmox Cluster - Basic Setup

You can now re-try the migration. Right click the VM and select “Migrate”. You should now see a dialog that looks like this. Click the “Migrate” button.

Proxmox Cluster - Basic Setup

You should see output like this. It may take a while to complete.

Proxmox Cluster - Basic Setup

Once it is done you should see output that looks like the following.

Proxmox Cluster - Basic Setup

We now see that our virtual machine has been moved to another node in the cluster and that it is running.

Proxmox Cluster - Basic Setup

If we check the console and login we can see that the uptime for our VM is two days in this example. This shows that we were sucessfully able to migrate our VM without it being shutdown or restarted.

Proxmox Cluster - Basic Setup