Joining a non-ZFS cluster as a ZFS configured Proxmox server

How Can We Help?

Joining a non-ZFS cluster as a ZFS configured Proxmox server

You are here:
< Back to the Wiki

Did you create a Proxmox cluster without ZFS, and do you want to add a Proxmox server that is configured with ZFS? Then you might run into some issues where the storage does not show as expected. This article shows you how you have to configure the cluster to properly show the storage.

Prerequisites

In this case, it is assumed that you have already set up a cluster. If this is not the case, have a look at the article about clusters (wiki.mphslaats.com).

Joining the cluster

To join a cluster you first have to log in to the Proxmox server on which you have created the cluster. Go to Datacenter – Cluster, and click on the Join Information button. This opens a window with information about the cluster. Click on Copy Information.

Cluster Join Information

Now, login to the Proxmox server that you want to add to the cluster. Navigate to Datacenter – Cluster, and click on Join Cluster. Because the information to join is copied to your clipboard, you can enter Ctrl-C in the Information field. Proxmox will help you out and fill in the rest of the information. To be able to join the cluster you only have to provide the password.

Join Cluster

Proxmox will now try to communicate with the cluster and add itself. After it has added itself to the cluster you have to refresh the page, since Proxmox changed the HTTPS certificate. If it takes too long to join you can check if the server has been added to the Proxmox server on which you created the cluster.

If you look in the Server View on the left, you will see something similar to the image below. The server that contains the ZFS configuration (virtual) shows a question mark for the local-lvm storage.

Server View with a badly configured storage for the ZFS-configured server

To fix this go to the Datacenter – Storage. This will show you a list of the configured storage.

Storage View

To make sure that the ZFS storage is visible in your ZFS click the Add button. Select ZFS from the list, this will open a new window. Type local-zfs in the ID field. Select rpool from the ZFS Pool list. Click the Nodes option and select the Proxmox server which has the ZFS configuration.

Add ZFS Storage

In the Server View of Proxmox, you will now see a new storage item for your ZFS-configured server.

Server View with configured ZFS storage

Take note that the local-lvm option is still not known for the ZFS-configured system. To fix this you can select the local-lvm item from the storage list, and click Edit. Select all the non-ZFS configured systems in the Nodes field, and click OK.

Edit local-lvm

Now the local-lvm storage has disappeared from your ZFS-configured Proxmox server. Take note that you have to configure the storage if you add a new Proxmox server to the cluster since you limited local-lvm and local-zfs for their appropriate servers. Adding a new server to the Proxmox cluster will look like the image below, in this case, the gaming server has been added.

Server View with missing storage for the gaming node

Sources

21 Responses

  1. Thanks for sharing. It’s top quality.

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents