XenServer 7.3: and now, what's next?



  • A lot of our users are on XenServer Free edition, because they only use it for server virtualization. Since 7.3 and some features removed, the legitimate question is: what's next?

    Current state

    Right now:

    • If you use XenDesktop, then for you nothing changes: keep using XenServer!
    • If you just want to use server virtualization, you'll need to get a license or miss Xen Storage motion, use small pools, etc. Not a big deal, but a pain.
    • If you don't care about sec patches, stay on 7.1 or 7.2 (no upgrade) -> that's OK for now, but would be a problem in the future!

    Possibilities

    Before XenServer was Open Source, a clone existed: XCP. Basically, it's a CentOS with all RPMs needed to make a XenServer-like. That's probably something you would like to have (us too!). In theory, everything is on GitHub but:

    • no build currently work "as-is"
    • it's a bit hard to evaluate all tools needed into Dom0
    • how much resources we need to make it real again?

    XCP-ng

    A repo was created, it will incorporate all needed repo to build it from the sources (if it's doable): https://github.com/xcp-ng

    We must make an exploration. Community (you!) can help to achieve that!

    • You got skills? Help everyone directly! We'll add you to the GitHub organization!
    • You want to help but you don't have XAPI or dev knowledge at all? We got some people ready to help: one of our external provider who helped us a lot with XOSAN code. So he knows a bit about XenServer: we could give him a mission to explore how to build an XCP like solution. If you are interested to support a 10 days mission to evaluate the "XCP possibility", tell us!

    Centralizing resources to make a 100% community oriented XCP-like would be a great thing for everyone!

    Also this is also a place to discuss any other alternatives you have in mind, and how XO can help with that 🙂

    Other discussions related to 7.3 release

    XenServer is now a popular discussion topic 😉

    (L)GPL compliance?

    In theory, it requires you to provide build scripts. Where are they?



  • An XCP solution may be useful, and could work.

    I'd ask is it worth it to go down that path? Would it be wiser to start investigating support for KVM. As this is baked right into the linux kernel and won't be going away any time soon.

    I haven't tested KVM much, but I know it could use an all encompassing tool such as XO.



  • Or find a way to implement XAPI with Xen.



    1. KVM: it will require to make almost entirely our own stack to get something close to XAPI
    2. XAPI with Xen = XCP/XenServer.

    edit: I'm not closing any possibility, just taking a look/digging around



  • you know I'm onboard 🙂



  • I had a public discussion with XS PM (David), maybe it will change a bit the XAPI situation. It seems (need to confirm) all the other tools are more easy to build. So the first task would be like to gather what's needed to transfor a CentOS to a XenServer host.



  • Hi Olivier,

    The transformation is a long story, you can compile and build the xapi but you will be stucked to the specific versions of the RPM's means that you need to be somehow connected with the development team to find which versions of software to build and also there is a huge problem with the license tool, by default the xapi will need license configuration, either you fake it or not.

    I have a huge respect to you and your team, you are doing a great job, I would humbly advise you for an alternative hypervisor, you will be more free and the things that you build with your team will not be affected by some strange copmany decisions. You seem to be locked in to Xapi but Believe me there is always a good thing in such kind of bad decisions,

    From my perspective opensource Xen and KVM are the only two hypervisors that can be used and without xapi Xen has no meaning, would be better to use libvirt, you need to check how bound your code is to xapi and is is simple to use libvirt instead of that..

    Best,

    Senol



  • Hi @senol and thanks for your contribution.

    In fact, XAPI is tagged with specific release version that we could use for each "stable build". Regarding licenses check, it's pretty easy to get rid of that on a parallel fork. In fact, the easiest thing to do, is not to change the edition of XS, but stay in free and just change the features flag (eg change to "Positive" instead of "Negative").

    This way, you are still in Free edition (no license check) but enjoying the features.

    Obviously, the big problem right now is how to build those RPMs.

    Anyway, if this leads to nowhere, we'll should adapt to something else. But right now, adapting to another toolstack (regardless the hypervisor) would cost far more than making XAPI build from the sources.



  • Hi Olivier,

    yesterday I tried to compile the xenserver-core from the stable branch with no success, xcp-sm is not compiled, I manage to create 114MB of RPM. As I mention in my previous comment, we can make it run,

    github xen-api page tells that we should use xenserver-core to build the RPM packages, most of them compiled without any problem via xenserver-core build process. is there any info that you can share, I think I can manage to compile all the packages, and afterwards I can create an installation repo for that.



  • From which repo you tried to do it exactly? I was working on XAPI repo directly. But I failed to build it (tried xenserver-buildroot and their Docker thing to create the right build env). But some hardcoded URLs are internal to Citrix.

    Ideally, we should be able to build all the dependencies, put them in a RPM repo, and go from a CentOS with Xen to a "XCP"-like.



  • Hi @olivierlambert

    I am also talking about the same place, as they suggest I used xenserver-core, but I did not use docker, I think since they have many other dependencies they are also not using docker environment to build their stuff. the problem is their dependency versions, I did not have time to check but I will check this evening and let you know what package is the one that causes the problem..
    0_1513856644731_Screen Shot 2017-12-21 at 12.42.54.png



  • xenserver-core repository is no more on GitHub. I think they replaced it by buildroot repository (this one).

    The issue with buildroot repo is that's not maintained anymore since a while (last commit is from 2 years ago!).







  • Citrix should come forth with a statement about ether their willingness to make XS really open or not. This halfway situation isn't beneficial for anyone. As it stands, it's a nightmare to try to build a full XS instance from scratch. All it would take is some careful documentation as to all the specific steps and perhaps some additional work to automate this. After all, Citrix does internal automated daily builds and testing of XenServer so they obviously have the know-how!



  • Yes, it can't be black magic. Especially with the great tools we got today. Let's see if they answer this request and how 🙂



  • Okay with xenserver-build-env (here), it seems I'm able to build XAPI (ie: to make executable, not the RPMs yet, this is another process):

    git clone git://github.com/xenserver/xenserver-build-env
    cd xenserver-build-env
    ./build.sh
    ./run.py -p xapi --rm
    
    # --- you are now inside the docker container ---
    
    git clone git://github.com/xapi-project/xen-api
    cd xen-api
    ./configure
    make
    

    To build xcp-networkd, same principle:

    ./build.sh
    ./run.py -p xcp-networkd --rm
    
    # --- you are now inside the docker container ---
    
    git clone https://github.com/xapi-project/xcp-networkd.git
    cd xcp-networkd
    make
    

    And you got the binaries.







  • Works without the project portion -- https://github.com/xcp-ng


Log in to reply