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

    Xen Orchestra - Community Edition - Installing with Yarn

    IT Discussion
    xen orchestra updater ubuntu 16.10 xenorchestra xenserver xen orchestra community xo xoce xcp-ng debian ubuntu
    22
    296
    81.8k
    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.
    • D
      DustinB3403
      last edited by DustinB3403

      As the original topic to install XO is quite long, and has a lot of history now is as good a time as any to create a new thread on how to both install and update your XO installations.

      This has been tested against Ubuntu 16.10 with SSH access as the only added feature.

      Here you can find the github repo where the installation script is kept (and updated to meet any new requirements of XOA)

      To install

      sudo bash
      sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh | bash

      That should be all you need, follow the on screen prompts and you'll have yourself a 100% functional XO installation within minutes.

      To update and to enable some functionality, if you run the below you'll get the ability to import your configuration settings.

      sudo bash
      sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash -s -- -f

      There you go, simple and done.

      D N G B N 6 Replies Last reply Reply Quote 7
      • D
        Danp @DustinB3403
        last edited by

        @DustinB3403 Actually, no need to switch branches and perform the multiple updates. You can accomplish the same thing by using the -f option to force a rebuild.

        1 Reply Last reply Reply Quote 0
        • D
          DustinB3403
          last edited by

          @Danp yeah I figured as much, the switch branch works and is my default 😛

          D 1 Reply Last reply Reply Quote 0
          • D
            Danp
            last edited by

            Now would be a good time to decide between your and SAM's GH repository. The link you posted goes to yours, but the instructions use his. 😉

            D 1 Reply Last reply Reply Quote 0
            • D
              DustinB3403 @Danp
              last edited by

              @Danp said in Xen Orchestra - Community Edition - Installing with Yarn:

              Now would be a good time to decide between your and SAM's GH repository. The link you posted goes to yours, but the instructions use his. 😉

              Bad habits... dang it.

              Corrected.

              1 Reply Last reply Reply Quote 1
              • D
                Danp @DustinB3403
                last edited by

                @DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:

                @Danp yeah I figured as much, the switch branch works and is my default 😛

                Just because you like to make things harder than necessary doesn't justify you passing that on to everyone else. 😜

                1 Reply Last reply Reply Quote 0
                • B
                  BRRABill
                  last edited by

                  @DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:

                  sudo bash
                  sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash -s -- -f

                  So just to confirm for anyone who might be a bit new to all this stuff (asking for a friend) ...

                  Once you have XO installed, you run the above command to update your existing installation, right?

                  I had just been updating it, but you said to rebuild/reinstall which is what I have been doing.

                  D 2 Replies Last reply Reply Quote 0
                  • D
                    DustinB3403 @BRRABill
                    last edited by

                    @BRRABill said in Xen Orchestra - Community Edition - Installing with Yarn:

                    @DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:

                    sudo bash
                    sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash -s -- -f

                    So just to confirm for anyone who might be a bit new to all this stuff (asking for a friend) ...

                    Once you have XO installed, you run the above command to update your existing installation, right?

                    I had just been updating it, but you said to rebuild/reinstall which is what I have been doing.

                    By using the force option (or switch build if you want to go to next-release or back to stable) the scripts enable the ability to import your configuration from any other XO installations you may have.

                    B 1 Reply Last reply Reply Quote 0
                    • D
                      DustinB3403 @BRRABill
                      last edited by

                      @BRRABill If you are running the installation for the first time on a system, it will be current, but without the enabled functionality.

                      1 Reply Last reply Reply Quote 0
                      • B
                        BRRABill @DustinB3403
                        last edited by

                        @DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:

                        @BRRABill said in Xen Orchestra - Community Edition - Installing with Yarn:

                        @DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:

                        sudo bash
                        sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash -s -- -f

                        So just to confirm for anyone who might be a bit new to all this stuff (asking for a friend) ...

                        Once you have XO installed, you run the above command to update your existing installation, right?

                        I had just been updating it, but you said to rebuild/reinstall which is what I have been doing.

                        By using the force option (or switch build if you want to go to next-release or back to stable) the scripts enable the ability to import your configuration from any other XO installations you may have.

                        But I mean you recommend this over the straight "updating" the @olivier describes on the XO site.

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          DustinB3403 @BRRABill
                          last edited by

                          @BRRABill I think you are missing the two things being discussed.

                          Recently @olivier and his team enabled the use of Yarn (you can find instructions here on how to install this and then upgrade) as you have in the past.

                          Or you can export your settings, and create a new installation, with Yarn packed in. From there just import your configuration settings.

                          1 Reply Last reply Reply Quote 0
                          • B
                            BRRABill
                            last edited by

                            Ah, OK.

                            Sorry was out for a few days, just getting my brain warmed back up!

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              DustinB3403 @BRRABill
                              last edited by DustinB3403

                              @BRRABill No problem.

                              The Yarn package does a better job of managing NPM, so we had to update the installation process, along with determine a way that we could install Yarn into existing systems.

                              Building a new system is almost easier in that you can export and import your configurations.

                              So there is no "good" reason to be stuck on one.

                              1 Reply Last reply Reply Quote 1
                              • N
                                noelweston @DustinB3403
                                last edited by

                                @DustinB3403 - I just signed up to say a massive thank you for this - I've been struggling with the previous instructions and going round in circles with no success. I've now used your script to build successfully on a ubuntu 16.04 server and am up and running.

                                I did find a couple of issues along the way - firstly, is there a typo in the command line? I think the correct path should be github.com/Jarli01/xenorchestra_installer/master/xo_install.sh - I only got it working in the first place by downloading the script and running locally.

                                Secondly, on my system at least, yarn wasn't installed, so the first run of the script failed - it was an easy enough correction to make, but could be checked and covered within the script?

                                Anyway, thanks again 🙂

                                Noel Weston

                                scottalanmillerS D 3 Replies Last reply Reply Quote 3
                                • scottalanmillerS
                                  scottalanmiller @noelweston
                                  last edited by

                                  @noelweston welcome to MangoLassi!

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    Danp @noelweston
                                    last edited by

                                    @noelweston I believe the path should actually be -- https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh

                                    N 1 Reply Last reply Reply Quote 0
                                    • N
                                      noelweston @Danp
                                      last edited by

                                      @Danp - OK - as I said, I've got round it - but I think there's a spare "edit" in the first post / instructions?

                                      @scottalanmiller - thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        Danp @noelweston
                                        last edited by

                                        @noelweston said in Xen Orchestra - Community Edition - Installing with Yarn:

                                        Secondly, on my system at least, yarn wasn't installed

                                        Looks like the actual command to install is missing. According to their website, the proper command would be sudo apt-get update && sudo apt-get install yarn.

                                        N 1 Reply Last reply Reply Quote 1
                                        • N
                                          noelweston @Danp
                                          last edited by

                                          @Danp - Yes, that's what I ended up doing. Might just be worth either adding to the script (if that doesn't cause other issues) or at least warning for noobs like me?

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            Danp
                                            last edited by

                                            I'm sure @DustinB3403 will get it fixed up shortly.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 12 / 15
                                            • First post
                                              Last post