Book Image

Proxmox Cookbook

By : Wasim Ahmed, Ravi K Jangid
Book Image

Proxmox Cookbook

By: Wasim Ahmed, Ravi K Jangid

Overview of this book

Proxmox VE's intuitive interface, high availability, and unique central management system puts it on par with the world’s best virtualization platforms. Its simplicity and high quality of service is what makes it the foremost choice for most system administrators. Starting with a step-by-step installation of Proxmox nodes along with an illustrated tour of Proxmox graphical user interface where you will spend most of your time managing a cluster, this book will get you up and running with the mechanisms of Proxmox VE. Various entities such as Cluster, Storage, and Firewall are also covered in an easy to understand format. You will then explore various backup solutions and restore mechanisms, thus learning to keep your applications and servers safe. Next, you will see how to upgrade a Proxmox node with a new release and apply update patches through GUI or CLI. Monitoring resources and virtual machines is required on an enterprise level, to maintain performance and uptime; to achieve this, we learn how to monitor host machine resources and troubleshoot common issues in the setup. Finally, we will walk through some advanced configurations for VM followed by a list of commands used for Proxmox and Ceph cluster through CLI. With this focused and detailed guide you will learn to work your way around with Proxmox VE quickly and add to your skillset.
Table of Contents (18 chapters)
Proxmox Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring sound in a KVM VM


In this section, we are going to see how to add the sound support to a KVM-based VM.

Getting ready

By default, the sound feature is not added to a VM. A newly created VM will not have a sound device. In order for the VM operating system to start the sound service, some arguments must be added to the VM configuration file.

When using a virtual desktop infrastructure, such as RDP, the sound is automatically added to remote virtual desktops on the client side. However, when using the SPICE protocol, a sound device must be added to the VM. As of Proxmox VE 3.4, it is not possible to add a sound interface through the GUI. However, there is a plan to add this feature in later versions of Proxmox.

How to do it…

The following steps will add a sound device to a VM:

  1. Log in to the Proxmox node through SSH or directly through the console.

  2. Navigate to the /etc/pve/nodes/<node_name>/qemu-server/<vm_id>.conf VM configuration directory.

  3. Open the VM configuration file with...