public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Migrating from oVirt to Proxmox
@ 2021-02-08 11:59 Marc Sauer
  2021-02-08 12:17 ` Gerald Brandt
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Marc Sauer @ 2021-02-08 11:59 UTC (permalink / raw)
  To: pve-user

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

Hello,

we would like to migrate our oVirt Cluster to Proxmox, because of the 
recent events regarding RedHat and CentOS. Also, we are getting new 
servers and have the one time oppurtinity to do a switch to another 
virtualization platform.

Right now, We are using GlusterFS underneath the oVirt Cluster and would 
like to use it on Proxmox as well.

It will be a 3 node cluster.

My question to you all is: Has anyone on this list done a migration 
process from oVirt to Proxmox? Both systems are based on KVM, so a 
migration should not be that complicated.

My main idea is the following:

- Set up a Proxmox cluster with 3 nodes
- Set up the Gluster storage on the new servers
- Create VMs with the same name and copy the raw disk image from the old 
Gluster to the new one
- Set the copied Raw disk image as bootfile for the created VM
- Repeat the step for all VMs, one at a time

Since we do not have thousands of VMs we can do this manually, so no 
need to set up a complicated migration pipeline. The main advantage of 
this is, that we can migrate a VM one at a time and not all at once.

What are your thoughts on this? Will we get trouble with, for example, 
the drivers inside the VM?

Thank you in advance and many greetings from Cologne,

Marc Sauer

-- 
Marc Sauer
Linux Systems Administrator

Kunsthochschule für Medien Köln/
Academy of Media Arts Cologne
Peter-Welter-Platz 2
50676 Köln



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] Migrating from oVirt to Proxmox
  2021-02-08 11:59 [PVE-User] Migrating from oVirt to Proxmox Marc Sauer
@ 2021-02-08 12:17 ` Gerald Brandt
  2021-02-08 12:22 ` Ronny Aasen
  2021-02-08 12:54 ` Dominic Jäger
  2 siblings, 0 replies; 5+ messages in thread
From: Gerald Brandt @ 2021-02-08 12:17 UTC (permalink / raw)
  To: pve-user


On 2021-02-08 5:59 a.m., Marc Sauer wrote:
> Hello,
>
> we would like to migrate our oVirt Cluster to Proxmox, because of the 
> recent events regarding RedHat and CentOS. Also, we are getting new 
> servers and have the one time oppurtinity to do a switch to another 
> virtualization platform.
>
> Right now, We are using GlusterFS underneath the oVirt Cluster and 
> would like to use it on Proxmox as well.
>
> It will be a 3 node cluster.
>
> My question to you all is: Has anyone on this list done a migration 
> process from oVirt to Proxmox? Both systems are based on KVM, so a 
> migration should not be that complicated.
>
> My main idea is the following:
>
> - Set up a Proxmox cluster with 3 nodes
> - Set up the Gluster storage on the new servers
> - Create VMs with the same name and copy the raw disk image from the 
> old Gluster to the new one
> - Set the copied Raw disk image as bootfile for the created VM
> - Repeat the step for all VMs, one at a time
>
> Since we do not have thousands of VMs we can do this manually, so no 
> need to set up a complicated migration pipeline. The main advantage of 
> this is, that we can migrate a VM one at a time and not all at once.
>
> What are your thoughts on this? Will we get trouble with, for example, 
> the drivers inside the VM?
>
> Thank you in advance and many greetings from Cologne,
>
> Marc Sauer
>
>

That is the exact process I used when moving from Proxmox to straight 
KVM and virt-manager. It's a safe way to move. If a single VM has 
issues, you can fall back to the original and figure out what went wrong 
without long downtimes. I moved thirty VM's using this process.


I did have issues with Windows machines, and had to manually copy the 
machine's GUID to the new virtual machine in order to keep Windows 
activated.


Gerald




> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] Migrating from oVirt to Proxmox
  2021-02-08 11:59 [PVE-User] Migrating from oVirt to Proxmox Marc Sauer
  2021-02-08 12:17 ` Gerald Brandt
@ 2021-02-08 12:22 ` Ronny Aasen
  2021-02-08 12:54 ` Dominic Jäger
  2 siblings, 0 replies; 5+ messages in thread
From: Ronny Aasen @ 2021-02-08 12:22 UTC (permalink / raw)
  To: pve-user

On 08.02.2021 12:59, Marc Sauer wrote:
> Hello,
> 
> we would like to migrate our oVirt Cluster to Proxmox, because of the 
> recent events regarding RedHat and CentOS. Also, we are getting new 
> servers and have the one time oppurtinity to do a switch to another 
> virtualization platform.
> 
> Right now, We are using GlusterFS underneath the oVirt Cluster and would 
> like to use it on Proxmox as well.
> 
> It will be a 3 node cluster.
> 
> My question to you all is: Has anyone on this list done a migration 
> process from oVirt to Proxmox? Both systems are based on KVM, so a 
> migration should not be that complicated.
> 
> My main idea is the following:
> 
> - Set up a Proxmox cluster with 3 nodes
> - Set up the Gluster storage on the new servers
> - Create VMs with the same name and copy the raw disk image from the old 
> Gluster to the new one
> - Set the copied Raw disk image as bootfile for the created VM
> - Repeat the step for all VMs, one at a time
> 
> Since we do not have thousands of VMs we can do this manually, so no 
> need to set up a complicated migration pipeline. The main advantage of 
> this is, that we can migrate a VM one at a time and not all at once.
> 
> What are your thoughts on this? Will we get trouble with, for example, 
> the drivers inside the VM?
> 
> Thank you in advance and many greetings from Cologne,
> 
> Marc Sauer
> 

Not exactly i have dome  something similar with vmware to proxmox.
And the plan was the same   + i had a convert image step that you do not 
need.


drivers can be an issue if the OS on the VM is windows. read the xml 
config on ovirt and replicate accordingly on proxmox to avoid any 
issues. this is probably only an issue on the first VM, i assume the 
rest would be identical, once you get the right config.

I also did one rsync of image while vm was running + another rsync while 
vm was stopped to have shorter downtime. depends on your network speed 
vs storage speed if this is sane or not.

good luck
Ronny





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] Migrating from oVirt to Proxmox
  2021-02-08 11:59 [PVE-User] Migrating from oVirt to Proxmox Marc Sauer
  2021-02-08 12:17 ` Gerald Brandt
  2021-02-08 12:22 ` Ronny Aasen
@ 2021-02-08 12:54 ` Dominic Jäger
  2021-02-08 13:42   ` Ronny Aasen
  2 siblings, 1 reply; 5+ messages in thread
From: Dominic Jäger @ 2021-02-08 12:54 UTC (permalink / raw)
  To: Proxmox VE user list

Hello!

On Mon, Feb 08, 2021 at 12:59:29PM +0100, Marc Sauer wrote:
> - Set up the Gluster storage on the new servers
Have you thought about using Ceph? Gluster should work, but Ceph is better
integrated into Proxmox VE.

> - Create VMs with the same name and copy the raw disk image from the old
> Gluster to the new one
> - Set the copied Raw disk image as bootfile for the created VM

There are 2 commands qm importdisk and qm importovf (see man page [0]) that
should help you avoid
1. using qemu-img manually and
2. having to know about Proxmox VE naming schemes

If you can export your VMs as OVF, you can use qm importovf which does most
work alone.  If there is no such function, you have to create a VM in Proxmox
VE and import each disk image individually using qm importdisk.

I suggest to get an overview of the migration article in our Wiki [1]. It
doesn't explicitly mention oVirt (yet), but the usage of the import commands
remains the same over all examples.

[0] https://pve.proxmox.com/pve-docs/qm.1.html
[1] https://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE#Virtual-to-Virtual




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] Migrating from oVirt to Proxmox
  2021-02-08 12:54 ` Dominic Jäger
@ 2021-02-08 13:42   ` Ronny Aasen
  0 siblings, 0 replies; 5+ messages in thread
From: Ronny Aasen @ 2021-02-08 13:42 UTC (permalink / raw)
  To: pve-user

On 08.02.2021 13:54, Dominic Jäger wrote:
> Hello!
> 
> On Mon, Feb 08, 2021 at 12:59:29PM +0100, Marc Sauer wrote:
>> - Set up the Gluster storage on the new servers
> Have you thought about using Ceph? Gluster should work, but Ceph is better
> integrated into Proxmox VE.
> 
If you can add your 3 current ovirt nodes to the cluster afterwards you 
would have a nice 6 node ceph cluster.
3 nodes are too little imho, there is no failure domain. but would 
function for the migration.


Ronny



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-08 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 11:59 [PVE-User] Migrating from oVirt to Proxmox Marc Sauer
2021-02-08 12:17 ` Gerald Brandt
2021-02-08 12:22 ` Ronny Aasen
2021-02-08 12:54 ` Dominic Jäger
2021-02-08 13:42   ` Ronny Aasen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal