![]()
Proxmox High Availability
Table of Contents
Proxmox High Availability
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
Errata
Piracy
Questions
1. Basic Concepts of a Proxmox Virtual Environment
Introduction to Proxmox Virtual Environment
Introduction to server virtualization
Server virtualization basics โ guest versus host
Comparing types of server virtualization software
Comparison table of hypervisors
Basic administration on Proxmox VE
Uploading the OS template or the ISO file to Proxmox
Creating an OpenVZ-based virtual machine
Creating a kernel-based virtual machine
Accessing the new virtual machine
Virtualization options in Proxmox VE
Virtual disk options under Proxmox VE
Introducing the OpenVZ template
Summary
2. Getting Started with a High Availability (HA) Environment
What is a high availability (HA) environment?
What is availability?
Negative effects of system downtime
Strategies to achieve High Availability (HA)
Introducing a Proxmox VE cluster
Introduction to DRBD
Explaining live migration
Introducing the post-copy memory migration
Introducing the pre-copy memory migration
System requirements for the Proxmox cluster
Describing the requirements for RAID
The RAID 0 operation
The RAID 1 operation
The RAID 10 operation
HA capability for Proxmox with a two-node cluster
The Proxmox Cluster file system (pmxcfs)
Summary
3. Key Components for Building a Proxmox VE Cluster
Key component 1 โ shared storage
Characteristics of SAN and NAS
Available storage options in Proxmox
Storage option 1 โ storage over iSCSI
An explanation of the Logical Volume Manager (LVM)
Storage option 2 โ a distributed replicated block device (DRBD)
Storage option 3 โ the Gluster filesystem
Storage option 4 โ the Ceph filesystem
Comparing the types of file storage supported by Proxmox
Key component 2 โ reliable network
Key component 3 โ a fencing device
What is a fencing device?
Available fencing device options
Intelligent Platform Management Interface (IPMI)
Simple network management protocol (SNMP)
Key component 4 โ quorum disk
Summary
4. Configuring a Proxmox VE Cluster
Configuring a network for a Proxmox VE cluster
Building a network with redundancy
Building a separate network for the Proxmox VE cluster
Introducing Proxmox's network options
Introducing the VLAN structure
Creating an infrastructure for a Proxmox cluster testing environment
The concept of a quorum device
The concept of a bonding device
The concept of DRBD
Preparing a network for a Proxmox cluster
Preparing storage for a Proxmox cluster
Preparing iSCSI shared storage with NAS4free for the quorum device
Basic concepts of an iSCSI device
Configuring a Proxmox VE cluster
Forming a two-node cluster with DRBD
Installing and configuring DRBD
Creating an LVM volume based on the DRBD shared storage
Network fencing with a Cisco switch via SNMP
Building a Gluster filesystem for a Proxmox cluster
Building a Ceph filesystem for a Proxmox cluster
Mounting a Ceph device as shared storage
Summary
5. Testing on a Proxmox Cluster
Storage preparation for an LVM shared storage
Demonstration of live migration
Using an OpenVZ container for live migration
Live migration with a KVM
Building an HA-protected VM
Testing with the cluster environment
Testing an HA service relocation
Testing the OpenVZ container relocation
Testing a KVM relocation
Testing a single network interface failure
Testing a single network switch failure
Testing a single cluster node failure
Setting up a failover domain
Summary
6. System Migration of an Existing System to a Proxmox VE Cluster
System migration of an existing Linux platform
Preparing for container migration on a Proxmox server
Migrating data to a container using the rsync command
Live migration of a physical machine to a KVM
Preparing for migration on the source machine
Creating an LVM snapshot volume for data copying
Preparing for migration on a Proxmox server
Restoring disk information from the source backup
Copying data from the source server to the Proxmox server
System migration of a Windows platform
Post-migration for offline migration with a physical machine
System ...