Book Image

Mastering Proxmox - Third Edition

By : Ahmed
4 (1)
Book Image

Mastering Proxmox - Third Edition

4 (1)
By: 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 (17 chapters)

Advanced configuration options for VMs


We will now look at some of the advanced configuration options we can use to extend the capability of KVM virtual machines.

Configuring a sound device

In this section, we are going to see how to add sound support to a VM. Proxmox by default does not add audio hardware to a VM. In order for the VM operating system to start the sound service, some arguments must be added to the VM configuration file through CLI. As of Proxmox VE 4.1 it is not possible to add a sound interface through GUI. The following steps will add a sound device to a VM:

  1. Log in to the Proxmox node through SSH or directly in the console.
  2. Navigate to the VM configuration directory /etc/pve/nodes/<node_name>/qemu-server/<vm_id>.conf.
  3. Open the VM configuration file with your favorite editor and add the following argument:

For Windows 10 and later VMs:

          args: -device intel-had,id=sound5,bus=pci.0,
          addr=0x18 -device hda-micro,id=sound5-codec0,
          bus=sound5...