Migrate from VMWare to Proxmox: Difference between revisions

From PS:1 Wiki Dev
Jump to navigationJump to search
Content deleted Content added
No edit summary
Muirrum (talk | contribs)
Formatting
 
Line 1: Line 1:


# Relevant Infrastructure
= Relevant Infrastructure =


- ESXi:
* ESXi:
- https://10.10.2.61/ui/#/host/vms
** https://10.10.2.61/ui/#/host/vms
- https://10.10.2.62/ui/#/host
** https://10.10.2.62/ui/#/host
- Proxmox
* Proxmox
- https://10.10.2.63:8006/
** https://10.10.2.63:8006/
- https://10.10.2.40:8006/
** https://10.10.2.40:8006/


# VM Pre-Stage
= VM Pre-Stage =


1) Validate you can login to VM
# Validate you can login to VM
2) Note down VM IP address
# Note down VM IP address
3) Install QEMU guest agent
# Install QEMU guest agent
1) Linux: `qemu-guest-agent`
## Linux: `qemu-guest-agent`
2) Windows: https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers
## Windows: https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers


# Migration Steps
= Migration Steps =


1) Power down VM
# Power down VM
1) Verify VM is off in ESXi
## Verify VM is off in ESXi
2) Run Veeam backup job `Backup Job 5`
# Run Veeam backup job `Backup Job 5`
3) Navigate to `Backups > Disk`
# Navigate to `Backups > Disk`
4) Right click the VM you would like to restore
# Right click the VM you would like to restore
5) Select `Restore Entire VM to Proxmox VE`
# Select `Restore Entire VM to Proxmox VE`
1) Virtual Machine - nothing to change
## Virtual Machine - nothing to change
2) Restore Mode - `Restore to New Location with Different Settings`
## Restore Mode - `Restore to New Location with Different Settings`
3) Host
## Host
1) Click `Host...` in the bottom right
### Click `Host...` in the bottom right
2) Select a specific host in the cluster
### Select a specific host in the cluster
4) Storage
## Storage
1) Click the VM name
### Click the VM name
1) Click `Storage...`
#### Click `Storage...`
2) Select `vrtx-perc8`
#### Select `vrtx-perc8`
2) Click `Disk Type`
#### Click `Disk Type`
1) `RAW`
#### `RAW`
5) Name - No need to change name
## Name - No need to change name
6) Network
## Network
1) Select the network
### Select the network
2) Click `Network...`
### Click `Network...`
3) Select `vmbr0`
### Select `vmbr0`
7) Reason - whatever you want
### Reason - whatever you want
8) Check `Power on target VM after restoring`
### Check `Power on target VM after restoring`
6) Click FINISH
# Click FINISH


# Post Migration Steps
= Post Migration Steps =


1) Boot the VM
# Boot the VM
2) Login via the console
# Login via the console
3) Fix networking so that the VM utilizes the new NIC
# Fix networking so that the VM utilizes the new NIC
1) Ubuntu:
## Ubuntu:
1) ip addr to identify new NIC
### ip addr to identify new NIC
2) `sudo nano /etc/netplan/XX-netplan.cfg`
### `sudo nano /etc/netplan/XX-netplan.cfg`
3) Change the interface to match the new interface
### Change the interface to match the new interface
2) Other Linux: ???
## Other Linux: ???
1) Bring ensXX up
### Bring ensXX up
1) ip link set ensXX up
### ip link set ensXX up
2) dhclient ensXX
### dhclient ensXX
4) Uninstall VMWare tools
# Uninstall VMWare tools
1) run as root: `/usr/bin/vmware-uninstall-tools.pl`
## run as root: `/usr/bin/vmware-uninstall-tools.pl`
## OR
2) or
3) `sudo apt remove open-vm-tools`
## `sudo apt remove open-vm-tools`
5) Validate everything is working
# Validate everything is working
6) Login to ESXi
# Login to ESXi
1) Rename old VM to `MIGRATED-VM-NAME`
## Rename old VM to `MIGRATED-VM-NAME`
2) Disconnect the NIC in case the server reboots
## Disconnect the NIC in case the server reboots

Latest revision as of 17:23, 8 March 2026

Relevant Infrastructure

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`
        3. Click `Disk Type`
        4. `RAW`
    5. Name - No need to change name
    6. Network
      1. Select the network
      2. Click `Network...`
      3. Select `vmbr0`
      4. Reason - whatever you want
      5. 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
      2. ip link set ensXX up
      3. 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