Preface
This book is well overdue in the world of virtualization. When I first came in contact with Proxmox several years ago, I did not have anything to fall back on other than Proxmox Wiki and forum. I learned Proxmox through lots of trial and error and very much had to reinvent wheels on my own in some cases. Since a lot of us went through the frustration and I personally do not feel others should have to invest a lot of time just to get to know Proxmox the hard way, this book has been written.
This book shows the inner workings of Proxmox including virtual network components, shared storage systems, nested virtualization, complex network topologies, and so on. With this book, we hope that the reader will be able to better equip themselves to face any virtualization challenges of any virtual infrastructure.
What this book covers
Chapter 1, Dive into the Virtual World with Proxmox, introduces Proxmox in general and the graphical user interface.
Chapter 2, Proxmox Under the Hood, introduces the Proxmox directory structure and configuration files.
Chapter 3, Shared Storages with Proxmox, explains how Proxmox interacts with the shared storage system and types of shared storage system supported.
Chapter 4, A Virtual Machine for a Virtual World, covers advanced virtual machine configurations such as enabling sound, USB devices, and so on.
Chapter 5, Network of Virtual Networks, explains the different networking components used in Proxmox to build virtual networks.
Chapter 6, Proxmox HA – Zero Downtime, explains the Proxmox High Availability (HA) feature and how to configure it.
Chapter 7, High Availability Storage for High Availability Cluster, explains a step-by-step process of setting up the Ceph cluster to be used as a shared storage system.
Chapter 8, Proxmox Production Level Setup, explains the type of hardware that should be and can be used in a production level Proxmox cluster setup.
Chapter 9, Proxmox Troubleshooting, lists real incidents with solutions that may arise in the Proxmox cluster.
Chapter 10, Putting It All Together, introduces several scenario-based virtual environments along with full network diagrams.
What you need for this book
Since we will be working with the Proxmox cluster throughout the book, it will be extremely helpful to have a working Proxmox cluster of your own. A very basic cluster of two Proxmox nodes and a storage node will do just fine.
Who this book is for
This book is for readers who want to build a virtual infrastructure purely based on Proxmox as hypervisor and Ceph as storage backend. Whether the reader is a veteran in the virtualized industry but has never worked with Proxmox, or somebody just starting out a promising career in this industry, this book will serve well.
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The beginning of the tag shows the name of the cluster as name="pmx-cluster"
."
A block of code is set as follows:
<?xml version="1.0"?> <cluster name="pmx-cluster" config_version="2"> <cman keyfile="/var/lib/pve-cluster/corosync.authkey"></cman> <clusternodes> <clusternode name="pmxvm01" votes="1" nodeid="1"/> <clusternode name="pmxvm02" votes="1" nodeid="2"/> </clusternodes> </cluster>
Any command-line input or output is written as follows:
# ssh [email protected]
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "The Storage tab is probably one of the most important options in the Proxmox GUI."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.
To send us general feedback, simply send an e-mail to <[email protected]>
, and mention the book title via the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
Downloading the example code
You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
Errata
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.
Piracy
Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at <[email protected]>
with a link to the suspected pirated material.
We appreciate your help in protecting our authors, and our ability to bring you valuable content.
Questions
You can contact us at <[email protected]>
if you are having a problem with any aspect of the book, and we will do our best to address it.