Migrate VMs from Redhat Virtualization to Proxmox

bsabin

New Member
Oct 10, 2019
1
0
1
34
Hello,
I have 25 VMs that I want to migrate from RHV/Ovirt to Proxmox 6.
Is there a simple/automated way to do that ? ( without implying Clonezilla or something else )

Apologies for posting into this thread, but haven't found a support or discussion thread
 
Hello,

as far as I know, there is no simple way of doing that.

What I did (more or less):

In oVirt
- Used an oVirt report to create an excel list with the inventory of all targeted VMs (ram, cpus, oVirt DiskUID, etc)
- Extended the excel list with a formula to generate the VM creation command for Proxmox CLI later on (e.g. "qm create 103 --agent enabled=1 --bootdisk virtio --cores 3 --name vm-gitlab-001 --balloon 3572 --memory 4096 --net bridge=vmbr0 --ostype other --storage ceph-hdd")
- Defined per oVirt VM a maintenance window, picked the oVirt VM one by one and exported it to ESD (export storage domain)

On Proxmox (shell)
- scp'ed the exported disk(s) from oVirt ESD to the target Proxmox storage directory
- Created in Proxmox the VM with the command generated in excel
- Physically deleted the just newly created disk file of the new VM on Proxmox storage
- Renamed the previously scp'ed ovirt disk to the same as the just deleted file was named
- Started the VM

As you see, you will not get away without downtime.
 
you can also use "qm importdisk" command to convert your ovirt disk image and push it directly to your proxmox storage (zfs,lvm,file, ceph,...).

1) create the vm with "qm create ..... but without disk option"
2) qm importdisk ....
3) qm start
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!