Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Virtualization / VMWare / Using VMware Converter for P2V Migration (Physical to Virtual)

October 19, 2022 VMWare

Using VMware Converter for P2V Migration (Physical to Virtual)

VMware vCenter Converter Standalone is a free tool from VMware that allows you to convert (migrate) a physical server (computer) to a virtual machine (P2V, Physical-to–Virtual) or move a VM from one virtualization software (hypervisor) to another (V2V, Virtual-to–Virtual). With vCenter Converter, you can convert computers running Windows and Linux. In this article, we will look at how to migrate a physical server to a VMware vCenter environment using vCenter Converter.

Contents:
  • Converting a Physical Machine into a VMware Virtual Machine (P2V)
  • VMware Converter: Synchronize changes when performing P2V or V2V Conversion

Recently, the latest release was VMware Converter Standalone 6.2, released in 2018. In February 2022, VMware removed this version of Converter from the list of available downloads on its website (significant vulnerabilities were found in previous versions) and promised to release a new version a little later. At the same time, no alternative for performing P2V conversions was offered.

And finally, on October 11, 2022, the new version of vCenter Converter 6.3 became available for download. This version supports the new Windows Server 2019/2022 and Windows 11. However, older versions prior to Windows Server 2012, RHEL/CentOS 6, and Ubuntu 14 are no longer supported.

You can download the latest version of Converter here (registration required): https://www.vmware.com/products/converter.html

download new vmware vcenter-converter standalone

Let’s take a look at how to online migrate a physical Windows Server host to a VMware virtual machine with almost no downtime.

Converting a Physical Machine into a VMware Virtual Machine (P2V)

  1. Download and install vCenter Converter on any Windows computer;
  2. Two installation modes are available:
    Local installation – installs all the necessary components for managing conversion tasks on the local computer (we use this mode) and Client-Server installation — allows you to separately install a server, client, or agent on a computer; install vcenter converter on windows
  3. Create a new conversion task: File-> New-> Convert machine.
  4. Choose that you want to convert Windows machine remotely (Powered on -> Remote Windows machine). Specify the FQDN or IP address of the remote computer, and administrator credentials;
    VMware Converter also allows you to convert a virtual machine that is located on Hyper-V Server, VMware Workstation/Player, or VMware vSphere (including the free VMware vSphere Hypervisor). convert virtual machine v2v[alert]
  1. If you are converting a remote computer that has a firewall enabled, you need to open a number of ports. On Windows, you need to open the followingimbound TCP ports: 139,445,9089 and UDP:137,138. You can open ports in Windows Defender Firewall via GPO or with these PowerShell commands
    New-NetFirewallRule -DisplayName "VMConverterAgent" -Direction Inbound -Protocol TCP -LocalPort 9089 -Action Allow  | Enable-NetFirewallRule
  2. vCenter Converter will connect to the remote computer and try to install the VMware vCenter Converter Standalone Agent service (vmware-converter-agent); deploy vcenter converter agent remotelyvmware-converter-agent service[alert type='warning'] In my case when installing the converter agent remotely an error appeared:
    Error 1603: A fatal error occurred during installation.
    Unable to complete Converter agent installation on '192.168.13.20'. Error code: 1,603.

    First, I had to use PowerShell to uninstall the program on the Windows host:

    Get-Package -Name "VMware vCenter Converter*" | Uninstall-Package
    And then manually install the agent from the vCenter Converter distribution (Custom Setup -> Converter agent).install converter agent manually

  • VMware Converter connects to the specified server and installs VMware vCenter Converter Standalone Agent (vmware-converter-agent) on it;
  • Then you will be prompted to specify the name of the ESXi server (or vCenter server), on which the virtual machine will be created, and the credentials to connect;vcenter conneciton credentials
  • Select the datacenter, cluster, ESXi host, and VMFS datastore name where you want to place the new virtual machine. Select VM hardware version;select vmfs datastore and vm hardware version
  • Then you will need to select the disks of the target system to be copied, RAM and vCPU settings, etc.
  • VMware Converter: Synchronize changes when performing P2V or V2V Conversion

    VMware Converter allows to synchronize changes between the source computer and the target virtual machine located on the ESXi host. This feature allows you to virtualize a physical server with a large amount of data on physical disks in several stages with minimal downtime.

    We are going to convert the physical server to a VM in two steps. At the first stage, the Converter copies data from the source computer to the target VM, while the source server is running and the data on it can be changed by users. In the second (final) stage, the synchronization of changes that have occurred since the initial data copying is performed.

    The change synchronization feature allows you to reduce the downtime of the application/service during P2V/V2V conversion since the end application only needs to be turned off while the final changes are being transferred.

    1. Check the Synchronize change option in the Advanced section. Select when the next sync will be performed. Be sure to uncheck (!!!) the Perform final synchronization item;vcenter convertor: synchronize changes
    2. On the Post-Conversion tab, select the actions to be performed after the final synchronization. We want to automatically turn on the created VM (Power on destination machine), turn off the source server (Power off source machine), install VMTools, etc;Post conversion tasks
    3.  It remains to start the initial phase of P2V conversion and wait for it to finish.
      Note. In this case, the conversion of the physical file server with 700 GB of data took about 15 hours.
    4. After the initial conversion is completed, you can manually perform the final synchronization. To do it, select your task in VMware Converter and then click Synchronize in the context menu; Synchronize changes in source with VM
      Note: VMware Converter installs a special “bitmap driver” (bmdrvr service), which tracks changes in the source system since the last synchronization.
    5. In the wizard window, select the synchronization to be run immediately, and run the final synchronization after it is over. To prevent users from modifying files on the source server during the final synchronization, you can temporarily stop the main service in the VM (for example, a file server or an application server);Perform final synchronization
    6. The final synchronization took about an hour, during which the changes on the source machine were replicated to the VM. After that, the old server was automatically shut down, and the new VM  turned on;sync running
    7. You only have to perform the final configuration of the VM (remove hidden network interfaces, remove old device drivers, configure new network adapters, and assign IP addresses, and the virtual machine is ready to go.

    During the synchronization of changes, the vSphere server will create some snapshots on the target machine, which allow to roll back to any stage of synchronization if necessary (in this case the logic of VMware Converter will be broken).

    0 comment
    3
    Facebook Twitter Google + Pinterest
    previous post
    How to Add/Remove Drivers to a Windows WIM/ISO Install Image
    next post
    Configure Auto-Reply (Out of Office) Message in Exchange and Microsoft 365

    Related Reading

    Reset Root Password in VMware ESXi

    October 12, 2023

    How to Fix ‘An Operating System Wasn’t Found’...

    July 14, 2023

    Unmounting an NFS Datastore from VMware ESXi

    April 21, 2023

    How to Increase Virtual Machine Disk Size in...

    April 6, 2023

    How to Install Free VMware Hypervisor (ESXi)

    January 24, 2023

    Leave a Comment Cancel Reply

    Categories

    • Active Directory
    • Group Policies
    • Exchange Server
    • Microsoft 365
    • Azure
    • Windows 11
    • Windows 10
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • PowerShell
    • VMWare
    • Hyper-V
    • Linux
    • MS Office

    Recent Posts

    • How to Connect VPN Before Windows Logon

      November 14, 2023
    • Removing Azure Arc Setup Feature on Windows Server 2022

      November 9, 2023
    • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

      November 7, 2023
    • Send Emails with Microsoft Graph API and PowerShell

      November 6, 2023
    • Zabbix: How to Get Data from PowerShell Scripts

      October 27, 2023
    • Tracking Printer Usage with Windows Event Viewer Logs

      October 19, 2023
    • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

      October 15, 2023
    • Reset Root Password in VMware ESXi

      October 12, 2023
    • How to Query and Change Teams User Presence Status with PowerShell

      October 8, 2023
    • How to Increase Size of Disk Partition in Ubuntu

      October 5, 2023

    Follow us

    • Facebook
    • Twitter
    • Telegram
    Popular Posts
    • Adding Drivers into VMWare ESXi Installation Image
    • How to Fix ‘An Operating System Wasn’t Found’ Error on Windows
    • Shrinking VMDK Virtual Disk Size on VMWare ESXi
    • How to Access VMFS Datastore from Linux, Windows, or ESXi
    • Recovering a Deleted VMFS Datastore on VMware ESXi/vSphere
    • Updating Windows VM Templates on VMWare with PowerShell
    • Using iPerf to Test Network Speed and Bandwidth
    Footer Logo

    @2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


    Back To Top