Updating Proxmox Cluster
Proxmox
05/19/2025
Updating Proxmox Cluster¶
The Proxmox Cluster consists of three nodes, pve-0, pve-1, pve-2. The update is performed individually for each node. Perform the update in the order of, pve-2, pve-1, pve-0.
This process updates operating system components as well as Linbit.
Portions of this document has been adapted from https://pve.proxmox.com/wiki/System_Software_Updates.
Login to a Node¶
SSH into the node to be updated.
Migrate Virtual Machines to Other Node¶
It's highly recommended to migrate virtual machines to other nodes. This can be performed using the "qm migrate" command in the node's console. The following is an example of migrating all virtual machines to the pve-0 node using a for loop.
for vm in $(sudo qm list | awk '{print $1}' | tail -n+2'); do
sudo qm migrate $vm pve-0 --online;
done
To check the status of the migration, use the "qm list" command to display a list of virtual machines. This command should not display the virtual machine in the node to be updated. Running this command in the target machine will show the virtual machine in the list output.
Update the Package List¶
sudo apt-get update
Upgrade the Installed Packages¶
sudo apt-get dist-upgrade