Migrate from VMWare to Proxmox
From Pumping Station One
Relevant Infrastructure
- ESXi:
- Proxmox
VM Pre-Stage
- Validate you can login to VM
- Note down VM IP address
- Install QEMU guest agent
- Linux: `qemu-guest-agent`
- Windows: https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers
Migration Steps
- Power down VM
- Verify VM is off in ESXi
- Run Veeam backup job `Backup Job 5`
- Navigate to `Backups > Disk`
- Right click the VM you would like to restore
- Select `Restore Entire VM to Proxmox VE`
- Virtual Machine - nothing to change
- Restore Mode - `Restore to New Location with Different Settings`
- Host
- Click `Host...` in the bottom right
- Select a specific host in the cluster
- Storage
- Click the VM name
- Click `Storage...`
- Select `vrtx-perc8`
- Click `Disk Type`
- `RAW`
- Click the VM name
- Name - No need to change name
- Network
- Select the network
- Click `Network...`
- Select `vmbr0`
- Reason - whatever you want
- Check `Power on target VM after restoring`
- Click FINISH
Post Migration Steps
- Boot the VM
- Login via the console
- Fix networking so that the VM utilizes the new NIC
- Ubuntu:
- ip addr to identify new NIC
- `sudo nano /etc/netplan/XX-netplan.cfg`
- Change the interface to match the new interface
- Other Linux: ???
- Bring ensXX up
- ip link set ensXX up
- dhclient ensXX
- Ubuntu:
- Uninstall VMWare tools
- run as root: `/usr/bin/vmware-uninstall-tools.pl`
- OR
- `sudo apt remove open-vm-tools`
- Validate everything is working
- Login to ESXi
- Rename old VM to `MIGRATED-VM-NAME`
- Disconnect the NIC in case the server reboots