ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Xen Orchestra Upgrading

    IT Discussion
    xen orchestra how to update upgrade git
    8
    87
    23.4k
    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.
    • DashrenderD
      Dashrender @olivier
      last edited by

      @olivier said:

      @Dashrender You mean without creating multiple backup jobs? (to avoid full disks multiplications?)

      Yes - Veeam and other backup vendors have this feature. I mention for example of how they do it.

      1 Reply Last reply Reply Quote 0
      • olivierO
        olivier
        last edited by olivier

        Hmm.. Even in forever forward incremental?

        edit: because we merge offline, the full disk will be modified accordingly. It will be correct for a "subjob", e.g every hour. But the base won't be anymore correct for another "subjob", let's say every day: because it's now modified by the other one.

        edit: or they need to be synchronized (at the same time). Let's say every hour at the hour (3:00, 4:00) and another one every day, at 3:00. This way we could roll fully offline, by having a copy of the delta preserved for a longer time.

        1 Reply Last reply Reply Quote 0
        • A
          Alex Sage
          last edited by Alex Sage

          @DustinB3403 @olivier do these commands bring me to the latest stable build, or the latest beta build? I want to upgrade to the latest stable build. What folder do I run the command it or does it not matter? Do I have to run them in both folders?

          olivierO 1 Reply Last reply Reply Quote 0
          • olivierO
            olivier @Alex Sage
            last edited by

            @anonymous There is (mainly) 2 branches:

            • stable (which is stable 😉 )
            • next-release (which is like a beta branch)

            To be sure you are on stable, go inside both xo-web and xo-server folder and do a git checkout stable. Then, you need to rebuild with npm i and npm run build.

            A 1 Reply Last reply Reply Quote 1
            • A
              Alex Sage @olivier
              last edited by Alex Sage

              @olivier Thanks! Now I just need to write a script and setup a cron job for automatic updates 🙂

              DustinB3403D olivierO 2 Replies Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403 @Alex Sage
                last edited by

                @anonymous said:

                @olivier Thanks! Now I just need to write a script and setup a cron job for automatic updates 🙂

                Do share it when you have it built so we can vet it for you.

                🙂

                1 Reply Last reply Reply Quote 0
                • olivierO
                  olivier @Alex Sage
                  last edited by

                  @anonymous I won't do that. Upgrade only when needed. If we change something in the DB structure, or if there is a npm dependency problem, you Cron job could be dangerous.

                  A JaredBuschJ 2 Replies Last reply Reply Quote 0
                  • A
                    Alex Sage @olivier
                    last edited by

                    @olivier Thanks!

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @olivier
                      last edited by

                      @olivier said:

                      @anonymous I won't do that. Upgrade only when needed. If we change something in the DB structure, or if there is a npm dependency problem, you Cron job could be dangerous.

                      I completely disagree. That is the entire point of a stable branch. If it is not stable, then remove the name.

                      olivierO 1 Reply Last reply Reply Quote 0
                      • olivierO
                        olivier @JaredBusch
                        last edited by olivier

                        @JaredBusch You don't get it. It's not about the XO code itself, it's all about dependencies.

                        Eg. by making a CRON job which git pull (no problem) everyday but also npm i: that's the issue. If a related dependency changed, and even XO doesn't, you could break the software. We saw the issue recently with lodash team making a big mistake which affected a LOT of projects using it.

                        edit: again, that's the point of XOA: packing something with QA on the software but also on dependencies. You can imagine this like a distro.

                        JaredBuschJ 1 Reply Last reply Reply Quote 3
                        • JaredBuschJ
                          JaredBusch @olivier
                          last edited by JaredBusch

                          @olivier said:

                          @JaredBusch You don't get it. It's not about the XO code itself, it's all about dependencies.

                          Eg. by making a CRON job which git pull (no problem) everyday but also npm i: that's the issue. If a related dependency changed, and even XO doesn't, you could break the software. We saw the issue recently with lodash team making a big mistake which affected a LOT of projects using it.

                          edit: again, that's the point of XOA: packing something with QA on the software but also on dependencies.

                          Ok, that is more clear then. Your problem is other packages break your stuff.

                          This is the same problem I have with NodeBB.

                          olivierO 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            Yes, random stuff is catching NodeBB quite often, although it has gotten loads better.

                            1 Reply Last reply Reply Quote 0
                            • olivierO
                              olivier @JaredBusch
                              last edited by

                              @JaredBusch That's a common problem is software development ^^ That's why Linux distributions exists: gathering a lot of small programs and making them working together.

                              JaredBuschJ 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @olivier
                                last edited by

                                @olivier said:

                                @JaredBusch That's a common problem is software development ^^ That's why Linux distributions exists: gathering a lot of small programs and making them working together.

                                The solution in my mind is then to have some method of controlling what npm i does with various versions. I believe that you can manually pull specific versions for npm but that is all something I only tinkered with to date.

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller
                                  last edited by

                                  Yes, NPM can definitely be controlled.

                                  1 Reply Last reply Reply Quote 0
                                  • olivierO
                                    olivier
                                    last edited by

                                    We don't want to stick manually on version for each dependency (there is a lot of them). And what about dependencies of dependencies? That's a HUGE thing to manage manually.

                                    1 Reply Last reply Reply Quote 0
                                    • FATeknollogeeF
                                      FATeknollogee @JaredBusch
                                      last edited by

                                      @JaredBusch said in Xen Orchestra Upgrading:

                                      All of @DustinB3403's fanboy enthusiasm aside, this is yet another reason why XO is not something ready for prime time in the SMB space. It is too much work.

                                      By extension, this is also why XS is not ready for prime time in the SMB space. In this space we generally need ready built tools that take little to no fiddling to keep up to date and active.

                                      As an ITSP, I can assure you that it is much more cost effective for my client to run Hyper-V and buy Veeam than to pay my rates setting up and maintaining something like XO.

                                      The same goes for the in house lone wolf IT guy. His time is not free, no matter how some people look at salary employees.

                                      Don't get me wrong, I like XS and XOA looks awesome, but for the price point, I will still recommend something stable that has been around longer (Veeam). Dropping the Price point means using XO and that is simply too much in man hours.

                                      Just curious if @JaredBusch opinion is different or still the same?

                                      1 Reply Last reply Reply Quote 0
                                      • olivierO
                                        olivier
                                        last edited by

                                        Note this opinion is on XS + XO from the sources. If you pay for the turnkey version (appliance + updater + support) this comment is not relevant.

                                        DashrenderD 1 Reply Last reply Reply Quote 1
                                        • DashrenderD
                                          Dashrender @olivier
                                          last edited by

                                          @olivier said in Xen Orchestra Upgrading:

                                          Note this opinion is on XS + XO from the sources. If you pay for the turnkey version (appliance + updater + support) this comment is not relevant.

                                          Sure, but the turnkey version for an SMB is significantly more expensive than the SMB pricing for Veeam, so....

                                          olivierO 1 Reply Last reply Reply Quote 0
                                          • olivierO
                                            olivier @Dashrender
                                            last edited by

                                            @Dashrender Depends on the number of sockets you have.

                                            DashrenderD 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • First post
                                              Last post