Migrate from VMWare to Proxmox: Difference between revisions

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