fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


proxmox:pve:migration:esxi-pve

This is an old revision of the document!


Migration from ESXi to Proxmox

Pre-Migration

Linux

SLES

grep CONFIG_VIRTIO /boot/config-$(uname -r)
grep CONFIG_VIRTIO /boot/config-$(uname -r) | grep =y
lsinitrd /boot/initrd-$(uname -r) | grep virtio

vi /etc/dracut.conf.d/virtio-drivers.conf

add_drivers+=" virtio_blk virtio_scsi virtio_net virtio_pci virtio_ring virtio "
dracut -f /boot/initrd-$(uname -r) > /tmp/dracut.log 2>&1

lsinitrd /boot/initrd-$(uname -r) | grep virtio
lsmod | grep virtio
dracut -f /boot/initrd-$(uname -r) --add-drivers "virtio virtio_pci virtio_blk virtio_net virtio_ring virtio_scsi"
lsinitrd /boot/initrd-$(uname -r) | grep virtio

https://pve.proxmox.com/wiki/Paravirtualized_Drivers_for_Linux

Debian

lsinitramfs /boot/initrd.img-$(uname -r) | grep virtio

Windows

  1. Uninstall VMware Tools

Migration

Windows

Linux

Post-Migration

PS C:\Users\Administrator> Get-Service QEMU-GA

Status   Name               DisplayName
------   ----               -----------
Running  QEMU-GA            QEMU Guest Agent
qm agent <vmid> ping

Linux

  1. Uninstall open-vm-tools
    rpm -qa | grep vm                              # SLES
    zypper rm open-vm-tools                        # SLES
    apt remove open-vm-tools                       # Debian

    https://knowledge.broadcom.com/external/article/339581/uninstalling-open-vmware-tools-included.html

  2. Install qemu guest agent
    zypper ref && zypper in qemu-guest-agent       # SLES
    apt update && apt install qemu-guest-agent     # Debian
    systemctl start qemu-guest-agent
    systemctl enable qemu-guest-agent
    systemctl status qemu-guest-agent

Windows

  1. Add temporary 1 GB SCSI HDD
  2. Boot VM, install quemu guest agent and drivers
  3. Restore network configutation to adapter(s)
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]
  4. Shutdown VM, reattach SATA VM disks as SCSI and remove temporary 1 GB disk
  5. Adjust boot order and enable qemu guest agent in vm options
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
proxmox/pve/migration/esxi-pve.1757349673.txt.gz · Last modified: by admin