[ovirt-users] Move a VM between 2 setups

ccox at endlessnow.com ccox at endlessnow.com
Mon Nov 14 21:51:37 UTC 2016


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/
[1], 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
[2]. 

	 

	Best,

	Daniel

	 

	FROM: <users-bounces at ovirt.org [3]> on behalf of Christophe TREFOIS
<christophe.trefois at uni.lu [4]>
DATE: Monday, November 14, 2016 at 11:14 AM
TO: users <users at ovirt.org [5]>
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
 [6]

 [7]  

 [8]  

 [9]  

 [10]  

 [11]

	----
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. 

----

	  

	 

 

Links:
------
[1]
https://www.ovirt.org/documentation/admin-guide/administration-guide/
[2]
https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/single/administration-guide#Storage_properties
[3] mailto:users-bounces at ovirt.org
[4] mailto:christophe.trefois at uni.lu
[5] mailto:users at ovirt.org
[6] http://www.uni.lu/lcsb
[7] https://www.facebook.com/trefex
[8] https://twitter.com/Trefex
[9] https://plus.google.com/+ChristopheTrefois/
[10] https://www.linkedin.com/in/trefoischristophe
[11] http://skype?call

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20161114/ee7e6805/attachment-0001.html>


More information about the Users mailing list