Linux for Noobs

Full Version: Migrating from vmware esxi to xcp-ng
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Here are some steps needed to perform migration of virtual machines:


  1. Download vm to local disk (from esxi 7) using ovftool
    Code:
    ovftool.exe vi://ip-of-esxi/vm-name c:\mydirectory\
  2. Convert to OVA files using ovftool
    Code:
    ovftool.exe c:\mydirectory\vm-name\vm-name.ovf c:\mydirectory\vm-name\vm-name.ova

  3. Import vm to xcp-ng using XOA.
  4. For Ubuntu - change adapter in /etc/netplan/config-name.yaml to eth0. Then run: 
    Code:
    netplan apply
  5. Reboot the vm.
  6. Uninstall vmware tools: 
    Code:
    sudo apt remove open-vm-tools
  7. Mount ISO with tools from XOA, shutdown & start the vm. Mount the CD and install tools: 
    Code:
    mount /dev/cdrom /mnt
    bash /mnt/Linux/install.sh
    umount /dev/cdrom