Export/Import Virtual Machcines

Hi. I found that it is possible to import Virtual Machines from a VMware environment, XEN or even Libvirt/KVM but it is not directly from another oVirt environment. Is this expected ? I have two environments where I need to transfer VMs from one to another and the only way I see is Export it to a Export Domain, copy it over to another Export Domain in the other side then Import. Is this intended to be like that ? Why to order environments that works straight way and to own oVirt not ? Thanks Fernando

On Thu, Feb 2, 2017 at 10:38 PM, Fernando Frediani <fernando.frediani@upx.com.br> wrote:
Hi.
I found that it is possible to import Virtual Machines from a VMware environment, XEN or even Libvirt/KVM but it is not directly from another oVirt environment. Is this expected ?
Yes, but I agree that having *one* import UI for any kind of virtualization solution would be cool.
I have two environments where I need to transfer VMs from one to another and the only way I see is Export it to a Export Domain, copy it over to another Export Domain in the other side then Import.
No, you can export the vm to the export domain, and then detach the export domain from one environment and attach to another, where you can import the vm. Another way is to detach entire data domain from one environment, and attach it to another environment, where you can import the vms without copying anything, assuming that you can leave the domain attached to the new environment. We support upload/download of disk snapshots. If you have a vm with one disk without snapshots, you can download the disk from one environment, and upload it to the new environment, and then attach it to existing or new vm. We plan to support upload/download of entire vms in the future. Can you share more details why do you need to move vms from one environment to another regularly? Nir

Detach data-domain or using export domain is a good solution, another one is to use "import" button from the VMs tab and use "Kvm (via Libvirt)" as the source. you will need to open Libvirt ports as described here: http://wiki.libvirt.org/page/Libvirt_daemon_is_not_listening_on_tcp_ports_al... On Thu, Feb 2, 2017 at 11:26 PM, Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, Feb 2, 2017 at 10:38 PM, Fernando Frediani <fernando.frediani@upx.com.br> wrote:
Hi.
I found that it is possible to import Virtual Machines from a VMware environment, XEN or even Libvirt/KVM but it is not directly from another oVirt environment. Is this expected ?
Yes, but I agree that having *one* import UI for any kind of virtualization solution would be cool.
I have two environments where I need to transfer VMs from one to another and the only way I see is Export it to a Export Domain, copy it over to another Export Domain in the other side then Import.
No, you can export the vm to the export domain, and then detach the export domain from one environment and attach to another, where you can import the vm.
Another way is to detach entire data domain from one environment, and attach it to another environment, where you can import the vms without copying anything, assuming that you can leave the domain attached to the new environment.
We support upload/download of disk snapshots. If you have a vm with one disk without snapshots, you can download the disk from one environment, and upload it to the new environment, and then attach it to existing or new vm. We plan to support upload/download of entire vms in the future.
Can you share more details why do you need to move vms from one environment to another regularly?
Nir
participants (3)
-
Fernando Frediani
-
Nir Soffer
-
Shahar Havivi