[PVE-User] Migration from XenServer
Gilberto Nunes
gilberto.nunes32 at gmail.com
Mon Sep 3 15:46:46 CEST 2018
HI there
I used this
https://github.com/guestisp/xen-to-pve
And work as a charm
Thanks
---
Gilberto Nunes Ferreira
(47) 3025-5907
(47) 99676-7530 - Whatsapp / Telegram
Skype: gilberto.nunes36
2018-09-03 10:42 GMT-03:00 Klaus Darilion <klaus.mailinglists at pernau.at>:
>
> Am 26.08.2018 um 12:18 schrieb Gilberto Nunes:
> > Hi anyone has a good method, 100% approved to migrate windows VM from Xen
> > to Proxmox?
> > Every method i tried has failed with bsod.
>
> I never tried Windows VMs, but here are my snippets to migrate Linux
> with LVM from XenServer HVM to Proxmox:
>
> # login on XenServer
> # find uuid of VM
> xe vm-list name-label="Debian Stretch 9.0 Template" params=uuid
>
> # search the Disks of this UUID (ingore the CDrom)
> # Get the Disk UUID and the "virtual-size":
> xe vm-disk-list uuid=62e198e1-19ac-d674-7b4e-17954daedf7e
> uuid ( RO) : ea09e614-57e7-403d-8d29-63643e560d43
> name-label ( RW): Disk 1
> sr-name-label ( RO): Storage1
> virtual-size ( RO): 8589934592
>
> -> disk-uuid: ea09e614-57e7-403d-8d29-63643e560d43
> -> virtual-size: 8589934592
>
> # activate the Logical Volume aktivieren (maybe not needed)
> lvchange -ay
> /dev/VG_XenStorage-d2acd544-0676-462a-bc01-52c80b9aaa99/
> VHD-ea09e614-57e7-403d-8d29-63643e560d43
>
> # Create a Disk of same size in Proxmox. Proxmox GUI only allows sizes
> in GB, not in Bytes. Therefore:
> # 1. Create in Proxmox GUI a VM with a smaller size, eg. 2GB
> # 2. Then on the console enlarge to disk to the exact size in Bytes of
> the "virtual-size" of the VDI
> qm resize 100 scsi0 8589934592
> zfs list
>
> # "on the fly": stream the blockdevice using xe vdi-export, netcat
> # and dd
> # on XenServer (eventually stop the VM):
> xe vdi-export uuid=ea09e614-57e7-403d-8d29-63643e560d43 format=raw
> filename= | pigz | nc proxmoxserver.mydomain.com 5000
> # on the Proxmox Host
> nc -l -p 5000 | unpigz | pv | dd bs=1024K of=/dev/vmstorage/vm-100-disk-1
>
>
> regards
> Klaus
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
More information about the pve-user
mailing list