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

    XEN Orchestra Snapshot Space for Backups

    Scheduled Pinned Locked Moved Xen Orchestra
    16 Posts 6 Posters 3.8k Views 2 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by olivierlambert

      We did benchmarks, and we had the same perf level between both NFS and iSCSI.

      1 Reply Last reply Reply Quote 0
      • fohdeeshaF Offline
        fohdeesha Vates 🪐 Pro Support Team @jtbw911
        last edited by fohdeesha

        @jtbw911 This is on mostly gen 12 dell hardware (R720, R620, etc) so coming up on 8 years old now, not exactly what I would call the latest and greatest. If you peruse the freenas forums, you will also find a lot of users there (mostly esxi users in fact) have also been migrating from iSCSI to NFS as the performance delta is all but gone these days (aided by running a recent freeNAS release). Some tickets are certainly related to configuration mistakes, but they are a small minority. Even perfectly setup, iscsi is much more prone to race conditions, leaving a giant mess of VDI chains when there's an issue, etc. If you'd like to test for yourself, just interrupt the connection to an iSCSI SR during a chain operation, it will take hours to clean up the aftermath. With NFS, there's no issue at all, it will gracefully remount and continue working when the remote returns. This is one example of the tickets we have to deal with.

        If you are set on iSCSI that's of course an option, (it's still supported for a reason), but as you note you will be wasting a lot of storage space to snapshots

        1 Reply Last reply Reply Quote 0
        • jtbw911J Offline
          jtbw911
          last edited by

          @fohdeesha I'm going to be honest with you. I've had terrible luck with FreeNAS more times than I can count. It's always been a mix of hardware compatibility issues, appearance of reliability, a not-so-great interface, and a slew of others. I've found unRAID to suffer from similar things. I know a lot of people who use it; and, online, it's obviously widely used by a very large audience - it just doesn't seem to work well for me. I just recently spent at least a couple days trying to use it in front of a fiber-channel array to no avail.

          I am about to drain and rebuild an x86-based storage appliance (currently running XPenology) in the next few weeks, so, I may go ahead and try it on this piece of hardware and see where it gets me. I loved OpenFiler back in the day, and, had pretty good luck with Nexenta for a while; but, one is just asking to be compromised using it in 2020, and the other doesn't scale well with modern storage without spending a fortune. XPenology works great, and gets you all the ease of Synology; but, it is very finicky about hardware. I ultimately had to settle with a solution that I really don't like; but, it works for now (Windows Server on vmWare, with the FC array passed through as a RAW disk).

          fohdeeshaF 1 Reply Last reply Reply Quote 1
          • fohdeeshaF Offline
            fohdeesha Vates 🪐 Pro Support Team @jtbw911
            last edited by

            @jtbw911 I won't argue with you there, freenas has definitely had some issues. I've been lucky enough to make it work for my own needs, but it certainly isn't plug and play, especially when it comes to backing virtualization platforms. They've at least acknowledged the awful old interface and have been working on replacing it but of course that's brought more issues with the new UI code, I've just been toughing it out until it approaches stable. I will say the bug(s) I've filed on their bug tracker got very quick attention and patches, at least. Just don't even bother reporting things on their forum, I won't mention any usernames but I'm sure you can guess 😛

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

              You can also use a "generic" distro to handle your NFS SR (Debian or CentOS).

              There's not a lot of work involved after NFS is ready. You can even use ZoL for good disk management.

              jtbw911J 1 Reply Last reply Reply Quote 1
              • akurzawaA Offline
                akurzawa
                last edited by akurzawa

                @Buschi said in XEN Orchestra Snapshot Space for Backups:

                Quiesced Snaphots are supported from SQL Server [Express]

                Quiesced Snaphots will not be available in next releases of xenserver / xcp-ng probably too, so be aware of that.
                Snapshot and restoring can do mess, you can't relay on snapshots in regards of SQL dabase or Active Directory backups, but You probably know that 🙂

                Olivier how do You plan make the snapshots consistent? Are You planning to develop the Quiesced Snaphots feature or You are working on something different?

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

                  We have a coming feature to get consistent backups on Windows VMs (or any kind of VM in fact).

                  1 Reply Last reply Reply Quote 0
                  • jtbw911J Offline
                    jtbw911 @olivierlambert
                    last edited by

                    @olivierlambert I'll give you that one if all I need is a simple NFS share for something like ISOs. I've got a virtualization stack that's got a demand of upwards of 10,000 IOPs, and, every time I've tried to push to NFS, performance drops like a rock. My XPenology setup (with SSD cache) worked quite well. We'll see how things develop here in a couple\few weeks as I dive back in with this appliance rebuild.

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

                      @akurzawa said in XEN Orchestra Snapshot Space for Backups:

                      Snapshot and restoring can do mess, you can't relay on snapshots in regards of SQL dabase

                      Isn't any SQL server crash safe? I.e. they should handle a system power-loss and gracefully recover (journals). A filesystem snapshot is equivalent of a power loss. You need to configure your databases accordingly.

                      B akurzawaA 2 Replies Last reply Reply Quote 0
                      • B Offline
                        Buschi @Forza
                        last edited by

                        @S-Pam
                        Of course that's true.

                        My car has airbags and is well insured, but I would not voluntarily drive into a wall just to see if it worked.

                        1 Reply Last reply Reply Quote 0
                        • akurzawaA Offline
                          akurzawa @Forza
                          last edited by

                          @S-Pam said

                          Isn't any SQL server crash safe? I.e. they should handle a system power-loss and gracefully recover (journals). A filesystem snapshot is equivalent of a power loss. You need to configure your databases accordingly.

                          Most of maria/mysql have enabled innodb doublewrite enabled by default:
                          https://dev.mysql.com/doc/refman/5.7/en/innodb-doublewrite-buffer.html

                          But just in case of Active Directory... I really really want to have consistent snapshot/backups 🙂

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