
--Apple-Mail=_0E406D10-3897-4923-B86C-A3B778AE0C43 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Thanks for your response Yaniv,
=20 Context: Investigating migration from XenServer to oVirt (4.2.0) =20 A very interesting subject - would love to see the outcome!
=20 =20 All our iSCSI storage is currently attached to XenServer hosts, = XenServer formats those raw LUNs with LVM and VMs are stored within =
=20 I suspect we need to copy the data. We might be able to do some =
I'll certainly be writing one of not many blog posts on the process and = outcome :) We've been wanting to switch to something more 'modern' for a while, but = XenServer has had a very low TCO for us, sure it doesn't perform as well = as Xen/KVM setup on top of CentOS/RHEL with updated kernels, tuning = etc... but it just kept working, meanwhile we lost some people in my = team so it hasn't been the right time to look at moving... until now... Citrix / XenServer recently screwed over the community (I don't use that = term lightly) by kneecapping the free / unlicensed version of XenServer: = https://xenserver.org/blog/entry/xenserver-7-3-changes-to-the-free-edition= .html = <https://xenserver.org/blog/entry/xenserver-7-3-changes-to-the-free-editio= n.html> There's a large number of people very unhappy about this, as many of the = people that contribute heavily to bug reporting, testing and rapid / = modern deployment lifecycles were / are using the unlicensed version = (like us over @infoxchange), so for us - this was the straw that broke = the camel's back. I've been looking into various options such as oVirt, Proxmox, OpenStack = and a roll-your-own libvirt style platform based on our CentOS (7 at = present) SOE, so far oVirt is looking promising. them. tricks, but at the end of the day I think copying the data, LV to LV, = makes the most sense.
However, I wonder what else is needed - do we need a conversion of the = drivers, different kernel, etc.?
All our Xen VMs are PVHVM, so there's no reason we could't export them = as files, then import them to oVirt of we do go down the oVirt path = after the POC. We run kernel-ml across our fleet (almost always running near-latest = kernel release) and automate all configuration with Puppet. The issue I have with this is that it will be slow - XenServer's storage = performance is terrible and there'd be lots of manual work involved. If this was to be the most simple option, I think we'd opt for = rebuilding VMs from scratch, letting Puppet setup their config etc... = then restoring data from backups / rsync etc... that way we'd still be = performing the manual work - but we'd end up with nice clean VMs. The down side to that is juggling iSCSI LUNs, I'll have to migrate VMs = on XenServer off one LUN at a time, remove that LUN from XenServer and = add it to oVirt as new storage, and continue - but if it's what has to = be done, we'll do it.
=20 What are the export options Xen provides? Perhaps OVF? Is there an API to stream the disks from Xen? Y.
Yes, Xen does have an API, but TBH - it's pretty awful to work with, = think XML and lots of UUIDs...
=20 =20
On 4 Jan 2018, at 7:58 pm, Yaniv Kaul <ykaul@redhat.com> wrote: =20 =20 =20 On Thu, Jan 4, 2018 at 4:03 AM, Sam McLeod <mailinglists@smcleod.net = <mailto:mailinglists@smcleod.net>> wrote: If one was to attach a shared iSCSI LUN as 'storage' to an oVirt data = centre that contains existing data - how does oVirt behave? =20 For example the LUN might be partitioned as LVM, then contain existing = filesystems etc... =20 - Would oVirt see that there is existing data on the LUN and simply = attach it as any other linux initiator (client) world, or would it try = to wipe the LUN clean and reinitialise it? =20 Neither - we will not be importing these as existing data domains, nor = wipe them, as they have contents. =20 =20 =20 Context: Investigating migration from XenServer to oVirt (4.2.0) =20 A very interesting subject - would love to see the outcome! =20 =20 All our iSCSI storage is currently attached to XenServer hosts, = XenServer formats those raw LUNs with LVM and VMs are stored within =
=20 I suspect we need to copy the data. We might be able to do some =
-- Sam McLeod https://smcleod.net https://twitter.com/s_mcleod them. tricks, but at the end of the day I think copying the data, LV to LV, = makes the most sense.
However, I wonder what else is needed - do we need a conversion of the = drivers, different kernel, etc.? =20 What are the export options Xen provides? Perhaps OVF? Is there an API to stream the disks from Xen? Y. =20 =20 =20 =20 If the answer to this is already out there and I should have found it = by searching, I apologise, please point me to the link and I'll RTFM. =20 -- Sam McLeod https://smcleod.net <https://smcleod.net/> https://twitter.com/s_mcleod <https://twitter.com/s_mcleod> =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
--Apple-Mail=_0E406D10-3897-4923-B86C-A3B778AE0C43 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D"">Thanks for your response Yaniv,<div class=3D""><br = class=3D""></div><div class=3D""><blockquote type=3D"cite" class=3D""><div= dir=3D"ltr" class=3D""><div class=3D"gmail_extra"><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin: = 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; = border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class=3D""= style=3D"word-wrap: break-word; line-break: = after-white-space;"><blockquote class=3D"gmail_quote" style=3D"margin: = 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; = border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class=3D""= style=3D"word-wrap: break-word; line-break: after-white-space;"><div = class=3D""><br class=3D""></div><div class=3D"">Context: Investigating = migration from XenServer to oVirt (4.2.0)</div></div></blockquote><div = class=3D""><br class=3D""></div><div class=3D"">A very interesting = subject - would love to see the = outcome!</div></div></blockquote></div></div></div></blockquote><div = class=3D""><br class=3D""></div><div class=3D"">I'll certainly be = writing one of not many blog posts on the process and outcome = :)</div><div class=3D""><br class=3D""></div><div class=3D"">We've been = wanting to switch to something more 'modern' for a while, but XenServer = has had a very low TCO for us, sure it doesn't perform as well as = Xen/KVM setup on top of CentOS/RHEL with updated kernels, tuning etc... = but it just kept working, meanwhile we lost some people in my team so it = hasn't been the right time to look at moving... until now...</div><div = class=3D""><br class=3D""></div><div class=3D"">Citrix / XenServer = recently screwed over the community (I don't use that term lightly) by = kneecapping the free / unlicensed version of XenServer: <a = href=3D"https://xenserver.org/blog/entry/xenserver-7-3-changes-to-the-free= -edition.html" = class=3D"">https://xenserver.org/blog/entry/xenserver-7-3-changes-to-the-f= ree-edition.html</a></div><div class=3D""><br class=3D""></div><div = class=3D"">There's a large number of people very unhappy about this, as = many of the people that contribute heavily to bug reporting, testing and = rapid / modern deployment lifecycles were / are using the unlicensed = version (like us over @infoxchange), so for us - this was the straw that = broke the camel's back.</div><div class=3D""><br class=3D""></div><div = class=3D"">I've been looking into various options such as oVirt, = Proxmox, OpenStack and a roll-your-own libvirt style platform based on = our CentOS (7 at present) SOE, so far oVirt is looking = promising.</div><br class=3D""><blockquote type=3D"cite" class=3D""><div = dir=3D"ltr" class=3D""><div class=3D"gmail_extra"><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin: = 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; = border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class=3D""= style=3D"word-wrap: break-word; line-break: after-white-space;"><div = class=3D""> </div><blockquote class=3D"gmail_quote" style=3D"margin: = 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; = border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class=3D""= style=3D"word-wrap: break-word; line-break: after-white-space;"><div = class=3D""><br class=3D""></div><div class=3D"">All our iSCSI storage is = currently attached to XenServer hosts, XenServer formats those raw LUNs = with LVM and VMs are stored within them.</div></div></blockquote><div = class=3D""><br class=3D""></div><div class=3D"">I suspect we need to = copy the data. We might be able to do some tricks, but at the end of the = day I think copying the data, LV to LV, makes the most sense.</div><div = class=3D"">However, I wonder what else is needed - do we need a = conversion of the drivers, different kernel, = etc.?</div></div></blockquote></div></div></div></blockquote><div = class=3D""><br class=3D""></div><div class=3D"">All our Xen VMs are = PVHVM, so there's no reason we could't export them as files, then import = them to oVirt of we do go down the oVirt path after the POC.</div><div = class=3D"">We run kernel-ml across our fleet (almost always running = near-latest kernel release) and automate all configuration with = Puppet.</div><div class=3D""><br class=3D""></div><div class=3D"">The = issue I have with this is that it will be slow - XenServer's storage = performance is <i class=3D"">terrible</i> and there'd be lots of = manual work involved.</div><div class=3D""><br class=3D""></div><div = class=3D"">If this was to be the most simple option, I think we'd opt = for rebuilding VMs from scratch, letting Puppet setup their config = etc... then restoring data from backups / rsync etc... that way we'd = still be performing the manual work - but we'd end up with nice clean = VMs.</div><div class=3D""><br class=3D""></div><div class=3D"">The down = side to that is juggling iSCSI LUNs, I'll have to migrate VMs on = XenServer off one LUN at a time, remove that LUN from XenServer and add = it to oVirt as new storage, and continue - but if it's what has to be = done, we'll do it.</div><br class=3D""><blockquote type=3D"cite" = class=3D""><div dir=3D"ltr" class=3D""><div class=3D"gmail_extra"><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin: = 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; = border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class=3D""= style=3D"word-wrap: break-word; line-break: after-white-space;"><div = class=3D""><br class=3D""></div><div class=3D"">What are the export = options Xen provides? Perhaps OVF?</div><div class=3D"">Is there an API = to stream the disks from Xen?</div><div = class=3D"">Y.</div></div></blockquote></div></div></div></blockquote><div = class=3D""><br class=3D""></div><div class=3D"">Yes, Xen does have an = API, but TBH - it's pretty awful to work with, think XML and lots of = UUIDs...</div><br class=3D""><blockquote type=3D"cite" class=3D""><div = dir=3D"ltr" class=3D""><div class=3D"gmail_extra"><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin: = 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; = border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class=3D""= style=3D"word-wrap: break-word; line-break: after-white-space;"><div = class=3D""> </div><blockquote class=3D"gmail_quote" style=3D"margin: = 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; = border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class=3D""= style=3D"word-wrap: break-word; line-break: after-white-space;"><div = class=3D""><br = class=3D""></div></div></blockquote></div></blockquote></div></div></div><= /blockquote><div class=3D""> <div dir=3D"auto" style=3D"color: rgb(0, 0, 0); letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: = break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D""><div dir=3D"auto" style=3D"color: rgb(0, 0, 0); = letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div = dir=3D"auto" style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = line-break: after-white-space;" class=3D""><div style=3D"color: rgb(0, = 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br = class=3D"">--<br class=3D"">Sam McLeod<br class=3D""><a = href=3D"https://smcleod.net" class=3D"">https://smcleod.net</a><br = class=3D"">https://twitter.com/s_mcleod</div></div></div></div> </div> <div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On 4 Jan 2018, at 7:58 pm, Yaniv Kaul <<a = href=3D"mailto:ykaul@redhat.com" class=3D"">ykaul@redhat.com</a>> = wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div = dir=3D"ltr" class=3D""><br class=3D""><div class=3D"gmail_extra"><br = class=3D""><div class=3D"gmail_quote">On Thu, Jan 4, 2018 at 4:03 AM, = Sam McLeod <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:mailinglists@smcleod.net" target=3D"_blank" = class=3D"">mailinglists@smcleod.net</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""><div class=3D"">If one was to attach a shared iSCSI LUN as = 'storage' to an oVirt data centre that contains existing data - how does = oVirt behave?</div><div class=3D""><br class=3D""></div><div = class=3D"">For example the LUN might be partitioned as LVM, then contain = existing filesystems etc...</div><div class=3D""> </div><div = class=3D"">- Would oVirt see that there is existing data on the LUN and = simply attach it as any other linux initiator (client) world, or would = it try to wipe the LUN clean and reinitialise = it?</div></div></blockquote><div class=3D""><br class=3D""></div><div = class=3D"">Neither - we will not be importing these as existing data = domains, nor wipe them, as they have contents.</div><div = class=3D""> </div><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""><div class=3D""><br class=3D""></div><div class=3D""><br = class=3D""></div><div class=3D"">Context: Investigating migration from = XenServer to oVirt (4.2.0)</div></div></blockquote><div class=3D""><br = class=3D""></div><div class=3D"">A very interesting subject - would love = to see the outcome!</div><div class=3D""> </div><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""><div class=3D""><br class=3D""></div><div class=3D"">All our = iSCSI storage is currently attached to XenServer hosts, XenServer = formats those raw LUNs with LVM and VMs are stored within = them.</div></div></blockquote><div class=3D""><br class=3D""></div><div = class=3D"">I suspect we need to copy the data. We might be able to do = some tricks, but at the end of the day I think copying the data, LV to = LV, makes the most sense.</div><div class=3D"">However, I wonder what = else is needed - do we need a conversion of the drivers, different = kernel, etc.?</div><div class=3D""><br class=3D""></div><div = class=3D"">What are the export options Xen provides? Perhaps = OVF?</div><div class=3D"">Is there an API to stream the disks from = Xen?</div><div class=3D"">Y.</div><div class=3D""> </div><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""><div class=3D""><br class=3D""></div><div class=3D""><br = class=3D""></div><div class=3D""><br class=3D""></div><div class=3D""><i = class=3D"">If the answer to this is already out there and I should have = found it by searching, I apologise, please point me to the link and I'll = RTFM.</i></div><div class=3D""><div class=3D""> <div dir=3D"auto" style=3D"letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; word-wrap: break-word; line-break: = after-white-space;" class=3D""><div dir=3D"auto" style=3D"letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; word-spacing: 0px; word-wrap: break-word; = line-break: after-white-space;" class=3D""><div dir=3D"auto" = style=3D"word-wrap:break-word;line-break:after-white-space" = class=3D""><div style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant-caps: normal; font-weight: normal; = letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px;" = class=3D""><br class=3D"">--<br class=3D"">Sam McLeod<br class=3D""><a = href=3D"https://smcleod.net/" target=3D"_blank" = class=3D"">https://smcleod.net</a><br class=3D""><a = href=3D"https://twitter.com/s_mcleod" target=3D"_blank" = class=3D"">https://twitter.com/s_mcleod</a></div></div></div></div> </div> <br class=3D""></div></div><br = class=3D"">______________________________<wbr = class=3D"">_________________<br class=3D""> Users mailing list<br class=3D""> <a href=3D"mailto:Users@ovirt.org" 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/<wbr = class=3D"">mailman/listinfo/users</a><br class=3D""> <br class=3D""></blockquote></div><br class=3D""></div></div> </div></blockquote></div><br class=3D""></div></body></html>= --Apple-Mail=_0E406D10-3897-4923-B86C-A3B778AE0C43--