Re: [ovirt-users] Q: Copying VMs between Export domains of different data centres

On Tue, Mar 20, 2018 at 4:26 PM, Eyal Shenitzky <eshenitz@redhat.com> wrote:
Hi Andrei,
I think you miss understand the concept of export domain.
Export domain allows you to pass entities from one data center to another.
The flow is:
1) Create an export domain in DC-A 2) Export required entities to the export domain 3) Deactivate (enter the storage domain to maintenance mode) and detach the export domain 4) Attach the export domain to DC-B and import the entities to it.
You can see more information here: - https://www.ovirt.org/documentation/admin-guide/chap-Storage/
On Tue, Mar 20, 2018 at 4:04 PM, Andrei Verovski <andreil1@starlett.lv> wrote:
Hi,
I have 2 data centers (with 1 node each because 1 have local data domain)
Copied exported from DC #1, exports -> 1d7208ce-d3a1-4406-9638-fe7051562994 -> images -> 12f48f07-7e93-4c66-b0e9-00efc1fec418, with 2 files inside fc469474-94fd-416b-b921-58604f46411c - 171 GB (seems like disk image) fc469474-94fd-416b-b921-58604f46411c.meta
to DC #2, export -> 36bc8d5d-30e9-4df5-94cd-c837483c5e41 -> images -> 12f48f07-7e93-4c66-b0e9-00efc1fec418, with these above listed files inside. (screenshot attached)
However, in “Import Virtual machine(s)” dialog this VM is not visible even after running “Load” command inside import dialog. Looks like for whatever reason oVirt don’t refresh content of this directory.
How to instruct oVirt to refresh and index these files?
Or this method won’t work at all, and one have to import/export OVA images, or use lengthy procedure described by Fred Roland here ? http://lists.ovirt.org/pipermail/users/2018-February/087304.html
Thanks. Andrei
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Regards, Eyal Shenitzky
-- Regards, Eyal Shenitzky

--Apple-Mail=_D89CD630-7123-4BAC-8110-2D3FF9BB7655 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8
On Tue, Mar 20, 2018 at 4:26 PM, Eyal Shenitzky <eshenitz@redhat.com = <mailto:eshenitz@redhat.com>> wrote: Hi Andrei, =20 I think you miss understand the concept of export domain. =20 Export domain allows you to pass entities from one data center to = another.
=20 The flow is: =20 1) Create an export domain in DC-A 2) Export required entities to the export domain 3) Deactivate (enter the storage domain to maintenance mode) and = detach the export domain 4) Attach the export domain to DC-B and import the entities to it. =20 You can see more information here: - https://www.ovirt.org/documentation/admin-guide/chap-Storage/ = <https://www.ovirt.org/documentation/admin-guide/chap-Storage/> =20 =20 =20 =20 =20 On Tue, Mar 20, 2018 at 4:04 PM, Andrei Verovski <andreil1@starlett.lv = <mailto:andreil1@starlett.lv>> wrote: Hi, =20 I have 2 data centers (with 1 node each because 1 have local data = domain) =20 Copied exported from DC #1, exports -> = 1d7208ce-d3a1-4406-9638-fe7051562994 -> images -> = 12f48f07-7e93-4c66-b0e9-00efc1fec418, with 2 files inside fc469474-94fd-416b-b921-58604f46411c - 171 GB (seems like disk image) fc469474-94fd-416b-b921-58604f46411c.meta =20 to DC #2, export -> 36bc8d5d-30e9-4df5-94cd-c837483c5e41 -> images -> = 12f48f07-7e93-4c66-b0e9-00efc1fec418, with these above listed files = inside. (screenshot attached) =20 However, in =E2=80=9CImport Virtual machine(s)=E2=80=9D dialog this VM = is not visible even after running =E2=80=9CLoad=E2=80=9D command inside = import dialog. Looks like for whatever reason oVirt don=E2=80=99t refresh content of =
OK, now I=E2=80=99ve got it. Thanks for so clear and short explanation. = It should go straight into the oVirt manual and QA. One Data Center can have only one Export storage domain, right ? So 1 (single) export domain used as some kind of shared exchange buffer = (VM =E2=80=9Cclipboard=E2=80=9D in desktop metaphor) in whole oVirt = setup, per 1 host engine. this directory.
=20 How to instruct oVirt to refresh and index these files? =20 Or this method won=E2=80=99t work at all, and one have to = import/export OVA images, or use lengthy procedure described by Fred = Roland here ? http://lists.ovirt.org/pipermail/users/2018-February/087304.html = <http://lists.ovirt.org/pipermail/users/2018-February/087304.html> =20 Thanks. Andrei =20 =20 =20 =20 <Screen Shot 2018-03-20 at 15.53.34.jpg> =20 _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users> =20 =20 =20 =20 --=20 Regards, Eyal Shenitzky =20 =20 =20 --=20 Regards, Eyal Shenitzky
--Apple-Mail=_D89CD630-7123-4BAC-8110-2D3FF9BB7655 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D""><div = dir=3D"ltr" class=3D"">On Tue, Mar 20, 2018 at 4:26 PM, Eyal Shenitzky = <span dir=3D"ltr" class=3D""><<a href=3D"mailto:eshenitz@redhat.com" = target=3D"_blank" class=3D"">eshenitz@redhat.com</a>></span> = wrote:</div><div class=3D"gmail_extra"><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 = 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" = class=3D"">Hi Andrei,<div class=3D""><br class=3D""></div><div = class=3D"">I think you miss understand the concept of export = domain.</div><div class=3D""><br class=3D""></div><div class=3D"">Export = domain allows you to pass entities from one data center to = another.</div></div></blockquote></div></div></div></blockquote><div><br = class=3D""></div><div><br class=3D""></div><div>OK, now I=E2=80=99ve got = it. Thanks for so clear and short explanation. It should go straight = into the oVirt manual and QA.</div><div><br class=3D""></div><div>One = Data Center can have only one Export storage domain, right = ?</div><div><br class=3D""></div><div>So 1 (single) export domain used = as some kind of shared exchange buffer (VM =E2=80=9Cclipboard=E2=80=9D = in desktop metaphor) in whole oVirt setup, per 1 host = engine.</div><div><br class=3D""></div><br class=3D""><blockquote = type=3D"cite" class=3D""><div class=3D""><div class=3D"gmail_extra"><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 = 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" = class=3D""><div class=3D""><br class=3D""></div><div class=3D"">The flow = is:</div><div class=3D""><br class=3D""></div><div class=3D"">1) Create = an export domain in DC-A</div><div class=3D"">2) Export required = entities to the export domain</div><div class=3D"">3) = Deactivate (enter the storage domain to maintenance mode) and = detach the export domain</div><div class=3D"">4) Attach the export = domain to DC-B and import the entities to it.</div><div class=3D""><br = class=3D""></div><div class=3D"">You can see more information = here:</div><div class=3D"">- <a = href=3D"https://www.ovirt.org/documentation/admin-guide/chap-Storage/" = target=3D"_blank" class=3D"">https://www.ovirt.org/<wbr = class=3D"">documentation/admin-guide/<wbr = class=3D"">chap-Storage/</a></div><div class=3D""><br = class=3D""></div><div class=3D""><br class=3D""></div><div class=3D""><br = class=3D""></div><div class=3D""><br class=3D""></div></div><div = class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On Tue, = Mar 20, 2018 at 4:04 PM, Andrei Verovski <span dir=3D"ltr" = class=3D""><<a href=3D"mailto:andreil1@starlett.lv" target=3D"_blank" = class=3D"">andreil1@starlett.lv</a>></span> wrote:<br = class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><div = style=3D"word-wrap:break-word;line-break:after-white-space" = class=3D"">Hi,<div class=3D""><br class=3D""></div><div class=3D"">I = have 2 data centers (with 1 node each because 1 have local data = domain)</div><div class=3D""><br class=3D""></div><div class=3D"">Copied = exported from DC #1, exports -> 1d7208ce-d3a1-4406-9638-fe7051<wbr = class=3D"">562994 -> images = -> 12f48f07-7e93-4c66-b0e9-00e<wbr class=3D"">fc1fec418, with 2 = files inside</div><div class=3D"">fc469474-94fd-416b-b921-58604f<wbr = class=3D"">46411c - 171 GB (seems like disk image)</div><div = class=3D"">fc469474-94fd-416b-b921-58604f<wbr = class=3D"">46411c.meta</div><div class=3D""><br class=3D""></div><div = class=3D"">to DC #2, export -> 36bc8d5d-30e9-4df5-94cd-c83<wbr = class=3D"">7483c5e41 -> images = -> 12f48f07-7e93-4c66-b0e9-00e<wbr class=3D"">fc1fec418, with = these above listed files inside.</div><div class=3D"">(screenshot = attached)</div><div class=3D""><br class=3D""></div><div = class=3D"">However, in =E2=80=9CImport Virtual machine(s)=E2=80=9D = dialog this VM is not visible even after running =E2=80=9CLoad=E2=80=9D = command inside import dialog.</div><div class=3D"">Looks like for = whatever reason oVirt don=E2=80=99t refresh content of this = directory.</div><div class=3D""><br class=3D""></div><div class=3D"">How = to instruct oVirt to refresh and index these files?</div><div = class=3D""><br class=3D""></div><div class=3D"">Or this method won=E2=80=99= t work at all, and one have to import/export OVA images, or use lengthy = procedure described by Fred Roland here ?</div><div class=3D""><a = href=3D"http://lists.ovirt.org/pipermail/users/2018-February/087304.html" = target=3D"_blank" class=3D"">http://lists.ovirt.org/piperma<wbr = class=3D"">il/users/2018-February/087304.<wbr = class=3D"">html</a></div><div class=3D""><br class=3D""></div><div = class=3D"">Thanks.</div><div class=3D"">Andrei</div><div class=3D""><br = class=3D""></div><div class=3D""><br class=3D""></div><div class=3D""><br = class=3D""></div><div class=3D""><br class=3D""></div><div = class=3D""> <span = id=3D"cid:156AE382-B2F0-4B86-ADCA-50CE34CEAB4D"><Screen Shot = 2018-03-20 at 15.53.34.jpg></span></div></div><br = class=3D"">______________________________<wbr = class=3D"">_________________<br class=3D""> Users mailing list<br class=3D""> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank" = class=3D"">Users@ovirt.org</a><br class=3D""> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = rel=3D"noreferrer" target=3D"_blank" = class=3D"">http://lists.ovirt.org/mailman<wbr = class=3D"">/listinfo/users</a><br class=3D""> <br class=3D""></blockquote></div><span class=3D"HOEnZb"><font = color=3D"#888888" class=3D""><br class=3D""><br clear=3D"all" = class=3D""><div class=3D""><br class=3D""></div>-- <br class=3D""><div = class=3D"m_8090615229373335197gmail_signature" = data-smartmail=3D"gmail_signature"><div dir=3D"ltr" = class=3D"">Regards,<div class=3D"">Eyal Shenitzky</div></div></div> </font></span></div> </blockquote></div><br class=3D""><br clear=3D"all" class=3D""><div = class=3D""><br class=3D""></div>-- <br class=3D""><div = class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div = dir=3D"ltr" class=3D"">Regards,<div class=3D"">Eyal = Shenitzky</div></div></div> </div> </div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_D89CD630-7123-4BAC-8110-2D3FF9BB7655--

Exactly. On Tue, Mar 20, 2018 at 5:51 PM, Andrei Verovski <andreil1@starlett.lv> wrote:
On Tue, Mar 20, 2018 at 4:26 PM, Eyal Shenitzky <eshenitz@redhat.com> wrote:
Hi Andrei,
I think you miss understand the concept of export domain.
Export domain allows you to pass entities from one data center to another.
OK, now I’ve got it. Thanks for so clear and short explanation. It should go straight into the oVirt manual and QA.
One Data Center can have only one Export storage domain, right ?
So 1 (single) export domain used as some kind of shared exchange buffer (VM “clipboard” in desktop metaphor) in whole oVirt setup, per 1 host engine.
The flow is:
1) Create an export domain in DC-A 2) Export required entities to the export domain 3) Deactivate (enter the storage domain to maintenance mode) and detach the export domain 4) Attach the export domain to DC-B and import the entities to it.
You can see more information here: - https://www.ovirt.org/documentation/admin-guide/chap-Storage/
On Tue, Mar 20, 2018 at 4:04 PM, Andrei Verovski <andreil1@starlett.lv> wrote:
Hi,
I have 2 data centers (with 1 node each because 1 have local data domain)
Copied exported from DC #1, exports -> 1d7208ce-d3a1-4406-9638-fe7051562994 -> images -> 12f48f07-7e93-4c66-b0e9-00efc1fec418, with 2 files inside fc469474-94fd-416b-b921-58604f46411c - 171 GB (seems like disk image) fc469474-94fd-416b-b921-58604f46411c.meta
to DC #2, export -> 36bc8d5d-30e9-4df5-94cd-c837483c5e41 -> images -> 12f48f07-7e93-4c66-b0e9-00efc1fec418, with these above listed files inside. (screenshot attached)
However, in “Import Virtual machine(s)” dialog this VM is not visible even after running “Load” command inside import dialog. Looks like for whatever reason oVirt don’t refresh content of this directory.
How to instruct oVirt to refresh and index these files?
Or this method won’t work at all, and one have to import/export OVA images, or use lengthy procedure described by Fred Roland here ? http://lists.ovirt.org/pipermail/users/2018-February/087304.html
Thanks. Andrei
<Screen Shot 2018-03-20 at 15.53.34.jpg>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Regards, Eyal Shenitzky
-- Regards, Eyal Shenitzky
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Regards, Eyal Shenitzky
participants (2)
-
Andrei Verovski
-
Eyal Shenitzky