Book Image

Mastering Proxmox - Third Edition

By : Wasim Ahmed
4 (1)
Book Image

Mastering Proxmox - Third Edition

4 (1)
By: Wasim Ahmed

Overview of this book

Proxmox is an open source server virtualization solution that has enterprise-class features for managing virtual machines, for storage, and to virtualize both Linux and Windows application workloads. You'll begin with a refresher on the advanced installation features and the Proxmox GUI to familiarize yourself with the Proxmox VE hypervisor. Then, you'll move on to explore Proxmox under the hood, focusing on storage systems, such as Ceph, used with Proxmox. Moving on, you'll learn to manage KVM virtual machines, deploy Linux containers fast, and see how networking is handled in Proxmox. You'll also learn how to protect a cluster or a VM with a firewall and explore the new high availability features introduced in Proxmox VE 5.0. Next, you'll dive deeper into the backup/restore strategy and see how to properly update and upgrade a Proxmox node. Later, you'll learn how to monitor a Proxmox cluster and all of its components using Zabbix. Finally, you'll discover how to recover Promox from disaster strikes through some real-world examples. By the end of the book, you'll be an expert at making Proxmox work in production environments with minimal downtime.
Table of Contents (23 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Backup/restore issues


This section contains issues related to backing up and restoring Proxmox.

Issue – a Proxmox VM is locked after backup crashes unexpectedly

This is a common cause after a VM backup is interrupted or crashed. Simply unlocking the VM through SSH using the following command will fix this issue:

# qm unlock <vm_id>

Issue – how can Proxmox back up only the primary OS virtual disk instead of all the virtual disks for a VM?

By default, a Proxmox backup will back up all the virtual disks assigned to a VM. If we want to exclude certain virtual disks from the backup process, we only need to add the backup=no option at the end of a virtual disk line item in <vm_id>.conf, as follows:

virtio0: rbd-hdd-01:vm-101-disk1,size=80G 
virtio0: rbd-hdd-01:vm-101-disk2,size=200G,backup=no 

In the previous example, the virtual machine has two virtual disks. The disk1 is for the primary OS and disk2 is for the secondary. By adding backup=no, Proxmox will skip this disk during the backup...