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

    Long backup times via NFS to Data Domain from Xen Orchestra

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

      @florent what if we use XO Proxies ?

      florentF 1 Reply Last reply Reply Quote 0
      • M Online
        MajorP93 @florent
        last edited by

        @florent said in Long backup times via NFS to Data Domain from Xen Orchestra:

        @MajorP93 this settings exists (not in the ui )

        you can create a configuration file named /etc/xo-server/config.diskConcurrency.toml if you use a xoa

        containing

        [backups]
        diskPerVmConcurrency = 2
        
        

        Hey, does this also work for XO from sources users?

        It would be great indeed if there was an UI option for this.

        best regards

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

          @Pilow said in Long backup times via NFS to Data Domain from Xen Orchestra:

          @florent what if we use XO Proxies ?

          te the conf should be on the proxy is /etc/xo-proxy/

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

            @MajorP93 the config should be in ~/.config/xo-server/ of the user running xo-server

            It is noted

            M 1 Reply Last reply Reply Quote 1
            • M Online
              MajorP93 @florent
              last edited by

              @florent said in Long backup times via NFS to Data Domain from Xen Orchestra:

              @MajorP93 the config should be in ~/.config/xo-server/ of the user running xo-server

              It is noted

              Thanks.

              I tried what you said and placed the "config.diskConcurrency.toml" in "~/.config/xo-server/".

              However my XO instance seems to not pick up the config. For VMs that have a lot of disks still all disks are being backed up at the same time. (E.g. 9 disks at the same time instead of the 2 defined in the config file).

              root@2d4da229555e:~/.config/xo-server# pwd
              /root/.config/xo-server
              root@2d4da229555e:~/.config/xo-server# ls -alh
              total 16K
              drwxr-xr-x 2 root root 4.0K Nov 18 10:36 .
              drwxr-xr-x 3 root root 4.0K Nov 17 09:03 ..
              -rw-r--r-- 1 root root   35 Nov 18 10:36 config.diskConcurrency.toml
              -rw------- 1 root root   72 Nov 17 09:03 config.z-auto.json
              root@2d4da229555e:~/.config/xo-server# cat config.diskConcurrency.toml 
              [backups]
              diskPerVmConcurrency = 2
              

              @florent is it also possible to append the [backups] section with the option you specified to the main config.toml file?

              1 Reply Last reply Reply Quote 0
              • T Offline
                tmk @florent
                last edited by

                @florent
                Sorry for the late reply, yes, we had previously tried that setting and found that it did not provide any speed increase in our case. One thing to note is that we do have our backup jobs configured to merge backups synchronously, we're starting to test some of our jobs with that setting disabled.

                We had originally turned it on because we experienced a lot of backup failures due to locking errors. We've since added additional proxies as we've found that the amount of data that a single proxy can backup in a nightly window was the primary bottleneck in our environment.

                Since adding the additional proxies we've started disabling the synchronous backup merge for several of our jobs and so far it has been working pretty well and our backup times have been running faster (obviously since the final merge was the vast majority of the time that we observed in our backup steps).

                M 1 Reply Last reply Reply Quote 1
                • M Online
                  MajorP93 @tmk
                  last edited by MajorP93

                  Hey,
                  small update:
                  while adding the backup section and "diskPerVmConcurrency" option to "/etc/xo-server/config.diskConcurrency.toml" or "~/.config/xo-server/config.diskConcurrency.toml" had no effect for me, I was able to get this working by adding it at the end of my main XO config file at "/etc/xo-server/config.toml".

                  Best regards

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

                    @MajorP93 that's nice to hear taht it, at least solved the issue
                    are you using a xoa ? or a compiled fro source ?
                    what is the user that run the xo service ?

                    M 1 Reply Last reply Reply Quote 0
                    • M Online
                      MajorP93 @florent
                      last edited by MajorP93

                      @florent Unfortunately it is not working. Yesterday when I checked it was actually backing up a VM which had only 2 disks and by mistake I thought it was one of the VMs with a lot of disks attached to it. Sorry for the confusion.

                      It still looks like this
                      1a1b9b32-52bb-44e2-9c1f-9427e3925e14-grafik.png

                      Even though I added to my config file at /etc/xo-server/config.toml:

                      #=====================================================================
                      
                      # Configuration for backups
                      [backups]
                      diskPerVmConcurrency = 2
                      

                      Other settings I defined in /etc/xo-server/config.toml are working just fine. E.g. setting HTTP to HTTPS redirection, SSL certificate or similar.
                      So I think Xen Orchestra (XO from sources) reads my config file. It appears that the backup option "diskPerVmConcurrency" does not have any effect at all. No matter in what file I set it.

                      Is this setting working for anyone else?

                      ForzaF 1 Reply Last reply Reply Quote -1
                      • ForzaF Offline
                        Forza @MajorP93
                        last edited by

                        @MajorP93 You need to set concurrency so it only exports one VM at the time.

                        2cfeaf5d-d655-44e5-b3e7-84965616a2fe-image.png

                        M 1 Reply Last reply Reply Quote 0
                        • M Online
                          MajorP93 @Forza
                          last edited by

                          @Forza said in Long backup times via NFS to Data Domain from Xen Orchestra:

                          @MajorP93 You need to set concurrency so it only exports one VM at the time.

                          2cfeaf5d-d655-44e5-b3e7-84965616a2fe-image.png

                          Yeah I know but I want to achieve something else. I want to configure the amount of virtual disks that are being backed up at the time per VM.
                          I have concurrency set to 2 which works fine for all VMs except the ones that have many disks.
                          For those I have performance issues because by default Xen Orchestra will backup all virtual disks at the same time...

                          ForzaF 1 Reply Last reply Reply Quote 0
                          • ForzaF Offline
                            Forza @MajorP93
                            last edited by

                            @MajorP93 aha, yea. Per disk concurrency is important too.

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post