Mastering Proxmox
eBook - ePub

Mastering Proxmox

  1. 310 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Mastering Proxmox

Book details
Book preview
Table of contents
Citations

About This Book

In Detail

Proxmox is an open source virtualization management solution for servers. This book starts by guiding you through how to set up your very first Proxmox virtualization platform with minimal configuration.

The book will then make you familiar with the Proxmox GUI and the directory structure. We will then take a look at the shared storage system that Proxmox supports and its pros and cons. As we move on, you will learn how to configure virtual machines beyond the basic default setup as well as how networking is handled.

Setting up a Proxmox cluster in a production environment with minimum downtime will also be explained. Towards the end of the book, you will also learn about troubleshooting by looking at real-life problems.

We will also look at how to tackle the day-to-day challenges of an administrator managing Proxmox clusters.

Approach

This is not an instructional guide, but a practical, scenario-based book which guides you through everything you need to know in a practical manner by letting you build your own cluster. By the end of the book, you will have a fully functional Proxmox cluster setup at your disposal and have the knowledge to replicate virtualization solutions.

Who this book is for

If you already know what the word "virtualization" means and you are ready to stand out from the crowd equipped with the unique ability to design and implement a rock-solid virtualized network environment using Proxmox, then you have just picked up the only book you will need. Linux system administration experience together with knowledge of networking and virtualization concepts is assumed. This book is also useful if you are already using Proxmox and simply want to master its advanced features.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Mastering Proxmox by Wasim Ahmed in PDF and/or ePUB format, as well as other popular books in Computer Science & Databases. We have over one million books available in our catalogue for you to explore.

Information

Year
2014
ISBN
9781783980826
Edition
1

Mastering Proxmox


Table of Contents

Mastering Proxmox
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Dive into the Virtual World with Proxmox
Proxmox cluster required
The Proxmox Graphical User Interface (GUI)
The GUI menu system
Menu chart
The Datacenter menu
The Search tab
The Storage tab
The Backup tab
Node-specific tabs
The Summary tab
The Network tab
The Syslog tab
The UBC tab
The Subscription tab
The Updates tab
The Ceph tab
Virtual machine tabs
The Summary tab
The Hardware tab
The Options tab
The Backup tab
The Snapshots tab
The Permissions tab
Setting up a basic cluster
The hardware list
The software list
Hardware setup
Proxmox installation
Cluster creation
Proxmox subscription
Attaching shared storage
Adding virtual machines
Main virtual machine
Creating a KVM virtual machine
Creating an OpenVZ virtual machine
Proxmox cloning/template
Introducing cloning using a template
Transforming VM into a template
Cloning using a template
Full Clone versus Linked Clone
VM migration
Summary
2. Proxmox Under the Hood
The Proxmox cluster directory structure
Dissecting the configuration files
The cluster configuration file
The storage configuration file
Local directory-based storage
NFS-shared storage
iSCSI/LVM shared storage
User configuration files
The password configuration file
The virtual machine configuration file
Arguments in the KVM configuration file
The Proxmox OpenVZ configuration file
The version configuration file
Member nodes
The .members file
The virtual machine list file
The cluster logfile
Summary
3. Shared Storages with Proxmox
Local storage versus shared storage
Live migration of a virtual machine
Seamless expansion of multinode storage space
Centralized backup
Multilevel data tiering
Central storage management
Local and shared storage comparison
Virtual disk image
Supported image formats
The .qcow2 image type
The .raw image type
The .vmdk image type
Image file manipulation
Resizing virtual disk image
Moving a virtual disk image
Storage types in Proxmox
Directory
Logical Volume Management
Network File System
RADOS Block Device
GlusterFS
Noncommercial/commercial storage options
FreeNAS – budget shared storage
Summary
4. A Virtual Machine for a Virtual World
Creating a VM from a template
Advanced configuration options for a VM
The hotplugging option for a VM
The hotplugging option for <vmid>.conf
Loading modules
Adding virtual disk/vNIC
Nested virtual environment
Enabling KVM hardware virtualization
Network virtualization
Backing up a virtual machine
Proxmox backup and snapshot options
Backing up a VM with a full backup
Creating a schedule for Backup
Node
Storage
Day of Week
Start Time
Selection mode
Send email to
Compression
Mode
Creating snapshots
Deleting old backups
Restoring a virtual machine
Command-line vzdump
Backup configuration file – vzdump.conf
#bwlimit
#lockwait
#stopwait
#script
#exclude-path
Summary
5. Network of Virtual Networks
Introduction to a virtual network
Physical network versus virtual network
Physical network
Virtual network
Networking components in Proxmox
Virtual Network Interface Card (vNIC)
Virtual bridge
Virtual LAN (VLAN)
Network Address Translation/Translator (NAT)
Network bonding
Components naming convention
Network configuration file
bridge_stp
bridge_fd
Adding a virtual bridge
Adding a bonding interface
Adding NAT/masquerading
Adding VLAN
Sample virtual networks
Network #1 – Proxmox in its simplest form
Network #2 – multitenant environment
Network #3 – academic institution
Multitenant virtual environment
Multitenant network diagram
Summary
6. Proxmox HA – Zero Downtime
Understanding High Availability
High Availability in Proxmox
Requirements for HA setup
Fencing
Configuring Proxmox HA
Setting up node BIOS
Creating an APC-managed PDU user
Configuring Proxmox fencing
Configuring virtual machine HA
Testing Proxmox HA
Fencing manually
Proxmox HA need to know
Summary
7. High Availability Storage for High Availability Cluster
Introducing the Ceph storage
Object Storage
Block Storage
Filesystem
Reasons to use Ceph
Virtual Ceph for training
The Ceph components
Physical node
Maps
Cluster map
CRUSH map
Monitor
OSD
OSD Journal
MDS
Placement Group (PG)
Pool
Ceph components summary
The Ceph cluster
Hardware requirements
Software requirements
Installing Ceph usi...

Table of contents

  1. Mastering Proxmox