[CentOS-virt] migrating from xend to libxl after xen 4.6.1

Mon Apr 18 07:58:04 UTC 2016
George Dunlap <dunlapg at umich.edu>

On Sat, Apr 16, 2016 at 5:40 PM, rgritzo <rgritzo at gmail.com> wrote:
> so i guess i was not paying too close attention and upgraded to xen 4.6.1 before i migrated my domU configurations to libxl :{

Just FYI, as a fall-back you can always move yourself to the Xen 4.4 "track" by:
1. Installing centos-release-xen-44
2. Removing centos-release-xen
3. "yum downgrade" all the Xen packages.

This will switch you to repos which will only have Xen 4.4; and Johnny
will be doing XSA backports until the 4.4 EOL in 2017.  You can
upgrade to 4.6 again by either re-installing centos-release-xen (which
will update to the latest automatically) or installing
centos-release-xen-46 (which will stay on Xen 4.6).  (You can install
multiple packages at the same time; yum will just choose the highest
version available.)

> i have tried for a couple of hours this morning to find a way to do the conversion in a post xend world, but can’t seem to do it.
> I still have all my disk images, and i see the domain config.sxp configuration files in /var/lib/xend/domains/<uuid> but i am not enough of a xen expert to figure out how to migrate those.
> is there a simple way to move to libxl now that xend is gone and i did not dump the xml files?

So just checking -- the issue here is that you're not using the
".cfg"-style config files, but the sxp-style config files?  You're not
using libvirt, is that right?

Unfortunately parsing sxp config files and running "managed domains"
are one feature that was explicitly chose as something we wouldn't be
supporting in xl going forward [1].  You'll probably have to do some
sort of manual conversion.


[1] http://wiki.xen.org/wiki/XL#Anti-Features