XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XO Lite: building an embedded UI in XCP-ng

    Scheduled Pinned Locked Moved XO Lite
    87 Posts 33 Posters 41.0k Views 23 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GheppyG Offline
      Gheppy
      last edited by Gheppy

      To be a good alternative to XCP-NG Center you have to do at least what XCP-NG Center does.
      E.g:

      • I haven't found in XOCE, so far, how to rearrange the VHDs of a VM, the only method, which I found , is to reattach them in the order I want,
      • To be able to snopshoot,
      • To be able to import and export,
      • To be able to migrate a VM, implicitly to be able to add another host on which to migrate the VM. This is good when the current host has a problem,
      • To group VMs by hosts, sometimes it is more useful to see which VMs are affected if you restart a host, XOCE displays them all but you cannot group/subgroup them on hosts that they are running on,
      • It can be restarted even if it is the only host, XOCE only wants it if the VMs are all turned off.

      In essence, XCP-NG Center does almost everything XOCE does, but manually. Which is OK when you have a breakdown.

      Don't get me wrong I use XOCE the most and I understand its importance but sometimes a XCP-NG Center is good to have, especially a local one on the host.

      D 1 Reply Last reply Reply Quote 1
      • D Offline
        dane7791 @Gheppy
        last edited by

        i agree with @gheppy to have XCP-ng center run as a service on a sin out VM would be nice and with all the features of XOA instead of having to run XOA from sources to get all the features...you can run snapshots on a schedule with the center app and keep X number of iterations but are limited to local drive. instead of XO LITE why not go for xcp-ng center as a service with all options to run on a VM...i don know about most but i like the look and feel of xcp-ng center

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates πŸͺ Co-Founder CEO
          last edited by olivierlambert

          @Gheppy it's a bit off topic but:

          1. You can rearrange disk in Xen Orchestra, you can drag and drop them

          I'm not sure to understand the rest, because that's precisely the goal of XO Lite, being able to get rid of XCP-ng Center to manage your pool, with equivalent features.

          Did you missed the first post maybe? @dane7791 seems affected by the same problem. Please take time to read the first post with the link to the blog article. Everything is explained in there πŸ™‚

          1 Reply Last reply Reply Quote 0
          • A Offline
            adriangabura
            last edited by

            @olivierlambert

            ERROR: cannot verify lite.xen-orchestra.com's certificate, issued by β€˜/C=US/O=Let's Encrypt/CN=R3’:
              Issued certificate has expired.
            To connect to lite.xen-orchestra.com insecurely, use `--no-check-certificate'.
            

            Just a heads-up your certificate expired.

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates πŸͺ Co-Founder CEO
              last edited by olivierlambert

              Hi,

              No the certificate is fine. The issue is on your side, from the XCP-ng version you have I assume (not fully up to date?)

              Capture d’écran de 2022-05-02 10-49-41.png

              1 Reply Last reply Reply Quote 0
              • J Offline
                john.c
                last edited by john.c

                @olivierlambert The command for wget specified in the initial post, will always re-download the xolite file. So can't be used in a crontab operation during the beta, in order to update the file locally.

                However the following may be utilised as part of a crontab command section, line entry.

                wget -N https://lite.xen-orchestra.com/dist/ -O /opt/xensource/www/xolite.html
                

                The additional option I added to the post here, will cause wget to check if the remote file to be downloaded has changed at all. Then only download the file if the remote has changed, otherwise will not. That will therefore as a result save a lot of bandwidth, for Vates when downloading the html file, if the check and download isn't too often!

                So when this item has been validated, and if Vates agrees and allows can the original post be updated with the new wget specified here please?

                Also the crontab entry and your downloaded xolite html will also need to be removed, once the XO Lite fully gets, rolled out as part of an updated XCP-ng. This in my opinion will have the likely hood of happening, during one of the 8.2 point releases as long as it fits the LTS rules, more likely though will be in 8.3 or later, and while in the next LTS release series.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  john.c
                  last edited by john.c

                  @olivierlambert @clemencebx What vocabulary will be used when there's at least two layers (levels) of priority? Think of how old legacy bios system boards, handled the IDE physical drive boot priority connections! As well as documented in the manuals, for said items.

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO olivierlambert referenced this topic on
                  • R Offline
                    redy
                    last edited by

                    Hi,
                    Great work so far!
                    My suggestion is to have xo.little as little as possible, so:

                    1. create/add storage(iso) is a must to have
                    2. create/add network is a must to have
                    3. create/add VM is must to have
                      all other things can be done after installing XO πŸ™‚
                      It was a challenge to configure a lab env. from scratch without WindowsPC so xo.lite is a good direction
                    1 Reply Last reply Reply Quote 0
                    • konsultanerK Offline
                      konsultaner
                      last edited by

                      @olivierlambert how can one contribute to XO-Lite? I might get some time for at least some simple features.

                      1 Reply Last reply Reply Quote 0
                      • olivierlambertO Offline
                        olivierlambert Vates πŸͺ Co-Founder CEO
                        last edited by

                        Hi @konsultaner !

                        Let me ping the right person to assist on this πŸ™‚

                        1 Reply Last reply Reply Quote 0
                        • ByscriptsB Offline
                          Byscripts
                          last edited by

                          Hi @konsultaner.

                          I'll have to check with the XO Lite team to see what needs to be done, but I can already tell you how to set up the project and get on board.

                          1. Fork and clone the GitHub Repository
                          2. Go to the @xen-orchestra/lite directory
                          3. Copy the .env.dist file to .env and edit it to configure your XCP-ng server host URL (VITE_XO_HOST=http://...)
                          4. Install dependencies: yarn install
                          5. Run the dev server: yarn dev

                          If all has gone well, you should be able to access the XO Lite Dashboard from http://localhost:3000

                          Thank you.

                          1 Reply Last reply Reply Quote 1
                          • konsultanerK Offline
                            konsultaner
                            last edited by

                            why is this part of the commercial repo? what if the lite has some of the commercial features?

                            1 Reply Last reply Reply Quote 0
                            • olivierlambertO Offline
                              olivierlambert Vates πŸͺ Co-Founder CEO
                              last edited by olivierlambert

                              what are you talking about? There's no "commercial repo" πŸ€” Xen Orchestra repo is where we store all the XO source code, and the whole code is aGPLv3. I don't understand why are you talking about a "commercial repo" ?

                              1 Reply Last reply Reply Quote 1
                              • konsultanerK Offline
                                konsultaner
                                last edited by

                                @olivierlambert I thought I need a license to use all features of XO? I didn't go through all the code. I have another project, that only provides non-commercial parts of the product in the official repo and the enterprise parts are in a private repo. So I wasn't sure if XO had all code hosted in that repo or just the free to use features? I wasn't ment to be offending, sorry.

                                ByscriptsB 1 Reply Last reply Reply Quote 0
                                • olivierlambertO Offline
                                  olivierlambert Vates πŸͺ Co-Founder CEO
                                  last edited by olivierlambert

                                  @olivierlambert I thought I need a license to use all features of XO?

                                  No. It's even explained in our official documentation: see https://xen-orchestra.com/docs/installation.html#from-the-sources

                                  If you git pull from our repo, and build it, you'll have absolutely all XO features. It's not open core, it's true open source. Our business model is creating XOA -Xen Orchestra virtual Appliance- (a dedicated VM bundled with QA and support). XOA brings extra features unrelated to XO, like an easy way to update it, stable/latest channels, and some stuff linked to your xen-orchestra.com account.

                                  No worries and no offense πŸ™‚

                                  1 Reply Last reply Reply Quote 0
                                  • ByscriptsB Offline
                                    Byscripts @konsultaner
                                    last edited by Byscripts

                                    @konsultaner

                                    The complete source code is open source and freely available with no paywall.

                                    (And I don't think you were offending ^^)

                                    Edit: too late 😁

                                    1 Reply Last reply Reply Quote 0
                                    • konsultanerK Offline
                                      konsultaner
                                      last edited by

                                      ok, cool. So yes, then it would be great to see what needs to be done. I can start off with adding a german translation πŸ™‚

                                      1 Reply Last reply Reply Quote 0
                                      • olivierlambertO Offline
                                        olivierlambert Vates πŸͺ Co-Founder CEO
                                        last edited by

                                        Sure! A translation is a first good way to contribute πŸ™‚ Happy to have more people on board!

                                        1 Reply Last reply Reply Quote 0
                                        • O Offline
                                          ocktek
                                          last edited by

                                          Hello Oliver and thanks for your work.

                                          Can we add a function to send a "ctrl-alt-del" to the vm in Xo Lite? Particularly for Windows server OS's that requires it in order to get logon screen.

                                          Thanks.

                                          1 Reply Last reply Reply Quote 0
                                          • olivierlambertO Offline
                                            olivierlambert Vates πŸͺ Co-Founder CEO
                                            last edited by

                                            @ocktek sure, let me prioritize this πŸ™‚

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post