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.1k
    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.
    • 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
                      • DashrenderD
                        Dashrender @DustinB3403
                        last edited by

                        @DustinB3403 said:

                        @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.

                        I definitely understand where you are going with that, but I'm assuming that you could create dedicated accounts for these types of tasks, and those accounts would be able to accomplish these goals through remote triggers.

                        You can update whole server farms remotely in a secure fashion, no reason you can't do these processes the same.

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

                          Directly from the Hypervisor's crontab job

                          Or the cli to do it directly.

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

                            @DustinB3403 said:

                            Directly from the Hypervisor's crontab job

                            Or the cli to do it directly.

                            You can get to the CLI from the VM the same as from wherever you are getting to it from.

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

                              @scottalanmiller said:

                              @DustinB3403 said:

                              Directly from the Hypervisor's crontab job

                              Or the cli to do it directly.

                              You can get to the CLI from the VM the same as from wherever you are getting to it from.

                              Putty and XC.

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

                                @DustinB3403 said:

                                @scottalanmiller said:

                                @DustinB3403 said:

                                Directly from the Hypervisor's crontab job

                                Or the cli to do it directly.

                                You can get to the CLI from the VM the same as from wherever you are getting to it from.

                                Putty and XC.

                                So SSH.

                                The script can use SSH just like Putty can.

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

                                  is there any reason that this whole script couldn't be run from the XC server itself? Everything done over SSH, etc?

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

                                    @Dashrender do you mean run XO from Xen directly?

                                    Rather than in it's own VM?

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

                                      @DustinB3403 said:

                                      @Dashrender do you mean run XO from Xen directly?

                                      Rather than in it's own VM?

                                      No, run the scripts that update XO, and kick off the backup/snap/etc of XO from XC/Xen directly.

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

                                        @Dashrender said:

                                        @DustinB3403 said:

                                        @Dashrender do you mean run XO from Xen directly?

                                        Rather than in it's own VM?

                                        No, run the scripts that update XO, and kick off the backup/snap/etc of XO from XC/Xen directly.

                                        But why?

                                        You can run a scheduled backup from within XO to backup your XO VM on any schedule you set. Once that completes run the xo-update.sh script and confirm all is functional.

                                        This would also allow you to take advantage of the Continuous delta capabilities. Rather than having to build a full every time you want to update.

                                        It would be much easier to set a backup to run weekly for just the XO VM, stop the services, run the update, reboot XO VM, and restart the services.

                                        DashrenderD 1 Reply Last reply Reply Quote 1
                                        • DanpD
                                          Danp
                                          last edited by

                                          You could use xo-cli to make the backup or create a snapshot.

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

                                            Just so everyone is aware, this installation runs from an Active SSH Connection.

                                            I'm still trying to figure out how to get it to run at boot, without needing an Active Connection.

                                            travisdh1T 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 30
                                            • 31
                                            • 2 / 31
                                            • First post
                                              Last post