[ovirt-users] Move a VM between 2 setups
Yaniv Dary
ydary at redhat.com
Tue Nov 15 15:47:54 UTC 2016
In general ever since 3.5 you don't need a export domain to do this.
It is advised you use import storage domain feature to do the same thing.
You create a new storage domain move VM to it and then remove it and attach
it to the new engine.
This should be much faster than the export domain.
Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109
Tel : +972 (9) 7692306
8272306
Email: ydary at redhat.com
IRC : ydary
On Tue, Nov 15, 2016 at 4:04 PM, Robert Story <rstory at tislabs.com> wrote:
> On Mon, 14 Nov 2016 19:42:46 +0000 Daniel wrote:
> BD> 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.
> BD>
> BD> 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.
> BD>
> BD> 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.
>
> What I did in the past was to create a nfs share for each engine in
> subdirectories on the same filesystem (eg /srv/ovirt/export/beta,
> /srv/ovirt/export/production). After exporting from one, log in the the nfs
> machine and move (or cp -al) the exported domain from one to the other.
> It's pretty much instantaneous since it's the same file system. Saves the
> hassle of the disconnect/reconnect.
>
>
> Robert
>
> --
> Senior Software Engineer @ Parsons
>
> _______________________________________________
> 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/c9620fb6/attachment-0001.html>
More information about the Users
mailing list