Although migrating from VMware virtualization products to open-source virtualization products takes less effort than it did a few years ago, it is still not entirely smooth.
The migration process still requires some care and effort.
In this document, we will go over the basic nuances and steps to watch for in this kind of migration.
As an example in this document, we will migrate one virtual server running Windows Server 2022 and one running Ubuntu 22 from VMware ESXi 8.0.3 to Proxmox VE 8.3.5.
Example environment
VMware ESXi environment:

Proxmox VE environment:

Add ESXi as an import source
Proxmox VE provides a service to make migrating virtual servers from VMware ESXi as easy as possible. To use this service, we need to define VMware ESXi in Proxmox VE as a storage:


After this definition is made, the virtual servers in the ESXi environment can be listed on this newly defined storage in Proxmox VE.

Preparation before migration
The virtual servers to be migrated usually have VMware Guest Tools or open-vm-tools installed. It is recommended to remove this software before the migration. If the migration is done without removing these applications, you will run into an error message like the one in the screenshot below on Windows operating systems.

Removing the applications:


It is recommended that the virtual servers to be migrated are powered off.
In the examples in this document, the virtual servers will be transferred in the power-off state.
Migration steps
The steps required for the migration are shown in the screenshots below:
Select the virtual server you want to migrate and click the Import button.

Define the required resources and configurations.

In line with the information given in the first step, the selections for the EFI disk and CD/DVD drives must be removed because there is no support for them.

4. Review the summary before the operation and start the transfer.

Wait for the transfer of the virtual server's disks to finish.

Create the EFI disk that Windows will need and mount the ISO file that contains the VirtIO drivers.
To get the current ISO distribution that contains the VirtIO drivers:

Wait for Windows to recognize and configure the virtual server components, such as the new SCSI Controller and CPU:

After boot, access the server and install the VirtIO drivers and VirtIO Guest Tools.

Configure the required IP settings for the NIC.

The same steps can be applied to Ubuntu 22 as well.

For Ubuntu, make the required netplan configuration because the NIC name changes:



Install qemu-guest-agent:

Notes
Because components such as the CPU and SCSI Controller that the virtual servers running on VMware ESXi use will change after migrating to Proxmox VE, servers that run accounting software such as Logo / Mikro, which require paid licenses, will need a license update after the migration.
In the example Windows migration scenario, the SCSI Controller type was set to "VirtIO SCSI single" and the Hard Disk Bus/Device type was set to SATA. However, this is not a best practice.
If a Windows operating system will run as a virtual server on Proxmox VE, the SCSI Controller and the way the hard disk is connected can affect performance positively or negatively.
Best settings measured on Ceph
At tten, in the IO tests we ran with CEPH storage, we got the best performance with the following configurations.
a. Windows VM
Controller: VirtIO SCSI Single
Bus Type: VirtIO Block
IO thread: Enabled
Async IO: threads
Cache: Write back
b. Linux VM
Bus Type: SCSi
Async IO: io_uring
SSD emulation: Enabled
Guest (virtual server) performance will vary depending on infrastructure variables (network, storage, CPU). There is no single definitive answer for determining the best performance.
On migrated Windows virtual servers, changing the Controller, Bus Type, or Machine type can prevent the server from booting. To set different types after the migration and to install the drivers needed for the changes that capture the best performance, the required drivers can be injected into Windows with DISM commands from the "Windows Preinstallation Environment (WinPE)":
Example:
On this page
Related posts
You are in full control
Build your infrastructure today
Get started in minutes and take your project live. No commitment.





