rsync -aPvze ssh sourcehost.local:/mnt/rootfilesystem/* /targetrootfilesystem/.
Hi All,
I want some help to migrate a Debian/ubuntu VMs from Xenserver to proxmox.
Does someone have an idea about this migration and give me the steps to run VMs under Proxmox.
With clonezilla not, install grub is only needed with manual copy with rsync. Don't forget to correct fstab... depending on your virtual hardware.Thanks fireon, I will do it with clonezilla.
@Alessandro 123 After the import of VM, I need to install Grub ?
apt-get install git
cd /tmp
git clone https://github.com/guestisp/xen-to-pve.git
chmod +x /xen-to-pve/xva-conv.sh
curl http://192.168.178.125
qm create 345 --name *vm-name* --acpi 1 --agent 0 --bios seabios --boot cdn --bootdisk virtio0 --onboot yes --cores 2 --memory 2048 --net0 virtio=*MAC-address*,tag=*vlantag*,bridge=*network bridge* && cd /tmp/xen-to-pve && wget --http-user=*Xen-User*--http-password=*Xen-Pass* http://*Xen.hostname.nl*/export?uuid=*Xen-VM-UUID* --limit-rate=*speedinmb*m -O - | tar --to-command=./xva-conv.sh -xf - && mv Ref* *PVE-VM-ID*.raw && qm importdisk *PVE-VM-ID* *PVE-VM-ID*.raw local-lvm && rm *PVE-VM-ID*.raw -f && qm set *PVE-VM-ID* --virtio0 local-lvm:vm-*PVE-VM-ID*-disk-0
Isn't there a way to tell Proxmox to do this automatically somewhere?
--boot cdn --bootdisk virtio0
Great you found it in the gui, here's the commandline version as well:Ok, so what do you do when the VM is already created?
qm set 100 --boot cdn --bootdisk scsi0
What does this mean . "if your vms are pv" ? I've used Citrix Xenserver for years and never come across PV other than as in LVM context - and I don't see the relevance of that here.
For having used XenServer for that many years you should be aware of differents possible modes for VMs:
This could shed some light on it and help you understand why the question was asked: https://xen-orchestra.com/blog/xen-virtualization-modes/
Yeah that was a brainfart. DIdn't resolve PV to paravirtualized. I guess it happens when you get to a certain age.
How is Lausanne? I understand the cost of living there is one of the highest in the world, only beat by a few other Swiss cities? I understand how that can puts someone in a bad mood.
According to https://www.numbeo.com/cost-of-living/rankings_current.jsp Only Basel and Zurich are move expensive. Even Geneva is cheaper.Hahaha, yes that must be it. Yes I think Zurich or Geneva is even worse.
We use essential cookies to make this site work, and optional cookies to enhance your experience.