Live migration without Shared Storage

This is a multi-part message in MIME format. --------------5F461645E0C4B073B81D0E85 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Has anyone tried the command below under the hood between two oVirt Node (in the same Datacenter or between two different (local) ones) ? Does it work ? virsh migrate --live --persistent --undefinesource --copy-storage-all \ --verbose --desturi <DESTINATION> <VM> This is such a fantastic features for certain scenarios that may help a lot maintenance or even migration between hosts with Local Storage to minimize Downtime and mainly all the hassle of having to Poweroff a VM, Export to an Export Datastore, umount it, mount on the other Host/Datacenter, Import and Power On. Thanks Regards Fernando [1] Ref: https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-share... --------------5F461645E0C4B073B81D0E85 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body bgcolor="#FFFFFF" text="#000000"> <font face="arial, helvetica, sans-serif">Has anyone tried the command below under the hood between two oVirt Node (in the same Datacenter or between two different (local) ones) ? Does it work ?</font><br> <pre>virsh migrate --live --persistent --undefinesource --copy-storage-all \ --verbose --desturi <DESTINATION> <VM></pre> <font face="arial, helvetica, sans-serif">This is such a fantastic features for certain scenarios that may help a lot maintenance or even migration between hosts with Local Storage to minimize Downtime and mainly all the hassle of having to Poweroff a VM, Export to an Export Datastore, umount it, mount on the other Host/Datacenter, Import and Power On.<br> <br> Thanks<br> Regards<br> <br> Fernando<br> <br> [1] Ref: </font><font face="arial, helvetica, sans-serif"><a class="moz-txt-link-freetext" href="https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-shared-storage/">https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-shared-storage/</a></font><br> </body> </html> --------------5F461645E0C4B073B81D0E85--

--Apple-Mail=_45DC1D70-B9C7-463F-A721-20B675C918FE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii
On 28 Dec 2017, at 19:56, FERNANDO FREDIANI = <fernando.frediani@upx.com> wrote: =20 Has anyone tried the command below under the hood between two oVirt = Node (in the same Datacenter or between two different (local) ones) ? = Does it work ?
no, it does not with ovirt. ovirt manages storage differently than plain = libvirt
virsh migrate --live --persistent --undefinesource --copy-storage-all = \ --verbose --desturi <DESTINATION> <VM> This is such a fantastic features for certain scenarios that may help = a lot maintenance or even migration between hosts with Local Storage to = minimize Downtime and mainly all the hassle of having to Poweroff a VM, = Export to an Export Datastore, umount it, mount on the other = Host/Datacenter, Import and Power On. =20 Thanks Regards =20 Fernando =20 [1] Ref: = https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-sha= red-storage/ = <https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-sh= ared-storage/> _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_45DC1D70-B9C7-463F-A721-20B675C918FE Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 28 Dec 2017, at 19:56, FERNANDO FREDIANI <<a href="mailto:fernando.frediani@upx.com" class="">fernando.frediani@upx.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""> <meta http-equiv="content-type" content="text/html; charset=utf-8" class=""> <div bgcolor="#FFFFFF" text="#000000" class=""> <font face="arial, helvetica, sans-serif" class="">Has anyone tried the command below under the hood between two oVirt Node (in the same Datacenter or between two different (local) ones) ? Does it work ?</font><br class=""></div></div></blockquote><div><br class=""></div>no, it does not with ovirt. ovirt manages storage differently than plain libvirt</div><div><br class=""></div><div><blockquote type="cite" class=""><div class=""><div bgcolor="#FFFFFF" text="#000000" class=""> <pre class="">virsh migrate --live --persistent --undefinesource --copy-storage-all \ --verbose --desturi <DESTINATION> <VM></pre> <font face="arial, helvetica, sans-serif" class="">This is such a fantastic features for certain scenarios that may help a lot maintenance or even migration between hosts with Local Storage to minimize Downtime and mainly all the hassle of having to Poweroff a VM, Export to an Export Datastore, umount it, mount on the other Host/Datacenter, Import and Power On.<br class=""> <br class=""> Thanks<br class=""> Regards<br class=""> <br class=""> Fernando<br class=""> <br class=""> [1] Ref: </font><font face="arial, helvetica, sans-serif" class=""><a class="moz-txt-link-freetext" href="https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-shared-storage/">https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-shared-storage/</a></font><br class=""> </div> _______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">http://lists.ovirt.org/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></body></html> --Apple-Mail=_45DC1D70-B9C7-463F-A721-20B675C918FE--

This is a multi-part message in MIME format. --------------CF08BBAFCAC65EADA75560FB Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Are you talking about all kinds of Storage (iSCSI, FC, NFS and Localstorage/POSIX) ? Because I believe you may be able to specify the destination path on the destination Host and when working with Localstorage/POSIX that may be simpler. Fernando On 28/12/2017 17:32, Michal Skrivanek wrote:
On 28 Dec 2017, at 19:56, FERNANDO FREDIANI <fernando.frediani@upx.com <mailto:fernando.frediani@upx.com>> wrote:
Has anyone tried the command below under the hood between two oVirt Node (in the same Datacenter or between two different (local) ones) ? Does it work ?
no, it does not with ovirt. ovirt manages storage differently than plain libvirt
virsh migrate --live --persistent --undefinesource --copy-storage-all \ --verbose --desturi <DESTINATION> <VM> This is such a fantastic features for certain scenarios that may help a lot maintenance or even migration between hosts with Local Storage to minimize Downtime and mainly all the hassle of having to Poweroff a VM, Export to an Export Datastore, umount it, mount on the other Host/Datacenter, Import and Power On.
Thanks Regards
Fernando
[1] Ref: https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-share... _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
--------------CF08BBAFCAC65EADA75560FB Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>Are you talking about all kinds of Storage (iSCSI, FC, NFS and Localstorage/POSIX) ?</p> <p>Because I believe you may be able to specify the destination path on the destination Host and when working with Localstorage/POSIX that may be simpler.</p> <p>Fernando<br> </p> <br> <div class="moz-cite-prefix">On 28/12/2017 17:32, Michal Skrivanek wrote:<br> </div> <blockquote type="cite" cite="mid:EE1DAB04-5CE9-47D0-B979-9BE404254A8E@redhat.com"><br class=""> <div><br class=""> <blockquote type="cite" class=""> <div class="">On 28 Dec 2017, at 19:56, FERNANDO FREDIANI <<a href="mailto:fernando.frediani@upx.com" class="" moz-do-not-send="true">fernando.frediani@upx.com</a>> wrote:</div> <br class="Apple-interchange-newline"> <div class=""> <meta http-equiv="content-type" content="text/html; charset=windows-1252" class=""> <div bgcolor="#FFFFFF" text="#000000" class=""> <font class="" face="arial, helvetica, sans-serif">Has anyone tried the command below under the hood between two oVirt Node (in the same Datacenter or between two different (local) ones) ? Does it work ?</font><br class=""> </div> </div> </blockquote> <div><br class=""> </div> no, it does not with ovirt. ovirt manages storage differently than plain libvirt</div> <div><br class=""> </div> <div> <blockquote type="cite" class=""> <div class=""> <div bgcolor="#FFFFFF" text="#000000" class=""> <pre class="">virsh migrate --live --persistent --undefinesource --copy-storage-all \ --verbose --desturi <DESTINATION> <VM></pre> <font class="" face="arial, helvetica, sans-serif">This is such a fantastic features for certain scenarios that may help a lot maintenance or even migration between hosts with Local Storage to minimize Downtime and mainly all the hassle of having to Poweroff a VM, Export to an Export Datastore, umount it, mount on the other Host/Datacenter, Import and Power On.<br class=""> <br class=""> Thanks<br class=""> Regards<br class=""> <br class=""> Fernando<br class=""> <br class=""> [1] Ref: </font><font class="" face="arial, helvetica, sans-serif"><a class="moz-txt-link-freetext" href="https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-share..." moz-do-not-send="true">https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-shared-storage/</a></font><br class=""> </div> _______________________________________________<br class=""> Users mailing list<br class=""> <a href="mailto:Users@ovirt.org" class="" moz-do-not-send="true">Users@ovirt.org</a><br class=""> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><br class=""> </div> </blockquote> </div> <br class=""> </blockquote> <br> </body> </html> --------------CF08BBAFCAC65EADA75560FB--

--Apple-Mail=_4A623026-A8B9-4200-9CB7-88012E5A0468 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8
On 28 Dec 2017, at 20:37, FERNANDO FREDIANI = <fernando.frediani@upx.com> wrote: =20 Are you talking about all kinds of Storage (iSCSI, FC, NFS and = Localstorage/POSIX) ? =20 yes
=20 =20
On 28 Dec 2017, at 19:56, FERNANDO FREDIANI = <fernando.frediani@upx.com <mailto:fernando.frediani@upx.com>> wrote: =20 Has anyone tried the command below under the hood between two oVirt = Node (in the same Datacenter or between two different (local) ones) ? = Does it work ? =20 no, it does not with ovirt. ovirt manages storage differently than =
Because I believe you may be able to specify the destination path on = the destination Host and when working with Localstorage/POSIX that may = be simpler. =20 yes, it is indeed more simple, but still it=E2=80=99s not going to work = out of the box right now. It=E2=80=99s a non-trivial feature to do that = properly Fernando =20 On 28/12/2017 17:32, Michal Skrivanek wrote: plain libvirt
=20
virsh migrate --live --persistent --undefinesource = --copy-storage-all \ --verbose --desturi <DESTINATION> <VM> This is such a fantastic features for certain scenarios that may = help a lot maintenance or even migration between hosts with Local = Storage to minimize Downtime and mainly all the hassle of having to = Poweroff a VM, Export to an Export Datastore, umount it, = mount on the other Host/Datacenter, Import and Power On. =20 Thanks Regards =20 Fernando =20 [1] Ref: = https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-sha= red-storage/ = <https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-without-a-sh= ared-storage/> _______________________________________________ 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
--Apple-Mail=_4A623026-A8B9-4200-9CB7-88012E5A0468 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""><br = class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On 28 Dec 2017, at 20:37, FERNANDO FREDIANI <<a = href=3D"mailto:fernando.frediani@upx.com" = class=3D"">fernando.frediani@upx.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""> =20 <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1252" class=3D""> =20 <div bgcolor=3D"#FFFFFF" text=3D"#000000" class=3D""><p class=3D"">Are = you talking about all kinds of Storage (iSCSI, FC, NFS and Localstorage/POSIX) = ?</p></div></div></blockquote>yes</div><div><br class=3D""><blockquote = type=3D"cite" class=3D""><div class=3D""><div bgcolor=3D"#FFFFFF" = text=3D"#000000" class=3D""><p class=3D"">Because I believe you may be = able to specify the destination path on the destination Host and when working with Localstorage/POSIX that may be simpler.</p></div></div></blockquote>yes, it is indeed = more simple, but still it=E2=80=99s not going to work out of the box = right now. It=E2=80=99s a non-trivial feature to do that properly<br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div = bgcolor=3D"#FFFFFF" text=3D"#000000" class=3D""><p class=3D"">Fernando<br = class=3D""> </p> <br class=3D""> <div class=3D"moz-cite-prefix">On 28/12/2017 17:32, Michal Skrivanek wrote:<br class=3D""> </div> <blockquote type=3D"cite" = cite=3D"mid:EE1DAB04-5CE9-47D0-B979-9BE404254A8E@redhat.com" = class=3D""><br class=3D""> <div class=3D""><br class=3D""> <blockquote type=3D"cite" class=3D""> <div class=3D"">On 28 Dec 2017, at 19:56, FERNANDO FREDIANI = <<a href=3D"mailto:fernando.frediani@upx.com" class=3D"" = moz-do-not-send=3D"true">fernando.frediani@upx.com</a>> wrote:</div> <br class=3D"Apple-interchange-newline"> <div class=3D""> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dwindows-1252" class=3D""> <div bgcolor=3D"#FFFFFF" text=3D"#000000" class=3D""> <font = class=3D"" face=3D"arial, helvetica, sans-serif">Has anyone tried the command below under the hood between two oVirt Node (in the same Datacenter or between two different (local) ones) ? Does it work ?</font><br class=3D""> </div> </div> </blockquote> <div class=3D""><br class=3D""> </div> no, it does not with ovirt. ovirt manages storage differently than plain libvirt</div> <div class=3D""><br class=3D""> </div> <div class=3D""> <blockquote type=3D"cite" class=3D""> <div class=3D""> <div bgcolor=3D"#FFFFFF" text=3D"#000000" class=3D""> <pre class=3D"">virsh migrate --live --persistent = --undefinesource --copy-storage-all \ --verbose --desturi <DESTINATION> = <VM></pre> <font class=3D"" face=3D"arial, helvetica, = sans-serif">This is such a fantastic features for certain scenarios that may help a lot maintenance or even migration between hosts with Local Storage to minimize Downtime and mainly all the hassle of having to Poweroff a VM, Export to an Export Datastore, umount it, mount on the other Host/Datacenter, Import and Power On.<br class=3D""> <br class=3D""> Thanks<br class=3D""> Regards<br class=3D""> <br class=3D""> Fernando<br class=3D""> <br class=3D""> [1] Ref: </font><font class=3D"" face=3D"arial, = helvetica, sans-serif"><a class=3D"moz-txt-link-freetext" = href=3D"https://hgj.hu/live-migrating-a-virtual-machine-with-libvirt-witho= ut-a-shared-storage/" = moz-do-not-send=3D"true">https://hgj.hu/live-migrating-a-virtual-machine-w= ith-libvirt-without-a-shared-storage/</a></font><br class=3D""> </div> _______________________________________________<br class=3D"">= Users mailing list<br class=3D""> <a href=3D"mailto:Users@ovirt.org" class=3D"" = moz-do-not-send=3D"true">Users@ovirt.org</a><br class=3D""> <a class=3D"moz-txt-link-freetext" = href=3D"http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.= org/mailman/listinfo/users</a><br class=3D""> </div> </blockquote> </div> <br class=3D""> </blockquote> <br class=3D""> </div> </div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_4A623026-A8B9-4200-9CB7-88012E5A0468--
participants (2)
-
FERNANDO FREDIANI
-
Michal Skrivanek