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 a PCI Express/GPU passthrough


In this section, we will see how to configure a PCI Express device and video adapters to be used directly in a VM.

Getting ready

PCI Express devices, such as a video adapter card support, was added in Proxmox since version 3.3. To enable this passthrough, the Proxmox node must have pve-kernel 3.10. The latest 3.10 kernel is only available for testing purposes through the pve test repository. In order to configure the PCI Express passthrough, the kernel 3.10 must be installed through a test repository. Note that there is no OpenVZ container support in kernel 3.10 and it is only in release candidate status. Before proceeding with this section, install the new kernel 3.10 on a test cluster. We can only add the PCI express and GPU passthrough to a VM from a CLI by adding arguments in the VM configuration file.

How to do it…

The following steps show how to enable standard non-GPU PCI Express devices, GPU-based devices, and GPU devices with embedded audio...