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

Migrating a virtual machine


Migration is one of the commonly performed tasks in a clustered environment, where a VM may be moved to a different node in the cluster due to various reasons. Here are some of the possible scenarios where VM migration may be necessary:

  • Physical node failure

  • A node requiring reboot after applying updates or hardware maintenance

  • Moving a VM from a low-performing to a high-performing node

Getting ready

A VM can be migrated through both the Proxmox GUI or CLI with or without powering down the VM. First, we are going to see how to migrate using a GUI, and later we will see the CLI steps of VM migration.

How to do it…

This recipe is to show VM migration using the Proxmox GUI. Let's take a look at the following steps:

  1. Log in to the Proxmox GUI.

  2. Select the VM to be migrated. Then, click on the Migrate button, as shown in the following screenshot:

    Clicking on the Migrate button opens a migration dialog box, as shown in the following screenshot:

  3. Select a destination node where the...