Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Proxmox Cookbook
Proxmox Cookbook

Proxmox Cookbook: Over 60 hands-on recipes to perform server virtualization and manage virtualized server solutions with Proxmox

eBook
€28.99 €32.99
Paperback
€41.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Proxmox Cookbook

Chapter 1. Installing Proxmox

In this chapter, we are going to cover the following Proxmox basics:

  • Hardware requirements
  • Preparing for installation
  • Installing Proxmox on a bare metal node
  • Installing Proxmox on a Debian system
  • A Proxmox subscription
  • Disabling a Proxmox subscription
  • Applying a Proxmox subscription
  • Setting up a Proxmox package repository
  • Seeking support

Introduction

The Proxmox Virtual Environment (VE) is an open source multinode clustered hypervisor built on Debian Linux, and is able to run on commodity hardware, thus eliminating any vendor lock ins. Proxmox is freely available without any features locked. However, a subscription type license is available to enable a enterprise repository to receive well-tested patches and updates. Subscriptions are recommended for a production-level Proxmox environment.

Note

A hypervisor is a software or firmware that creates a layer between native hardware and an operating system to form a virtual environment to create and run virtual machines. A hypervisor emulates the functions of physical hardware to enable virtual machines to see them as physical resources.

Proxmox can be configured to run a virtual environment of just a few nodes with virtual machines or an environment with thousands of nodes. Supporting both KVM and OpenVZ container-based virtual machines, Proxmox VE is a leading hypervisor today. Proxmox has an extremely vibrant community ready to provide help to any free Proxmox users. Also, the expert technical support team of Proxmox is equally capable of handling all corporate users with their mission critical virtual environment.

As mentioned earlier, Proxmox is a multinode environment, meaning that many nodes can form a single cluster where a virtual machine can be moved around to any node within the cluster, thereby allowing a redundant virtual environment. Through a robust Graphical User Interface (GUI), the entire Proxmox cluster can be managed. As of Proxmox VE 3.4, only one cluster is manageable through the GUI.

Here are some of the notable features of the Proxmox VE:

  • It provides a multinode cluster environment for virtualization. No single node acts as a master, thus eliminating single points of failure.
  • It provides High Availability (HA) of virtual machines.
  • It gives centralized web-based management and a single interface to manage an entire cluster.
  • A console can be accessed through secured VNC, SPICE, and HTML5-based noVNC.
  • It provides support for multiple authentication sources, such as local using Pluggable Authentication Module (PAM), Microsoft ADS, and LDAP.
  • A Proxmox cluster file system (pmxcfs) can be used to store configuration files for real-time replication on all nodes using corosync (http://en.wikipedia.org/wiki/Corosync_%28project%29).
  • It provides role-based permission management for objects VMs, storages, nodes, pools, and so on.
  • Unlike SOAP, REST is not a protocol but combination of various standards such as HTTP, JSON, URI and XML. Visit http://www.restapitutorial.com for information on REST based APIs.
  • It provides a built-in powerful firewall for host nodes and virtual machines.
  • It provides migration of VMs between physical hosts with or without shared storage.
  • It supports mainstream storage types, such as Ceph, NFS, ZFS, Gluster, and iSCSI.
  • It provides cluster-wide logging.

Hardware requirements

Proxmox can be installed on just about any commodity hardware, but in order to have a stable platform, some attention is required when selecting nodes. A setup selected for Proxmox learning can be underpowered and less expansive. While this setup is acceptable for very small environments and home usage, it will not be adequate for production-level setups where stability and redundancy is the minimum requirement.

Minimum hardware

Here are the minimum requirements to install Proxmox on a hardware node:

  • Processor: Intel or AMD 64-bit
  • Motherboard: Intel VT or AMD-V capable (not required for OpenVZ)
  • Memory: 1 GB RAM
  • Network Interface Card (NIC): 1

Based on the minimum requirement of Proxmox, here are examples of Intel and AMD-based hardware configurations that are suitable for learning:

Processor →

Requirement ↓

Intel

AMD

Processor/CPU

i3-4160 3.0 GHz

FX-4300 3.8 GHz

Motherboard

Asus B85M-D Plus 6 x SATA

Asus M5A78L-M/USB3 6 x SATA

Memory

Corsair 1 x 4 GB DDR3

Corsair 1 x 4 GB DDR3

Recommended hardware

To have a stable performing Proxmox cluster, here are the hardware configurations that are recommended:

  • An Intel or AMD 64-bit processor
  • An Intel VT or AMD-V capable Dual or Quad CPU motherboard
  • 16 GB RAM memory
  • Two Network Interface Card (NIC)
  • RAID controller with Battery Backup Unit (BBU)
  • Solid State Drives (SSD) for operating system or SSD for shared storage node
  • Fencing hardware only if HA is needed

    Note

    For more details on fencing and HA visit https://pve.proxmox.com/wiki/Fencing.

The following table lists the configurations of a server node that can be used in a production environment:

Requirement

Hardware

Processor/CPU

Intel Xeon E5-2630 v3 2.4 GHz

Motherboard

Intel S2600CP2 Dual LGA2011

Memory

Kingston 16 GB DDR3 Registered ECC

Power supply

Redundant

Note that the example configurations are for reference only. Your requirement will vary depending on the work load and expected performance. Adjust the hardware requirements accordingly by keeping in mind that in a hypervisor more core counts will increase performance of virtual machines rather than higher clock counts of a processor that is used. With a higher core count, more threads can be distributed among processors.

Tip

It is worth mentioning here that it is better to select a CPU with a higher cache amount for a node with large amount of memory to minimize the main memory access and maximize the performance for each CPU cores.

Proxmox is a clustered hypervisor. In order to set up a cluster, a minimum of two nodes are required. For the purpose of following through this book, when selecting hardware, be sure to have enough components to set up two nodes.

Note

For more details on Proxmox, please visit http://www.proxmox.com/.

Although a Proxmox cluster can be set up with just two nodes, a minimum of three nodes are recommended for a production environment.

Note

In a cluster, a quorum is established with a minimum of three votes. Each node is counted as single vote. The cluster health depends on this democratic system where the majority vote wins. So, in a two node cluster, when one node fails the other node can only cast one vote, creating an unresolved situation. With a three node cluster, when one node fails, the total vote from the remaining nodes is two out of possible three votes. Thus, the cluster operation continues. By any means, a two node cluster is not recommended for a production cluster. However, it is still possible to create using instructions by visiting https://pve.proxmox.com/wiki/Two-Node_High_Availability_Cluster.

Preparing for installation

Once the necessary hardware is assembled, in this recipe, we are going to see how to prepare ourselves before installing Proxmox.

Getting ready

We are going to use the Proxmox VE installation disk to install Proxmox. First, we need to prepare a disk with the Proxmox installation ISO image.

How to do it…

Here are the steps to install Proxmox:

  1. Download the Proxmox ISO image by visiting http://proxmox.com/downloads/category/iso-images-pve.
  2. Use a burning software to copy the ISO image on to a DVD disk.
  3. Boot the physical node from the disk prepared from ISO to start the installation process.

There's more…

Some nodes may not have a ROM drive available to install from a disk. In such cases, it is possible to install Proxmox by transferring an ISO image onto a USB flash drive. Note that in order to boot from USB media, your motherboard must support the USB boot option. Check from the motherboard BIOS before proceeding to the following steps. If the motherboard does not support USB boot option, it may not also support an external USB ROM Drive. In this case, the best way to proceed is to install an ROM drive in the computer or use a newer motherboard if possible. Here are the instructions to transfer an ISO image to a USB and use it as bootable drive:

Use the following steps to do this on Windows:

  1. Download the Proxmox ISO installation image from http://proxmox.com/downloads/category/iso-images-pve.
  2. Rename the file extension of the downloaded ISO from .iso to .raw.
  3. Download and install the USB image writing application from https://github.com/downloads/openSUSE/kiwi/ImageWriter.exe.

    Note

    In some Windows 7 versions, the preceding writer may not work. In such scenarios, download and install the ImageUSB from http://www.osforensics.com/tools/write-usb-images.html.

  4. Using the preceding applications, copy the ISO image onto a USB drive.
  5. Insert the USB media into the USB port of the physical node and boot from the USB media.

Use the following steps to do this on Linux:

  1. Download the Proxmox ISO installation image from http://proxmox.com/downloads/category/iso-images-pve.
  2. Insert the USB media into the USB port of the node and find out the device name of the drive using #fdisk. The name should be in the /dev/XXX format.
  3. Use the following command to copy the ISO onto USB media. Use extra caution when using a device name in the following command. The wrong device name will destroy all the data on the device:
    #dd if=<Proxmox ISO file> of=/dev/XXX bs=1M
    
  4. Reboot the node from the USB media to start the installation.

Installing Proxmox on a bare metal node

The Proxmox installation process is guided by a fully graphical interface through various prompts. In this recipe, we are going to follow through creating our first Proxmox node.

Getting ready

Power up and boot the physical node using the installation disk or the USB media we created in the preceding recipe. The following screenshot is how the screen looks after the boot:

Getting ready

How to do it…

  1. At the main installation window after the booting process press Enter to start the installation.
  2. On the End User License Agreement (EULA) screen click on Agree.
  3. In this step, we have chosen the drive to install the hypervisor on. From Proxmox VE 3.4, a new feature to change the filesystem has been added. After selecting Target Harddisk from the drop-down menu, select Options to open the Filesystem selection dialog box. The following screenshot shows the drive selection screen with the Filesystem dialog box open:
    How to do it…
  4. From the Filesystem drop-down menu, select the desired filesystem. Select the desired filesystem size in hdsize. In version 3.3, support for the ext3, ext4, and ZFS filesystems have been added. Add additional information, such as the swapsize, maxroot, minfree, and maxvz values as required or leave them blank to continue with default, then click on Next. The following table shows the functions of these four options. These values are usually alternatives to each other, meaning if values are entered for one of these options, values for other options are automatically calculated:

    Option

    Function

    swapsize

    This defines the size of a swap partition. There are complex formulas to calculate this value. However, it is generally left as the default value.

    maxroot

    This refers to the maximum size the root partition should be.

    minfree

    This refers to the minimum free space to allocate for a pve partition.

    maxvz

    This refers to the maximum space to allocate to locally store VMs. The default path for local VM storage is /var/lib/vz.

    The following screenshot shows the filesystem that is supported after clicking on the drop-down menu:

    How to do it…
  5. After selecting the drive for installation, we now have to select localization information, such as Country, Time Zone, and Keyboard Layout based on the desired language. Then, click on Next. The following screenshot displays the localization screen:
    How to do it…
  6. Type in and confirm the password for the root login. Then, enter an e-mail address where all the Proxmox cluster notifications will go to. Click on Next.
  7. In this step, we need to enter the hostname and network information, such as IP Address, Gateway, DNS Server, and so on. Enter the necessary information for your environment, then click on Next. The following screenshot shows the network information screen:
    How to do it…
  8. At this point, all the necessary information has been collected and the main installation has been started. After the installation is completed, eject the installation disk or the USB media, then click on Reboot.

There's more…

Follow steps 1 to 7 to set up the second node. A minimum of two nodes are required to form a Proxmox cluster. More information on cluster configurations is available in Chapter 3, Cluster and VM Management.

Installing Proxmox on a Debian system

Although installation of Proxmox on a native bare metal node is recommended, at times, it may be necessary to install Proxmox on an existing Debian node. In this recipe, we will see how to install the Proxmox VE on Debian. Note that Proxmox can only be installed on 64-bit hardware and a 64-bit operating system.

Getting ready

Install Debian from instructions from the official Debian site at http://www.debian.org. Prior to installing Proxmox on the Debian node, ensure that the hostname can be resolved. Check the hostname using the following command:

#nano /etc/hosts

It should have these entries:

127.0.0.1 localhost.localdomain localhost
172.16.0.71 pmx1.domain.com pmx1 pvelocalhost

If the entries are missing, type in the proper IP address associated with the hostname of the node. The pvelocalhost entry must be present at the end of the line.

How to do it...

Use the following steps to install Proxmox on a Debian system:

  1. Add the Proxmox VE repository in the source list as follows:
    #nano /etc/apt/sources.list
    deb http://ftp.ca.debian.org/debian wheezy main contrib
    
    #PVE repository for installation
    deb http://download.proxmox.com/debian wheezy pve
    
    #PVE security updates
    deb http://security.debian.org/ wheezy/updates main contrib
    

    Tip

    Due to a bug in the Debian OS, apt-get may display an error of not finding /binary-i386 with a Unable to find expected entry 'pve/binary-i386/packages' error message. The error may occur even though it is a 64-bit Debian installed operating system. In such cases, change the PVE repository entry to the following:

    deb [arch=amd64] http://download.proxmox.com/debian wheezy pve
    
  2. Add the Proxmox VE repository key using the following command:
    #wget –O-http://download.proxmox.com/debian/key.asc | apt-key add –
    
  3. Update the repository using the following command:
    #apt-get update
    
  4. Update the operating system using the following command:
    #apt-get dist-upgrade
    
  5. Install the Proxmox VE Kernel:
    #apt-get install pve-firmware pve-kernel-2.6.32-37-pve
    
  6. Install Kernel headers:
    #apt-get install pve-header-2.6.32-37-pve
    
  7. Be sure to select the Proxmox VE Kernel on the boot loader grub2.
  8. Reboot the node to activate the new Proxmox VE Kernel.
  9. Verify the running kernel to ensure that the proper Proxmox VE Kernel is loaded:
    #uname –a
    
  10. Check the grub2 config using following command:
    #update-grub
    
  11. Install the Proxmox VE packages:
    #apt-get install Proxmox-ve-2.6.32 ntp ssh lvm2 postfix ksm- control-daemon vzprocps open-iscsi bootlogd
    
  12. During installation, accept suggestions to remove Exim and set up Postfix. Exim can be installed later if required.
  13. Reboot the node after the Proxmox VE installation is done.

There's more…

Follow steps 1 to 13 to set up a second node. A minimum of two nodes are required to form a Proxmox cluster. We will take a good look at the Proxmox GUI in Chapter 2, Getting to know the Proxmox GUI.

A Proxmox subscription

The Proxmox VE itself is free. There are absolutely no costs involved in simply downloading the ISO image and installing a fully-functional Proxmox cluster without paying for a license or subscription. However, there is a Proxmox subscription option available to support the project, which enables enterprise repository. There are no feature differences between the Free and Subscription versions of Proxmox. Both are exactly the same. The difference is between the type of releases, updates, and patches they receive.

Tip

Packages from the enterprise repository go through an extra layer of scrutiny and testing. Thus, a subscription is recommended for a production-level Proxmox VE.

This not to be confused with the fact that a Proxmox cluster is built with no subscription and is not stable enough to use. New packages are usually released through a no-subscription repository first. Same packages are pushed through the Enterprise repository at a later time. This delay allows the Proxmox team to pin point and fix any lingering bugs or defects in the package. In a cluster running mission critical virtual machines may face unacceptable downtime due to the bug, which will not affect a smaller environment that is able to sustain downtime.

There are four levels of subscription at various price points, such as COMMUNITY, BASIC, STANDARD, and PREMIUM. For more information on the Proxmox subscription, visit https://www.proxmox.com/proxmox-ve/pricing.

Disabling a Proxmox subscription

A fresh installation of the Proxmox VE without subscriptions will display a message upon login to Proxmox GUI, as shown in the following screenshot:

Disabling a Proxmox subscription

This is because an enterprise repository is enabled by default. If you decide not to get any Proxmox subscriptions and continue using the fully Free version, you will have to disable the enterprise repository.

Getting ready

Login to the Proxmox node through a console or SSH. An enterprise repository can only be disabled through CLI.

How to do it…

The enterprise repository is listed in /etc/apt/sources.list.d/pve-enterprise.list. We have to comment out the line to disable the repository:

# nano /etc/apt/sources.list.d/pve-enterprise.list
#deb https://enterprise.proxmox.com/debian wheezy pve-enterprise

Add the Proxmox No-Subscription repository as follows:

# nano /etc/apt/sources.list
deb http://download.proxmox.com/debian wheezy pve-no-subscription

How it works…

No restart of services or reboot is required to apply the changes. Log out from the Proxmox GUI and log back in to see if the changes were applied correctly. The "no subscription" message box should not pop-up after login. Subscriptions can be managed from the Proxmox GUI under the Subscription tab. Here is a screenshot of a nonsubscribed Proxmox node:

How it works…

Applying a Proxmox subscription

If you choose to get a Proxmox subscription of any type, a subscription key must be uploaded into the Proxmox node to activate it. The subscription key is sent by e-mail after successful payment. The key can be uploaded through the Proxmox GUI.

Getting ready

Login to the Proxmox GUI by accessing the link through a browser and enter the admin login credentials. The default username is root and the password is the same as was entered during installation: https://<pmx_node_IP>:8006.

How to do it…

  1. After logging into the Proxmox GUI, click on the node that the subscription is going to be applied to.
  2. Click on the Subscription tab.
  3. Click on the Upload Subscription Key button to open the key dialog box, as shown in the following screenshot:
    How to do it…
  4. Copy/paste the subscription key from the e-mail received from Proxmox in the key box, then click on Ok.
  5. Click on Check. At this moment, the key will be verified with Proxmox to check the validity. After the activation is completed, it should look like the following screenshot:
    How to do it…

There's more…

If a wrong subscription key has been entered, then the display should resemble the following screenshot:

There's more…

In such cases, simply upload the correct key to activate again. You may also see the key invalid notice when the key has already been activated for another node, which is no longer in service. In such cases, contact Proxmox or other third-party license providers that the license was purchased from to request reissuing of the same license. Then, simply click on the Check button to reactivate the key. Each key is hard coded to each server ID. The key needs to be reissued by Proxmox in order to use it.

Tip

Please keep in mind that once a key is reissued, it will no longer work on the previous node it was activated for. If you have asked for reissue a license by mistake, request to reissue again and click on the Check button on the previous node.

Setting up a Proxmox package repository

The Proxmox VE offers three main repositories:

Repository

Subscription

Usage

Enterprise

Required

This is primarily used in the production of the Proxmox node. Packages in this repository go through additional scrutiny, bug fixes, and testing.

No-Subscription

Not required

This is used in learning, training, and home Proxmox cluster nodes. Packages in this repository go through initial bug fixes and are stable enough to be referred as the final release.

Test

Not required

This is used for the testing and development of Proxmox only. Packages in this repository are usually the very latest and are still going through final phases of the release cycle, such as beta testing and release candidate. Packages in this repository may contain a number of bugs and issues. Users of this repository are encouraged to share bug reports with developers.

The location and content of the Enterprise Repository source file is as follows:

#cat /etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian wheezy pve-enterprise

The location and content of the No-Subscription Repository source file is as follows:

#cat /etc/apt/sources.list
deb http://ftp.ca.debian.org/debian wheezy main contrib
deb http://download.proxmox.com/debian wheezy pve-no-subscription
deb http://security.debian.org / wheezy/updates main contrib

Proxmox offers a Test Repository to allow users to try out new features or packages. As the name implies, the Test Repository should only be used for testing. All the new features of Proxmox are released in the Test Repository before they are available for the No-Subscription and Enterprise repositories. Packages in the Test Repository are not well-tested and may contain bugs. For this reason, the repository should never be used in a production-level cluster. The Test Repository is not enabled by default.

Getting ready

Log in to the Proxmox node through a console or SSH. The repository source file needs to be edited through CLI to enable the Test Repository.

How to do it…

Use the following steps to set up the Proxmox package repository:

  1. Open the repository source file using any favorite text editor:
    #nano /etc/apt/sources.list
    
  2. Make the necessary changes to make the entries look similar to the following:
    deb http://ftp.debian.org/debian wheezy main contrib
    deb http://download.proxmox.com/debian wheezy pvetest
    deb http://security .debian.org/ wheezy/updates main contrib
    
  3. Save the file and exit the editor.
  4. Run the following command to update the repositories:
    #apt-get update
    

How it works…

Usually, the announcement of the availability of a new package is made on the official Proxmox forum (http://forum.proxmox.com). The name of the package or the version information is included in the announcement. If you want to find information on a package, simply ask for it on the forum. Once you have the information, simply run the apt-get command to install it through CLI:

#apt-get install <package_name>

There's more…

Besides Enterprise, No-Subscription, and Test repositories there are two repositories that are outdated and are no longer supported or updated:

  • Outdated stable repository (pve): This repository has stopped receiving updates after the initial release of Proxmox VE 3.1:
    /etc/apt/sources.list
    deb http://ftp.debian.org/debian wheezy main contrib
    deb http://download.proxmox.com/debian wheezy pve
    deb http://security .debian.org/ wheezy/updates main contrib
    

    If you're upgrading from Proxmox VE 2.x to 3.x, the second entry in /etc/apt/sources.list needs to be changed from wheezy pve to wheezy pve-no-subscription.

  • Outdated Proxmox VE 2.x stable repository (squeeze pve): In order to have a stable Proxmox node, it is highly recommended to upgrade and update to the latest stable release of the Proxmox VE.
    /etc/apt/sources.list
    deb http://ftp.debian.org/debian squeeze main contrib
    deb http://download.proxmox.com/debian squeeze pve
    deb http://security.debian.org/ squeeze/updates main contrib
    

Seeking support

As mentioned in the beginning of this chapter, Proxmox has a vibrant community of users ready to provide help to anybody in need. There are several ways that a new Proxmox user can seek help and support to learn and extend knowledge of the Proxmox VE:

Help and support

Free/subscription

Forum

Free

Wiki/Documentation

Free

Customer portal and tickets

Requires subscription

Proxmox Mailing list

Free

Proxmox Bug tracker

Free

The forum

The official forum of Proxmox is a gathering place for newbies or experts alike to receive or provide help from the Proxmox community. It is also a vast information resource of past issues and solutions to many problems. A few of the Proxmox staff also spend a significant amount of time in this forum to offer help outside their job responsibilities. There is an array of Proxmox experts willing to help out without expecting anything in return. This is the only place for Free and Community-level subscriptions for Proxmox users to seek support. Visit http://forum.proxmox.com to access the official Proxmox forum.

Wiki/Documentation

The Proxmox Wiki site contains a wealth of information on installation, configuration, and the management of Proxmox clusters. All documentation is written in a very easy to understand form with as many illustrations as possible. The use of the Proxmox Wiki page is completely free and requires no registration. Visit https://pve.proxmox.com/wiki/Main_Page for the official Proxmox documentation.

Customer portals and tickets

A customer portal is only available for basic, standard, and premium subscription-level users. Supports tickets must be opened through a customer portal by visiting https://my.proxmox.com/ to receive technical support directly from the Proxmox staff.

Depending on the subscription level, a number of tickets that can be opened varies. Responses are guaranteed within one business day. See the different support levels for subscriptions by visiting https://www.proxmox.com/proxmox-ve/pricing.

Proxmox mailing lists

There are two different mailing lists available from Proxmox:

The Proxmox bug tracker

The Proxmox bug tracker is available to submit and review any bugs found in Proxmox during day-to day-use (https://bugzilla.proxmox.com/). It can also be used to submit new feature requests. Not all features get added to Proxmox, but developers of Proxmox are very forward thinking and apply time appropriate and main stream features to make the Proxmox VE even better.

Tip

The Proxmox bug tracker is NOT to be used to ask technical questions or to seek any sort of support.

Left arrow icon Right arrow icon

Key benefits

  • Learn the process of installing, configuring, and managing Proxmox clusters
  • Explore ways of integrating various storage systems with Proxmox
  • Step-by-step and easy-to-learn instructions to build virtual environments of any size using Proxmox

Description

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.

Who is this book for?

This book is perfect for system administrators who want to learn to implement and administer Proxmox VE environments. Since this book will not cover the basics of Proxmox, a basic understanding of virtualization and networking with Proxmox VE is required.

What you will learn

  • Install and configure an enterprise grade, cluster-based virtual environment using Proxmox
  • Manage a cluster with Graphical User Interface using datacenter, node, KVM, and OpenVZ menus among others
  • Learn different ways of configuring your network and clusters to create complex cloud services
  • Configure and manage the built-in Proxmox firewall to protect your virtual environment
  • Integrate storage systems such as Ceph, Sheepdog, and ZFS for virtual machine management to suit your business needs
  • Backup and restore your data via stop suspend, and snapshot modes
  • Upgrade a Proxmox node with new releases and apply update patches through GUI or CLI
  • Monitor the resources and virtual machines to maintain performance and uptime
  • Explore commands used for Proxmox and Ceph cluster through CLI
Estimated delivery fee Deliver to Estonia

Premium delivery 7 - 10 business days

€25.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 28, 2015
Length: 318 pages
Edition : 1st
Language : English
ISBN-13 : 9781783980901
Vendor :
Proxmox
Tools :

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Estonia

Premium delivery 7 - 10 business days

€25.95
(Includes tracking information)

Product Details

Publication date : Aug 28, 2015
Length: 318 pages
Edition : 1st
Language : English
ISBN-13 : 9781783980901
Vendor :
Proxmox
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 115.97
Proxmox Cookbook
€41.99
Proxmox High Availability
€36.99
Learning Proxmox VE
€36.99
Total 115.97 Stars icon

Table of Contents

12 Chapters
1. Installing Proxmox Chevron down icon Chevron up icon
2. Getting to Know the Proxmox GUI Chevron down icon Chevron up icon
3. Cluster and VM Management Chevron down icon Chevron up icon
4. Network Configurations Chevron down icon Chevron up icon
5. Firewall Configurations Chevron down icon Chevron up icon
6. Storage Configurations Chevron down icon Chevron up icon
7. Backup and Restore Chevron down icon Chevron up icon
8. Updating and Upgrading Proxmox Chevron down icon Chevron up icon
9. Monitoring Proxmox Chevron down icon Chevron up icon
10. Advanced Configurations for VMs Chevron down icon Chevron up icon
11. The CLI Command Reference Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(7 Ratings)
5 star 57.1%
4 star 14.3%
3 star 14.3%
2 star 0%
1 star 14.3%
Filter icon Filter
Top Reviews

Filter reviews by




Jeronimo R. Feb 04, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Thank Uncle Wasim :-)
Amazon Verified review Amazon
donmay Sep 10, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Before this book came out i had been anticipating it for long,,,And it definately lived up to my expectations...The approach taken towards understanding proxmox especially the newly built in firewall interface for each vm was very much appreciated...Thank you very much
Amazon Verified review Amazon
Woody Aug 05, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book came along for me after I had already jumped into the Proxmox scene. This book helped fill in the detail gaps like mortar with bricks.I love the examples and plan to start building more right away!
Amazon Verified review Amazon
Client Amazon Sep 14, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I bought this book after managing 2 Proxmox host for about 2 years. So far I was able to find out what I needed in the Proxmox forum. But I realized that it was less and less efficient. So I was looking for a good reference where I could find answers quickly. I was attracted by the sub title: Quick answers to common problems.As a summary I warmly recommend the book especially for 2 topics that are really well described: Network and Storage.The first chapters are ok for a reference but I have to admit that they were not very useful for me.Then comes the Network chapter. What is well done there is that the simple cases are addressed first but also more complex cases are well covered, very applicable and were very inspiring for my case. Diagrams are particularly clear and explicit.The storage chapter share the same qualities. For me the storage model of Proxmox, its flexibility and diversity, its management through a rich GUI is a quite unique strength. I had already read a lot on it. Here it is synthesized with the right level of abstraction. It was very useful for me to architect the right solution for my future setup.Finally some very good points in the last chapters like for instance the recommendation for update and upgrade that is one of the most stressful moment for an admin.Now some points that I would personally change:NFS with ZFS: adding a nice drawing (a la networking drawings) would be a real plusAbout FreeNAS, I would not encourage to talk about a VM install even only to learn, this is a real bad setup and could lead to real losses.About Firewall also I would not recommend to use the Proxmox one. With no custom macro, it could lead some people for instance to stay on port 22 for ssh which is not a good thing at all.And a very detail but that would be very helpful for people doing cut and paste of the shell commands from the book to a terminal: remove the starting # so we can select the full line very fast and paste, especially sometime there is no spacing with the first useful symbol.
Amazon Verified review Amazon
bkrateku Jun 21, 2016
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I need to get back and dive into this further, but it did get me out of some binds early on, which really helped. If you don't know anything about Proxmox, this appears to be a good one to have.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the digital copy I get with my Print order? Chevron down icon Chevron up icon

When you buy any Print edition of our Books, you can redeem (for free) the eBook edition of the Print Book you’ve purchased. This gives you instant access to your book when you make an order via PDF, EPUB or our online Reader experience.

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela