Mastering Proxmox


Mastering Proxmox
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.94
save 15%!
Print + free eBook + free PacktLib access to the book: $70.98    Print cover: $43.99
$43.99
save 38%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Learn how to provide big business virtualization technology at small business prices by using Proxmox
  • Walk through every aspect of visualization using Proxmox, from a basic cluster to complex multi-cluster setups
  • A practical, scenario-based guide featuring best practices which will show you everything you need to know to tackle any Proxmox cluster

Book Details

Language : English
Paperback : 310 pages [ 235mm x 191mm ]
Release Date : July 2014
ISBN : 1783980826
ISBN 13 : 9781783980826
Author(s) : Wasim Ahmed
Topics and Technologies : All Books, Networking and Servers, Open Source


Table of Contents

Preface
Chapter 1: Dive into the Virtual World with Proxmox
Chapter 2: Proxmox Under the Hood
Chapter 3: Shared Storages with Proxmox
Chapter 4: A Virtual Machine for a Virtual World
Chapter 5: Network of Virtual Networks
Chapter 6: Proxmox HA – Zero Downtime
Chapter 7: High Availability Storage for High Availability Cluster
Chapter 8: Proxmox Production Level Setup
Chapter 9: Proxmox Troubleshooting
Chapter 10: Putting It All Together
Index
  • Chapter 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
      • VM migration
    • Summary
  • Chapter 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
  • Chapter 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
  • Chapter 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 snapshots
        • Deleting old backups
        • Restoring a virtual machine
      • Command-line vzdump
      • Backup configuration file – vzdump.conf
        • #bwlimit
        • #lockwait
        • #stopwait
        • #script
        • #exclude-path
    • Summary
  • Chapter 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
  • Chapter 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
  • Chapter 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 using an OS
      • Installing and setting up Ubuntu
      • Creating an admin user
      • Assigning SUDO permission to a user
      • Updating Ubuntu
      • Generating an SSH Key
      • Installing ceph-deploy
      • Creating a Ceph cluster
      • Installing Ceph on nodes
      • Creating Monitors (MONs)
      • Gathering the admin keys
      • Creating OSDs
      • Connecting Proxmox to a Ceph cluster
    • Installing Ceph on Proxmox
      • Preparing a Proxmox node for Ceph
      • Installing Ceph
      • Creating MON from the Proxmox GUI
      • Creating OSD from the Proxmox GUI
      • Creating a new Ceph pool using the Proxmox GUI
    • Creating a Ceph FS
      • Setting up an MDS daemon
      • Setting up Ceph FS using FUSE
      • Mounting Ceph FS
      • Connecting Proxmox to Ceph FS
    • Learning Ceph's CRUSH map
      • Extracting the CRUSH map
      • Decompiling the CRUSH map
      • Editing the CRUSH map
      • Compiling the CRUSH map
      • Injecting the CRUSH map into the cluster
      • Verifying the new CRUSH map
    • Managing Ceph pools
      • Creating a new Ceph pool using the CLI
      • Verifying the new Ceph pool
      • Adding OSDs to a pool
      • Assigning a pool to the ruleset
      • Connecting Proxmox to the new pool
    • Ceph benchmarking
    • The Ceph command list
    • Summary
  • Chapter 8: Proxmox Production Level Setup
    • Defining a production level
      • Key parameters
        • Stable and scalable hardware
        • Current load versus future growth
        • Budget
        • Simplicity
        • Tracking the hardware inventory
        • Hardware selection
      • An entry-level Proxmox production setup
        • An i7-based Proxmox node
        • A Xeon-based Proxmox node
      • An entry-level Ceph production setup
      • An advanced-level Proxmox production setup
        • A Xeon-based Proxmox node
      • An advanced-level Ceph production setup
      • Desktop class versus server class
    • Brand servers
      • Hardware tracking
    • AMD-based hardware selection
      • An AMD-based entry-level Proxmox
      • An AMD-based advanced-level Proxmox
      • An AMD-based Ceph setup
      • Performance comparison
    • Summary
  • Chapter 9: Proxmox Troubleshooting
    • Main cluster issues
      • GUI shows everything is offline
      • Rejoining a Proxmox node with the same IP address
      • Disabling fencing temporarily
      • The occurrence of kernel panic when disconnecting USB devices
      • The occurrence of VM shutdown error when initiated from GUI
      • Kernel panic on Proxmox 3.2 with HP NC360T
      • VMs not booting after you restart the network service
      • Proxmox cluster is out of Quorum and cluster filesystem is read only
      • Proxmox boot failure due to the getpwnam error
      • Cannot log in to GUI as ROOT
      • Booting with a USB stick fails in Proxmox
      • The Upgrade from Proxmox 3.1 to Proxmox 3.2 is disabled through GUI
      • VZ kernel 2.6.32-28-pve breaks libnl/netlink in host and VM
      • Nodes not visible on the Proxmox GUI after an upgrade
      • GRUB is in an endless loop after Proxmox installation
      • SSH access is possible but Proxmox node does not reboot
    • Storage issues
      • Deleting damaged LVM with error read failed from 0 to 4096
      • Proxmox cannot mount NFS share due to time-out error
      • Removing stale NFS shares when a stale file handle error occurs
      • The occurrence of '--mode session exit code 21' errors while accessing iSCSI target
      • Cannot read an iSCSI target even after it has been deleted from Proxmox storage
      • OSDs still show up in Proxmox after you remove the Ceph node
      • The 'No Such Block Device' error that shows up during creation of an OSD
      • The fstrim command does not trim unused blocks for Ceph
      • The 'RBD Couldn't Connect To Cluster (500)' error when connecting Ceph with Proxmox
      • Changing the storage type from ide to virtio
      • The 'pveceph configuration not initialized (500)' error for the Ceph tab
      • Ceph FS storage disappears after a Proxmox node reboots
      • VM cloning does not parse in Ceph storage
    • Network connectivity issues
      • No connectivity on Realtek RTL8111/8411 Rev. 06 NIC
      • Network performance is slower with e1000 vNIC
    • KVM virtual machine issues
      • Windows 7/XP machine converted to Proxmox KVM hangs during boot
      • Windows 7 VM only boots when rebooted manually
      • The Proxmox 3.2 upgrade adds two com ports and one parallel port to the Windows VM
      • The qemu-img command does not convert the .vmdk image files created with the .ova template in Proxmox VE 3.2
      • Online migration of a virtual machine fails with a 'Failed to sync data' error
      • Change in memory allocation is not initialized after a VM is rebooted
      • The virtio virtual disk is not available during the Windows Server installation
    • OpenVZ container issues
      • The creation of OpenVZ container takes a long time on NFS or GlusterFS storage
      • OpenVZ containers are no longer shown after a cluster is created
      • Header error during the installation of PF_RING in Proxmox
    • Backup/restore issues
      • A Proxmox VM is locked after backup crashes unexpectedly
      • Backing up only the primary OS virtual disk
      • Backup of VMs stops prematurely with an 'Operation Not Permitted' error
      • A backup task takes a very long time to complete, or it crashes when multiple nodes are backing up to the same backup storage
      • Backup of virtual machines aborts a backup task prematurely
      • Backup storage has a lot of .dat files and .tmp directories using the storage space
    • VNC/SPICE console issues
      • The mouse pointer is not shared with SPICE-VIEWER on Windows 8 VM
      • The SPICE console has become unstable after the Proxmox VE 3.2 update
      • Remote Viewer is unable to connect to a SPICE-enabled virtual machine on Windows OS
    • Summary
  • Chapter 10: Putting It All Together
    • Scenario #1 – academic institution
    • Scenario #2 – multitier storage cluster using Proxmox cluster
    • Scenario #3 – virtual infrastructure for multitenant cloud service provider
    • Scenario #4 – a nested virtual environment for a software development company
    • Scenario #5 – a virtual infrastructure for the public library
    • Scenario #6 – multifloor office virtual infrastructure with virtual desktops
    • Scenario #7 – virtual infrastructure for hotel industry
    • Scenario #8 – virtual infrastructure for a geological survey organization
    • Network diagrams for scenarios
    • Summary

Wasim Ahmed

Wasim Ahmed, born in Bangladesh and now a citizen of Canada, is a veteran of the IT world. He was introduced to computers in the year 1992 and never looked back. Wasim has deep knowledge and understanding of network virtualization, big data storage, and network security. By profession, Wasim is the CEO of an IT support and cloud service provider company based in Calgary, Alberta. He serves many companies and organizations through his company on a daily basis. Wasim's strength comes from the experience he gained through learning and serving continually. Wasim strives on finding the most effective solution at the most competitive price point. He hand-built over a dozen enterprise production virtual infrastructures using Proxmox and Ceph storage system.

Wasim is notoriously known not to simply accept a technology based on its description alone, but put them through rigorous tests to check their validity. Any new technology that his company provides goes through months of continuous testing before it is accepted. Proxmox made the cut superbly.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Mastering Proxmox +    Learning eZ publish 3 : Building content management solutions =
50% Off
the second eBook
Price for both: £20.00

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Provide big business virtualization technology at small business prices by using Proxmox
  • Configure virtual machines beyond the basic default setup
  • Set up virtual environments of any size
  • Set up scalable, distributed shared storage systems using Ceph
  • Analyze real-world virtual environment scenarios and formulate Proxmox-based solutions
  • Monitor resources and virtual machines to maintain performance and uptime
  • Troubleshoot a virtual environment based on real-life scenarios

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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software