Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Converting a physical server to a VMware VM with vCenter Converter Standalone: what breaks at first start

Technical article
VMware

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

vCenter Converter Standalone 9.0 can copy a running physical Windows or Linux server into a new virtual machine on an ESX host, and it leaves the source machine in place. The first start of the copy is where a changed disk controller and network adapter, firmware and partition limits, services that kept writing during the copy, and Linux boot loader limits show up. This guide covers what Broadcom's Converter pages say the tool does, the checks to make on the source first, a conversion in careful steps, and a table of what to look for at first start.

What the tool converts and what it does not

The Converter pages for version 9.0 state these points:

  • Where it runs. "You can install Converter Standalone components only on Windows operating systems."
  • What it takes as a source. Remote Windows and Linux physical machines, local Windows physical machines, powered-on VMware, Hyper-V, Amazon EC2, Red Hat KVM and Nutanix AHV machines. Windows sources: Windows Server 2012 to 2022, Windows 10 and Windows 11. Linux sources: CentOS 7.x, Red Hat Enterprise Linux 7.x, 8.x and 9.x, and Ubuntu 14.04, 16.04, 18.04, 20.04 and 22.04 LTS.
  • How a Windows source is copied. The agent is installed on the source, takes a snapshot of the source volumes and copies them to the destination. The agent then installs the drivers the operating system needs to start in a VM and personalises the VM, changing the IP information for example.
  • How a Linux source is copied. No agent. A helper VM is created on the destination ESX host, boots from an image on the Converter server and copies the data from the source over SSH. Linux sources go only to managed destinations, which are ESX hosts.
  • Firmware and partitions are preserved, not changed. "You cannot convert BIOS sources to UEFI destinations and the reverse", and an MBR source disk cannot become a GPT destination disk. GPT and MBR hybrid disks are not supported, and neither are 4K native (4Kn) disk drives: only 512-byte sectors.
  • Windows UEFI. The tool does not copy UEFI variables to the destination for powered-on Windows machines. Windows 11 is listed for UEFI only.
  • Linux limits. Powered-on Linux conversion needs the GRUB boot loader. LILO, LOADLIN and software that alters the GRUB configuration or boot process, such as Trusted Boot, are not supported. For UEFI sources only the current UEFI boot entry is copied. The Limitations page says: "Installing VMware Tools on Linux guest operating systems is not supported." The supported-systems page says: "You cannot reconfigure Linux distributions." Volumes formatted ext4 on Ubuntu 14.04 become ext3 on the destination.

Before you convert

These checks only read. Save their output with the change record.

On a Windows source:

ipconfig /all
Get-Service
Get-Disk | Format-List *

The ipconfig page describes /all as displaying the full TCP/IP configuration for all adapters. Get-Disk returns the physical disks; Microsoft's page lists no property names, so read the full property list for the partition style and the sector sizes. Compare them with the limits above: MBR or GPT, 512-byte sectors, no hybrid disk. Microsoft's page says dynamic disks "will not be returned by Get-Disk", so a dynamic disk on the source does not appear in this output.

On a Linux source:

cat /etc/os-release
lsblk -f
ip address show

os-release names the distribution and version, which must be on the supported list. lsblk -f lists the file systems, and the Converter pages list the ext4 on Ubuntu 14.04 limit. The firmware type, BIOS or UEFI, is read from the server's firmware setup or management console.

For a Windows source, Broadcom's preparation page lists what must be true before the job: no firewall application blocking it, simple file sharing off, anti-virus stopped or deactivated, User Account Control off or the local administrator account used, Remote UAC off on Windows 8 and later, and no other conversion job using the source. Changing these on the source is set out as its own step at the start of Convert, with a save, a warning and an undo.

Convert

The destination in these steps is an ESX host managed by vCenter. NetLeverage runs VMware vCenter, vSphere and ESXi.

Prepare a Windows source

First save the current state. Write the network, service and disk settings to files in a folder on the source, then copy the files to another machine. Also write down in settings-before.txt the current state of each setting you will change: firewall application, simple file sharing, anti-virus, User Account Control and Remote UAC.

ipconfig /all > ipconfig-before.txt
Get-Service > services-before.txt
Get-Disk | Format-List * > disk-before.txt

On Linux, save ip address show and lsblk -f in the same way, to files copied to another machine.

Risk: the next step lowers the protection of the source. With the firewall application, anti-virus and User Account Control relaxed, the machine is more exposed while the job runs, and it stays so until you restore each setting.

Make the source meet the preparation page's list above, changing only the items that are not already as listed.

To undo it: after the job, restore every setting from settings-before.txt, one by one, and check each against the record.

Run the job

Disruptive step: the Converter job puts load on the live source while it copies, installs an agent on a Windows source, and, if you select the options, stops chosen services on the source before the final synchronisation and powers the source off at the end. Do not select Power off source until the copy has passed the checks below.

In the Conversion wizard:

  1. On the Source System page, select Powered on, then Remote Windows machine or Remote Linux machine. For Windows, give the address and administrator credentials; the agent port is 9089 unless you changed it. For Linux, enable SSH and use the root account, or an account with sudo that needs no password prompt.
  2. For a Windows source, confirm the agent installation and choose how the agent is uninstalled afterwards.
  3. On the Destination System page, choose the ESX host.
  4. In Options, Devices, Other tab, leave the disk controller at the recommended type or choose one. The page lists SCSI BusLogic, IDE, LSI Logic, LSI Logic SAS, Paravirtual, SATA and NVMe, and says Preserve source is not available for powered-on Linux sources.
  5. In Options, Networks, set the number of adapters and the network for each. The page lists a Connect at power-on check box; leave it cleared for the first start.
  6. In Advanced options, Post-conversion, choose Install VMware Tools on the destination for a Windows source, and leave Power on destination and Power off source cleared.
  7. If the source keeps writing during the copy, use the Services pane to stop services before synchronisation, and the Synchronize tab for a final synchronisation. The page warns that services left running can generate changes during the final synchronisation, and that this might lead to data loss. For a Linux source, the Synchronize page says rsync must be installed on the source; the Limitations page lists synchronisation under Windows, so check the pages for your release.
  8. Check the Summary page and submit the job.

To back out: restore every setting you changed on the source from settings-before.txt. The source is not otherwise changed except for the agent and any services you chose to stop. If the agent was not uninstalled automatically, remove "VMware vCenter Converter Standalone Agent" in Add or Remove Programs on the source. Start any service that services-before.txt shows was running and is now stopped. Leave the new VM powered off and unused until the copy passes the checks below or is withdrawn.

What breaks at first start and how to tell

First write down that the new VM is powered off and that its network adapter is set not to connect at power-on.

Risk: the next step powers on the copy. If its adapter were connected, it would answer with the source's name and address while the source is still running.

Power on the new VM with its network adapter not connected, and look at the console.

To undo it: power the new VM off, and leave it unused until the checks pass.

Cause What you see How to confirm
New virtual network adapter The static IP address is missing, or DHCP is used ipconfig /all or ip address show on the copy, compared with the saved files; "Static IP Lost After a VM Restore or Virtual NIC Change" covers it
Firmware not preserved in detail The Converter pages say UEFI variables are not copied for powered-on Windows machines, and that for Linux UEFI sources only the current UEFI boot entry is copied The VM's firmware type matches the source; boot entries are checked from the firmware menu
Linux source with a boot loader other than GRUB The copy does not boot Conversion limits above; the boot loader on the source
Source disk type outside the limits The page lists these as not supported The source has a hybrid GPT and MBR disk, or 4Kn sectors
Data changed during the copy The copy lacks the latest data Synchronisation was not run, or services were not stopped before the final one
VMware Tools missing Poor graphics and mouse behaviour on Windows The option was cleared; "VMware Tools Not Running or Out of Date: What It Breaks" covers it
System Restore checkpoint A restore of a checkpoint made before cloning can damage the system and prevent start-up The Converter page offers an option to remove them; for volume-based file-level cloning they are removed automatically, and for disk-based or block-level cloning they are kept when the option is cleared
Source and copy running together Two machines with the same name and the same address settings Both are powered on and connected to one network

Confirm the move

  1. The copy boots with its adapter disconnected, and the console shows the login screen.

First note in the change record that the adapter's Connected setting is cleared.

Risk: the next step connects the copy's network adapter to a network. Connect it only to a test network that has no route to the production network.

  1. Connect the adapter to the isolated test network. Then ipconfig /all or ip address show shows the intended settings, and each service the source ran is running.

To undo it: clear Connected in the VM's settings.

  1. A named person from the business tests the application and its data against the source.

Risk: the next step powers the source off, which ends the live service on it; the copy then carries the service alone.

  1. Only after sign-off is the source powered off, and it is kept until the agreed retention ends.

To undo it: power the source back on from the same console, with its network adapter connected as it was before.

Example (illustrative): db01, a physical Windows Server 2019 machine with a 512-byte-sector MBR disk, is converted to the ESX host esx01. Before the job, ipconfig /all > ipconfig-before.txt records the address 192.0.2.40. The job runs with Connect at power-on cleared and Power on destination cleared. At first start the copy boots, but ipconfig /all shows a new adapter with no address. The engineer connects the adapter to an isolated test network, re-enters 192.0.2.40 from the saved file, and checks the services against services-before.txt. The source stays powered on and connected to the production network until the business has signed off.

Risks and limits

  • These commands have not been run or lab-tested.
  • The statements above are from the Converter Standalone 9.0 documentation. Other releases list other operating systems and limits, so check the page for the release you use.
  • Converter's pages give no advice on duplicate computer names, domain membership or licensing for a copy that runs beside its source.
  • The preparation steps on a Windows source lower its protection while the job runs.
  • Converter changes the disk controller and network adapter that the guest sees. It does not test that the application works.
  • Nothing here replaces a backup of the source taken before the job.

Sources