Book Image

Proxmox Cookbook

By : Wasim Ahmed, Ravi K Jangid
Book Image

Proxmox Cookbook

By: Wasim Ahmed, Ravi K Jangid

Overview of this book

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.
Table of Contents (18 chapters)
Proxmox Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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.