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

    Xen Orchestra on Ubuntu 15.10 - Complete installation instructions

    IT Discussion
    how to xen orchestra ubuntu 15.10 debian xen open source ubuntu linux xenserver
    24
    609
    281.7k
    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.
    • DustinB3403D
      DustinB3403
      last edited by DustinB3403

      At the moment I'm build a test XO update script..

      Wish me luck.

      🙂

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

        So I've made a super simple script file that will update your XO installation.

        I recommend that you shutdown the XO services while this runs.

        sudo mkdir /opt/xo-update
        cd /opt/xo-update
        wget https://gist.githubusercontent.com/Jarli01/4d32d4f1b8c5786c9299/raw/c1af91129bdbd4775653932aa957c2ea48889fe7/xo-update.sh
        chmod +x xo-update.sh
        

        To run it

        from /opt/xo-update

         sudo ./xo-update.sh
        
        A 1 Reply Last reply Reply Quote 0
        • A
          Alex Sage @DustinB3403
          last edited by

          @DustinB3403 can we just add this as an option to @scottalanmiller script? Having it all in one script would be nice.

          DustinB3403D 1 Reply Last reply Reply Quote 1
          • DashrenderD
            Dashrender
            last edited by

            Should you perhaps add the shut down of XO to the script? Perhaps prompt the user that it's going to happen and give them an out?
            Or is that to Windowsee?

            scottalanmillerS DustinB3403D 2 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @Dashrender
              last edited by

              @Dashrender said:

              Should you perhaps add the shut down of XO to the script? Perhaps prompt the user that it's going to happen and give them an out?
              Or is that to Windowsee?

              A bit Windowsee 🙂

              1 Reply Last reply Reply Quote 1
              • DustinB3403D
                DustinB3403 @Alex Sage
                last edited by

                @anonymous said:

                @DustinB3403 can we just add this as an option to @scottalanmiller script? Having it all in one script would be nice.

                The installation script only currently does the installation.

                Where as updating could be performed daily or even weekly depending on how often @olivier and his team make adjustments.

                Having the separate script made more sense to me.

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

                  Now you could, just rerun the installation script.... but that seems like overkill.

                  A 1 Reply Last reply Reply Quote 1
                  • DustinB3403D
                    DustinB3403 @Dashrender
                    last edited by

                    @Dashrender said:

                    Should you perhaps add the shut down of XO to the script? Perhaps prompt the user that it's going to happen and give them an out?
                    Or is that to Windowsee?

                    That is a very simple exit command.

                    But presumably you want to run it on your schedule. So it's not getting turned off at whatever schedule.

                     sudo npm stop
                    

                    But yeah....

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

                      @DustinB3403 said:

                      Now you could, just rerun the installation script.... but that seems like overkill.

                      Agreed.

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

                        @DustinB3403 said:

                        @Dashrender said:

                        Should you perhaps add the shut down of XO to the script? Perhaps prompt the user that it's going to happen and give them an out?
                        Or is that to Windowsee?

                        That is a very simple exit command.

                        But presumably you want to run it on your schedule. So it's not getting turned off at whatever schedule.

                         sudo npm stop
                        

                        But yeah....

                        ummm.. wouldn't you be running the update on that same schedule? I'm assuming there would be some kind of service interruption when you apply the updates? at least a possible one.

                        DustinB3403D 1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403 @Dashrender
                          last edited by DustinB3403

                          @Dashrender The only interruption would be to XO, not your VM's.

                          If you have "maintenance planned" then you run your updates and go on with your day.

                          My reasoning for making it a manual run, is if you break your installation, then its on you. You can't access the files while XO is running, it breaks something in there (from experience)

                          Since this is the Open-Source version, I'm assuming you'll (we) will only update when we see something is broken, or a need for a feature, or lastly because it's awesome and we need to update.

                          Shutting down the system automatically could be detrimental to your infrastructure (breaking your XO installation) which can effect your backup schedule.

                          IE new XO installation, would change your backup schedule.
                          Edit: meaning your backup directly might inadvertently become full because you end up with delta's and the initial full which never go away....

                          1 Reply Last reply Reply Quote 1
                          • coliverC
                            coliver
                            last edited by

                            Does XO have "HA" capabilities? Can you run two XO servers in sync?

                            DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
                            • DustinB3403D
                              DustinB3403 @coliver
                              last edited by

                              @coliver said:

                              Does XO have "HA" capabilities? Can you run two XO servers in sync?

                              Calling @olivier

                              I'm not sure, I don't see why you couldn't have multiple XO servers running at once, but I'm uncertain of what capabilities you'd gain if any.

                              Other than the ability to test updates on one host first, and then the other. Limiting your downtime.

                              1 Reply Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender
                                last edited by

                                @DustinB3403
                                In that case I guess I'd update the script to not only shut down XO before updating, but also running a backup using that other (I can't recall the name of it) backup solution you were using before XO. Then you'd have a fall back point before you ran the update, and could easily fail back to it in case you have problems after the updates.

                                now you have a whole solution. 😉

                                1 Reply Last reply Reply Quote 1
                                • DustinB3403D
                                  DustinB3403
                                  last edited by

                                  @Dashrender NAUBackup, yes it's a viable solution that works from XenServer.

                                  It could certainly work, but it's at a separate host, not sure how you'd script that....

                                  NAUBackup just runs from crontab (or manually if you run it).

                                  I'd just use XC to snapshot what's there for XO, update and test. If all is good, delete the Snapshot.

                                  DashrenderD 1 Reply Last reply Reply Quote 0
                                  • DustinB3403D
                                    DustinB3403
                                    last edited by

                                    XO is able to back it's self up so that works as well.

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

                                      @DustinB3403 said:

                                      @Dashrender NAUBackup, yes it's a viable solution that works from XenServer.

                                      It could certainly work, but it's at a separate host, not sure how you'd script that....

                                      NAUBackup just runs from crontab (or manually if you run it).

                                      I'd just use XC to snapshot what's there for XO, update and test. If all is good, delete the Snapshot.

                                      There has to be a way to script that. Make it all part of your XO update script.

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

                                        @coliver said:

                                        Does XO have "HA" capabilities? Can you run two XO servers in sync?

                                        Sure, just RSYNC them between hosts. It's a web app, so you can do it in any way that you do with web apps. You can run multiple in parallel for load balancing or whatever. Think of the Xen machines themselves as the databases and XO as the application.

                                        1 Reply Last reply Reply Quote 0
                                        • DustinB3403D
                                          DustinB3403 @Dashrender
                                          last edited by

                                          @Dashrender said:

                                          @DustinB3403 said:

                                          @Dashrender NAUBackup, yes it's a viable solution that works from XenServer.

                                          It could certainly work, but it's at a separate host, not sure how you'd script that....

                                          NAUBackup just runs from crontab (or manually if you run it).

                                          I'd just use XC to snapshot what's there for XO, update and test. If all is good, delete the Snapshot.

                                          There has to be a way to script that. Make it all part of your XO update script.

                                          Not that I'm not interested. But how?

                                          NAUBackup literally runs on Xen, no VM.

                                          XO runs in a VM.

                                          If you could make outward calls from a VM to the Hypervisor you'd be risking the security of the system as a whole.

                                          scottalanmillerS DashrenderD 2 Replies Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @DustinB3403
                                            last edited by

                                            @DustinB3403 said:

                                            Not that I'm not interested. But how?

                                            NAUBackup literally runs on Xen, no VM.

                                            XO runs in a VM.

                                            If you could make outward calls from a VM to the Hypervisor you'd be risking the security of the system as a whole.

                                            How would you call NAUBackup normally?

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 30
                                            • 31
                                            • 9 / 31
                                            • First post
                                              Last post