In this tutorial, I will share how to migrate servers from VMware to Proxmox. The following steps will be carried out.
1. Copy .vmdx disk file
The first step is to copy the .vmdx file to the Proxmox server, you can use copy via scp or in any way to move your file.
2. Create VM on Proxmox
a. Click the Create VM menu, then Create Virtual Machine menu will show
b. On the General tab you can add VM ID and VM Name, then click Next
Virtual Machine - General |
c. On the OS tab click Do not use any media, because we will not install a new VM, click Next
Virtual Machine - OS |
d. On the Hard Disk tab, select the storage in the Storage form, and specify what Disk Size (according to the server in VMware)
Virtual Machine - Hard Disk |
e. In the CPU tab, adjust the CPU with the server in VMware, click Next
Virtual Machine - Memory |
f. On the Memory Tab, adjust it to the Memory used in VMware, click Next
Virtual Machine - Memory |
g. On the Network Tab, adjust it to your interface
Virtual Machine - Network |
h. Finish
Virtual Machine - Confirm |
3. Convert .vmdx to .raw
root@dev:~$ qemu-img convert <name-server.vmdk> -O raw <name-server>.raw
4. Check LVM path
root@dev:~$ lvdisplay
lvdisplay |
5. Copy raw diks to LVM Logical Volume
root@dev:~$ dd if=<name-server>.raw | pv -s 6G | dd of=/dev/pve/<name-vm-path>
6. Done