Subscription Popup
Code: Select all
Error message - "You do not have a valid subscription for this server"
Every time you login, you will be greeted with that message. You can safely click OK and continue on. If you purchase a support subscription, that message goes away but the system will function just the same with or without a subscription.
If you have no plans to buy a subscription (such as just doing a trial evaluation), you can edit the javascript code to prevent this message from displaying.
As of 6.2, the following command will edit the file and ensure it will not display the next time you reboot. On each host, click "Shell" which will drop you to a command prompt as root on the server console. Run the following code to disable the popup message:
Code: Select all
sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
Cluster Management
NOTE: Do NOT attempt to rename the cluster or a node in the cluster. If you need to rename a host, do so before joining the cluster by editing the /etc/hostname and /etc/hosts and reboot.
It is easy to create a cluster and add hosts to become nodes in the cluster. There is not an easy "remove" button to reverse the process (yet).
Create the cluster:
- On the 1st host (srv-pve1), select Datacenter, Cluster, [ Create Cluster ] button. Give the cluster any name you want such as Cluster1
- Once the cluster is created, click the [ Join Information ] button and then the [ Copy Information ] button
Join the other hosts to the cluster:
- Make sure the next host you are about to join is uniquely named how you want it (e.g. srv-pve2)
- Select the next host, click Cluster, [ Join Cluster ] button.
- Press CTRL+V to paste the info into the box and type the root password for the cluster and click the [ Join ] button.
- You might lose connectivity on the host joining the cluster. Look at the cluster to see if there is an entry in the "TASKS" section at the bottom where is says the join is OK. It should be fairly quick.
- You can close the browser tab for the joining host since you can now refresh the cluster tab and control that host as a cluster node from there.
- Repeat these steps for every host you want to add.
Network Management
The host should have one network card configured which we will refer to as the LAN (Local Area Network). We need one for the WAN (Wide Area Network / Internet) and an isolated / No Access card.
Repeat these steps for each node in the cluster.
- Select the host, click System, Network
- If you have one physical network card, you will have two entries. One is the name of the physical card (e.g. enp2s0) and the type is "Network Device." The other is a "Linux Bridge" called vmbr0 which is linked to the name of the physical network card (e.g. enp2s0). Edit the details of vmbr0 and set the comment to say "LAN"
- Create a new Linux Bridge called vmbr1 with a comment of "NoAccess" and no other setting configured.
VM Storage Management
On every host, run these commands:
Code: Select all
apt install nfs-kernel-server
mkdir /srv/vm
Now we need to present the share via NFS.
Add the following line:
Code: Select all
/srv/vm *(rw,sync,no_root_squash,no_subtree_check)
Restart the NFS service for the change to take effect:
Code: Select all
systemctl restart nfs-kernel-server
In Proxmox, select Datacenter, Storage and add NFS for each host that you have:
ID=
pve1-nfs, Server=
192.168.107.201, Export=/srv/vm, Content=Disk Image
ID=
pve2-nfs, Server=
192.168.107.202, Export=/srv/vm, Content=Disk Image
ID=
pve3-nfs, Server=
192.168.107.203, Export=/srv/vm, Content=Disk Image
ISO Storage Management
We will designate the 1st host to hold all our ISO images. This will make managing the files easier and avoid duplication and wasted space.
Add this line:
Code: Select all
/srv/iso *(rw,sync,no_root_squash,no_subtree_check)
Restart the NFS service for the change to take effect:
Code: Select all
systemctl restart nfs-kernel-server
In Proxmox, select Datacenter, Storage and add an NFS share as follows:
ID=
pve1-iso, Server=
192.168.107.201, Export=/srv/iso, Content=ISO Image
Use WinSCP or some other utility to transfer ISO images to pve1 in this folder: /srv/iso/template/iso/
Full VM Migration
Migrate one virtual machine from one host to another (VM + Storage)
Partial VM Migration
Migrate just the virtual machine from one host to another but leave the storage in place.
NOTE: This requires the storage to be accessible to both hosts.
Storage Migration
Migrate only storage disks from one storage location to another.
NOTE: This requires both storage locations to be accessible to the host.
Remote Desktop Access
Windows servers and clients have built-in RDP that can be enabled and used.
Linux servers do not have a GUI and as such, only need to connect via SSH.
Linux desktops can use a variety of remote access software. We will be using TigerVNC to access the desktops in the cluster remotely. X2Go was a close second choice.
Certificate Management
In this OPTIONAL step, we are going to fix the SSL warnings by creating a local certificate authority (CA) server, create cert, import onto PC as trusted root CA
NOTE: This might be a completely separate tutorial.