[ovirt-users] Move a VM between 2 setups

Christophe TREFOIS christophe.trefois at uni.lu
Tue Nov 15 09:57:56 UTC 2016


Hi,

The reason I use this term is because it is indeed 2 engines, or two different setups / environments.

I’m not talking about moving a VM from a virtual DC to another virtual DC in the same engine.

Best,
-- 

Dr Christophe Trefois, Dipl.-Ing.  
Technical Specialist / Post-Doc

UNIVERSITÉ DU LUXEMBOURG

LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
Campus Belval | House of Biomedicine  
6, avenue du Swing 
L-4367 Belvaux  
T: +352 46 66 44 6124 
F: +352 46 66 44 6949  
http://www.uni.lu/lcsb <http://www.uni.lu/lcsb>
 <https://www.facebook.com/trefex>   <https://twitter.com/Trefex>   <https://plus.google.com/+ChristopheTrefois/>   <https://www.linkedin.com/in/trefoischristophe>   <http://skype:Trefex?call>
----
This message is confidential and may contain privileged information. 
It is intended for the named recipient only. 
If you receive it in error please notify me and permanently delete the original message and any copies. 
----

  

> On 14 Nov 2016, at 22:51, ccox at endlessnow.com wrote:
> 
> Export domains are to move VMs between oVirt environments.  As already mentioned, you attach the export domain to one data center, export the vm, maint/detach, attach to different data center, attach and import (then maint/detach, etc.).
> 
> The language "export domains .... 'between' engines" is a bit confusing...
> 
> 
> 
> ----- Original Message -----
> From:
> "Christophe TREFOIS" <christophe.trefois at uni.lu>
> 
> To:
> "Beckman Daniel" <Daniel.Beckman at ingramcontent.com>, "users" <users at ovirt.org>
> Cc:
> 
> Sent:
> Mon, 14 Nov 2016 20:10:16 +0000
> Subject:
> Re: [ovirt-users] Move a VM between 2 setups
> 
> 
> Hi Daniel,
> 
> 
> 
>  
> Fantastic information. Thanks so much for this.
> 
> 
> 
>  
> I was already using export domains inside my current engine, but not sure if it would also work “between” engines so to speak.
> 
> 
> 
>  
> Have a great evening!
> 
> 
> Christophe
> 
> 
> 
>  
> From: Beckman, Daniel [mailto:Daniel.Beckman at ingramcontent.com] 
> Sent: lundi 14 novembre 2016 20:43
> To: Christophe TREFOIS <christophe.trefois at uni.lu>; users <users at ovirt.org>
> Subject: Re: [ovirt-users] Move a VM between 2 setups
> 
> 
> 
>  
> Hi Christophe,
> 
> 
> 
>  
> An “export domain” is made for just this purpose. Create a NFS (version 3) share and make it accessible to the hypervisors for each engine. (It should be a dedicated NFS share, not used for anything else.) As I recall it should be owned by vdsm:vdsm (36:36). In one of the engines (doesn’t matter which), in the web admin page go to Storage and add a new NFS based export domain, using the NFS share you created. Once it’s activated, test it out; try right-clicking on a VM to “export” it.
> 
> 
> 
>  
> Note that there can only be one engine connected to a given export domain at any one time. When you’re done testing the export domain on the first engine, you need to put it into “maintenance” and ultimately “detach” it.
> 
> 
> 
>  
> Then go to the other engine, and this time under Storage instead of “new domain” click “import domain” and enter the same NFS share information. It should recognize that you already have an export domain setup under that NFS share.  Attach and activate it, and under Storage / <your export domain name>  / VM Import, try importing the VM you had previously exported.
> 
> 
> 
>  
> This is covered (sparsely) in the oVirt documentation at https://www.ovirt.org/documentation/admin-guide/administration-guide/ <https://www.ovirt.org/documentation/admin-guide/administration-guide/>, and it’s covered more coherently in the commercial RHV documentation at https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/single/administration-guide#Storage_properties <https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/single/administration-guide#Storage_properties>.
> 
> 
> 
>  
> Best,
> 
> 
> Daniel
> 
> 
> 
>  
> From: <users-bounces at ovirt.org <mailto:users-bounces at ovirt.org>> on behalf of Christophe TREFOIS <christophe.trefois at uni.lu <mailto:christophe.trefois at uni.lu>>
> Date: Monday, November 14, 2016 at 11:14 AM
> To: users <users at ovirt.org <mailto:users at ovirt.org>>
> Subject: [ovirt-users] Move a VM between 2 setups
> 
> 
> 
>  
> Hi,
> 
> 
> 
>  
> We have a setup where we want to deploy 2 engines as the network between 2 buildings is unreliable.
> 
> 
> 
>  
> With 2 engines, we then want to be able to move VMs (one time) from current engine where they are running to new engine in the other building.
> 
> 
> 
>  
> Is there a recommended workflow for doing this?
> 
> 
> We have access to shared NFS for this task if required.
> 
> 
> 
>  
> Thanks for any pointers,
> 
> 
> Christophe
> 
> 
> -- 
> 
> 
> Dr Christophe Trefois, Dipl.-Ing.  
> Technical Specialist / Post-Doc
> 
> 
> UNIVERSITÉ DU LUXEMBOURG
> 
> LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
> Campus Belval | House of Biomedicine  
> 6, avenue du Swing 
> L-4367 Belvaux  
> T: +352 46 66 44 6124 
> F: +352 46 66 44 6949  
> http://www.uni.lu/lcsb <http://www.uni.lu/lcsb>
> 
>  <https://www.facebook.com/trefex>   <https://twitter.com/Trefex>   <https://plus.google.com/+ChristopheTrefois/>   <https://www.linkedin.com/in/trefoischristophe>   <http://skype/?call>
> 
> ----
> This message is confidential and may contain privileged information. 
> It is intended for the named recipient only. 
> If you receive it in error please notify me and permanently delete the original message and any copies. 
> ----
> 
> 
>   
> 
> 
>  
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20161115/f5c145de/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3509 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20161115/f5c145de/attachment-0001.p7s>


More information about the Users mailing list