Remove Node from Proxmox Cluster Rumi, September 9, 2020 Step 1 : Migrate all VMs to another active node Migrate all VMs to another active node. You can use the live migration feature if you have a shared storage or offline migration if you only have local storage. Step 2 : Display all active nodes Display all active nodes in… Continue Reading
Fix Proxmox (PVE) “can’t lock file ‘/var/lock/qemu-server/lock-xxx.conf’ – got timeout” (Proxmox can’t shutdown/stop virtual machine) (Proxmox kill/force stop virtual machine) Rumi, August 14, 2020 The Issue When trying to “Stop” or “Shutdown” virtual machine from Proxmox (PVE) web gui, the “Cluster log” shows end task UPID:pve:xxxxxxxx:xxxxxxxx:xxxxxxx:qmstop:xxx:root@pam: can’t lock file ‘/var/lock/qemu-server/lock-xxx.conf’ -got timeout end task UPID:pve:xxxxxxxx:xxxxxxxx:xxxxxxx:qmreboot:xxx:root@pam: VM quit/powerdown failed The Fix We can manually delete the lock from following path /run/lock/qemu-server # The file will… Continue Reading
Reclaim disk space from a sparse image file qcow2/ vmdk Rumi, July 23, 2020July 23, 2020 Sparse disk image formats such as qcow2 only consume the physical disk space which they need. For example, if a guest is given a qcow2 image with a size of 100GB but has only written to 10GB then only 10GB of physical disk space will be used. There is some… Continue Reading
Proxmox Cloud-Init OS template creation Rumi, July 2, 2020 Introduction In this guide we will go over creating a Proxmox KVM Template from a Cloud Image. This same process will work for any Cloud-Init Openstack based image type you can find online. Having done a number of these for our Proxmox based VPS service I wanted to post up… Continue Reading
Change cluster node IP in Proxmox Rumi, March 4, 2020 To update the present cluster host proxmox following files need to be updated: /etc/network/interfaces /etc/hosts /etc/pve/corosync.conf (only on one node necessary) However, corosync.conf needs special way to edit the file! Edit corosync.conf Editing the corosync.conf file is not always very straightforward. There are two on each cluster node, one in… Continue Reading
Install Qemu Guest Agent on Proxmox Rumi, December 21, 2019 The qemu-guest-agent is a helper daemon, which is installed in the guest. It is used to exchange information between the host and guest, and to execute command in the guest. In Proxmox VE, the qemu-guest-agent is used for mainly two things: To properly shutdown the guest, instead of relying on… Continue Reading
Install Proxmox VE 6 on Debian 10 (Buster) Rumi, October 25, 2019 Proxmox Virtual Environment (VE) is an enterprise-grade open-source server virtualization solution based on Debian Linux distribution with a modified Ubuntu LTS kernel. It allows you to deploy and manage both virtual machines and containers. This setup presumes you have a running Debian 10 Buster Linux server running. If you don’t… Continue Reading
Proxmox change from local-lvm to local storage Rumi, August 30, 2019 First remove the existing LVM-Thin: lvremove pve/data Then create an normal lvm on existing group. For example: lvcreate -L 755.96G -n data pve Format it: mkfs.ext4 /dev/pve/data Mount it in the fstab. The mount target must be empty, so delete everything in there. /dev/pve/data /var/lib/vz ext4 defaults 0 2 rm… Continue Reading
Install Proxmox VE on Debian 9 – Stretch Rumi, May 5, 2018June 2, 2018 The installation of a supported Proxmox VE server should be done via Bare-metal_ISO_Installer. In some case it makes sense to install Proxmox VE on top of a running Debian Stretch 64-bit, especially if you want a custom partition layout. For this HowTO the following Debian Stretch ISO was used: Install a… Continue Reading