IT Operations.com

physical to virtual (P2V)

By Ben Lutkevich

What is physical to virtual (P2V)?

Physical to virtual (P2V), also called hardware virtualization, refers to the migration of physical machines to virtual machines (VMs).

Developers using a P2V approach transfer their physical environment into a digital one. By doing this, they use less hardware and physical space, and reap the benefits of VMs, including more flexibility because VMs can run on multiple platforms. P2V is commonly used for server virtualization. It is also popular as a way for Mac users to run Windows applications.

Data migrated in P2V includes an operating system (OS), applications, programs and data from a computer's main hard drive. It's moved to a VM or a disk partition. Tools such as Micro Focus' PlateSpin> Migrate and Microsoft's vContinuum save the data gathered from the physical machine as an image, which a hypervisor reinstalls on a VM. The result is a VM with the same data, applications and system configurations as the physical server being virtualized.

How physical to virtual works

Before initiating P2V, IT admins must assess how many resources their physical system uses to determine how many resources a new VM will consume. This is necessary to ensure the host VM has the resources needed to host the virtualized platform.

Performance monitoring tools such as Nagios and Zabbix can be used to determine resource consumption. Information about a server, such as memory, disk space and processor load, provides insight into its resource consumption and what that would look like in a VM.

A P2V tool saves a physical machine's state as an image. Data that composes a physical server or system is electronically copied in the same way that a Docker container creates an image to save data. A hypervisor installs the image in the specified storage space. A person or hypervisor can then determine the location of each required resource.

A virtual infrastructure can't always emulate legacy hardware. For instance, none of the major virtualization platforms support 16-bit guest OSes. As a result, performing a P2V migration with a DOS-based accounting package running on 16-bit hardware isn't an option.

Manual vs. automated P2V

P2V migration can be manual, automated or semiautomated. Here's how each of those approaches works:

Manual

P2V involves creating or defining a virtual environment and then reinstalling the OS, applications and data on it. This can be a tedious, uncertain process, especially if the new environment contains substantially different hardware than the old environment.

Semiautomated

A semiautomated P2V tool assists with only certain phases of migration, as opposed to automating the full migration. For example, the VMware vCenter Converter is a centralized management utility that can convert both Windows- and Linux-based physical machines and support numerous image formats. It features a centralized management console and can convert both local and remote machines. Local installation enables a user to migrate local machines to a VM, while remote installation lets a user migrate a system remotely via a client system. It is semiautomated because the user still intervenes manually to move the physical server to the virtual environment in some phases, such as moving specific applications to a virtual server.

VMware vCenter Converter can also perform hot and cold migrations. It's helpful to understand the differences between the two. A hot migration occurs when the system being migrated is in a running state; a cold migration is when the system is offline. Some physical machines, such as Active Directory controllers, aren't recommended for a hot migration. Cold migrations are recommended for systems that update regularly, such as SQL servers. VCenter Converter will convert various types of machines, including physical ones and Hyper-V VMs. However, VMs that vCenter Converter creates will only support other VMware software as a destination.

Automated

P2V uses specialized programs called migration tools. This approach is much faster than manually rebuilding the contents of a physical system in a VM. Fully automated P2V tools migrate a physical machine to a VM without user assistance. The image is then customized if necessary.

PlateSpin Migrate is a fully automated P2V tool that automatically discovers Windows and Linux machines. If installed on a Windows server and on the same domain as other Windows servers, it adds those machines to workgroups, and captures and deploys server images. It also can perform multiple scheduled and manual migrations. And it supports other migration types, such as migrating VMs through different virtualization formats and migrating systems and data from VMs to physical machines.

P2V benefits

P2V migration has many advantages, including the following:

P2V challenges

P2V methodologies do come with challenges, such as the following ones:

P2V use cases

A business might implement P2V for a variety of reasons such as the following:

P2V conversion tools

P2V conversion tools include the following:

Once an organization abstracts software from the physical hardware, it can choose from multiple hypervisor types. Learn the difference between hosted and bare-metal virtualization and how to choose between them.

21 Jan 2022

All Rights Reserved, Copyright 2016 - 2024, TechTarget | Read our Privacy Statement