Book Image

Proxmox High Availability

By : CHENG MAN
Book Image

Proxmox High Availability

By: CHENG MAN

Overview of this book

Table of Contents (15 chapters)
Proxmox High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Live migration of a physical machine to a KVM


Such a migration will only work for a Linux platform. Let's check how we can convert our Linux platform to a virtualized one.

Preparing for migration on the source machine

Make sure that logging in from the root account is allowed via SSH on the physical server (as the data source) and vmsrv01, just as we did while migrating the system from a physical machine to an OpenVZ container. To make it simpler, I will create a folder named /backup to store the backup files. Make sure that you have enough disk space to place a backup of your boot partition. The following steps will guide you through the process of migration:

  1. Create a backup folder in both the physical machine and vmsrv01:

    mkdir /backup
    
  2. Check the partition name used by Linux to boot up the system from the source machine using the following command:

    [root@source]# fdisk –l
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    ...
    Device   Boot      Start       End     Blocks   Id  System
    /dev/sda1   *...