Setup Proxmox to Migrate

  1. Update Proxmox Repository
  2. Install Proxmox ESXi Migrate tools
apt install pve-esxi-import-tools -y
  1. Add ESXi Host Storage to Proxmox Host
    1. Go to DatacenterStorage
    2. Add a new storage, under the Proxmox Backup Server, you will see a new option called ESXi.
    3. Enter the connection details of the ESXi Host
    4. Check the Skip Certificate Verification if no CA is alligible

Setup ESXi to Migrate

  1. Remove any guest tools specific to the old hypervisor, as it might be difficult to remove them after, such as VMware Tools.

  2. Extra Steps (CentOS Only):

    yum install qemu-guest-agent
    yum remove open-vm-tools
    
    dracut --force --add-drivers "virtio_balloon virtio_scsi virtio_console virtio_net virtio_pci"
    modprobe virtio_scsi
    dracut -f
    
  3. Node your guest network configuration, so you can manually restore it.

  4. In case of DHCP reservations, either adapt the reservation to the new MAC address of the target VM NIC, or set the MAC address on the target VM NIC manually.

  5. If full-disk encryption is used in the VM and the keys are stored in a virtual TPM device, consider disabling it.

    It is currently not possible to migrate the vTPM state from VMware to Proxmox VE.

    Make sure the manual keys exists, to decrypt the VM.

  6. Shut down the source VM.

Migration Execution

  1. Open the ESXi Host storage in left side of Proxmox GUI.
  2. Select the VM and press Import button.
  3. Edit the general configurations as needed.
  4. Edit the advanced configurations
    1. You may need to set the VLAN Tag and Bridge Interface.
    2. (CentOS only) Change the SCSI Controller to VirtIO SCSI.