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

    Backup and the replication - Functioning/Scale

    Scheduled Pinned Locked Moved Backup
    20 Posts 6 Posters 687 Views 6 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.
    • F Offline
      fcgo @Pilow
      last edited by

      @Pilow I was asking in the case where the sites are only allowed to communicate via HTTPS, meaning NFS remote at site 1 is accessible through proxy 1, and NFS remote at site 2 is accessible through proxy 2 (XOA being on site 1).

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        Pilow @fcgo
        last edited by Pilow

        @fcgo this is where you reach a limit...
        in an XOA backup copy job configuration, you select the proxy, and it drives source AND destination

        you cannot have a proxy for SOURCE and a proxy for DESTINATION

        P F 2 Replies Last reply Reply Quote 0
        • P Offline
          Pilow @Pilow
          last edited by

          but each remote (SOURCE and DESTINATION) can be attached to the same proxy... so, the proxy read/writes

          and you have to manage your network accordingly so that this proxy can reach each remote (here goes the static routing or vpns...)

          1 Reply Last reply Reply Quote 0
          • F Offline
            fcgo @Pilow
            last edited by fcgo

            @florent can you confirm for the replication job ?

            Thank you

            florentF 1 Reply Last reply Reply Quote 0
            • florentF Offline
              florent Vates 🪐 XO Team @fcgo
              last edited by florent

              @fcgo it goes from xapi (= pool/hosts) to xapi , and xapi to remote as of now, you can't chain proxy .

              xapi call uses https, that means that replication accross sites uses https . If you do backup, and your backup is in the same site as your NFS, then the xapi<-> proxy path is in https, and the proxy <-> NFS will be local

              that is one of the strength ( and complexity ) of xcp-ng infra : everything go through an API ( the xapi ) nobody access host/pool data directly from the outside

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                fcgo @florent
                last edited by fcgo

                @florent Hi,

                Thank you.

                And during backup which host is working hard during the vdi export to XOA (or to the proxy) : is it the host which contains the backed up VM, or is the master also doing some work (other than control channel calls) ? Through which host the network flow is going through ?

                florentF 1 Reply Last reply Reply Quote 0
                • florentF Offline
                  florent Vates 🪐 XO Team @fcgo
                  last edited by florent

                  @fcgo if the storage is shared : the export is done by one of the host of the pool
                  If the storage is not the export is done by the host with the storage . Same for the host receiving the data

                  The command channel, as you said, is always the master to the xoa (and eventually xo-proxy)

                  So for a replication :

                  [source SR] => source host =https export call=> xoa / xo-proxy =https import call=> target host => [target SR]

                  • if the xoa is running on the host doing an export, it does not use the physical network
                  • the network use between the host and SR is dependent on the storage used
                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    fcgo @florent
                    last edited by

                    @florent "the export is done by one of the host of the pool"
                    How is this host selected ? Is it the master one, the one hosting the VM, or the less busy one in case of shared storage ?

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      fcgo @fcgo
                      last edited by

                      @florent did you have the the time to check my last question related to how the host (doing the export) is selected ?

                      Br,

                      florentF 1 Reply Last reply Reply Quote 0
                      • florentF Offline
                        florent Vates 🪐 XO Team @fcgo
                        last edited by

                        @fcgo AFAIK the host is selected as random maybe @andriy.sultanov know more

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          andriy.sultanov Vates 🪐 XAPI & Network Team @florent
                          last edited by

                          @florent @fcgo the host that was queried (with host_ip/export_raw_vdi) will do the export from the shared SR, and will redirect the query to the host that can see the SR otherwise. So it's up to the XO/other orchestrators if they want to distribute the load here.

                          florentF 1 Reply Last reply Reply Quote 0
                          • V Offline
                            Vanny 3rd party vendor
                            last edited by

                            In some third-party backup solutions (for example Vinchin and similar enterprise platforms), proxy pool management and job distribution are fully automated, which helps when managing hundreds or thousands of VMs across sites.

                            1 Reply Last reply Reply Quote 0
                            • olivierlambertO Offline
                              olivierlambert Vates 🪐 Co-Founder CEO
                              last edited by

                              @vanny you can say you are working for Vinchin, I prefer when it's clearly told 😉

                              1 Reply Last reply Reply Quote 0
                              • florentF Offline
                                florent Vates 🪐 XO Team @andriy.sultanov
                                last edited by

                                thanks Andryi
                                We us round robin when using NBD , but to be fair, it does not change the performance a lot in most of the case. The concurrency settings ( multiple connection to the same file ) is helping when there is a high latency between XO and the host.

                                SO , @fcgo if you have thousand of VMs , you should enable NBD it will consume less resource on the DOM0 and XO , and it will be spread on all the possible hosts.

                                1 Reply Last reply Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • First post
                                  Last post