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

    Execute pre-freeze and post-thaw

    Scheduled Pinned Locked Moved Backup
    25 Posts 8 Posters 811 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.
    • D Offline
      dinhngtu Vates 🪐 XCP-ng Team
      last edited by dinhngtu

      There used to be quiescent snapshot capabilities in older versions (mainly for Windows VSS support), but it has since been removed. I'd say @Team-XAPI-Network knows more about the reason.

      psafontP ForzaF 2 Replies Last reply Reply Quote 0
      • psafontP Offline
        psafont Vates 🪐 XAPI & Network Team @dinhngtu
        last edited by

        @dinhngtu It's possible to run hooks inside the control domain on different stages of VM lifecycle operations, but these need to be installed beforehand, see https://xapi-project.github.io/new-docs/xenopsd/design/hooks/index.html

        I think the vm-pre-suspend is the name of the hook the does this, but I can't confirm it. The docuementation is missing the hook, but it exists in the source code: https://github.com/xapi-project/xen-api/blob/master/ocaml/xenopsd/lib/xenops_hooks.ml#L37

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          dinhngtu Vates 🪐 XCP-ng Team @psafont
          last edited by dinhngtu

          @psafont Looks like these hooks are for suspend-resume rather than snapshot/backups? I couldn't find any mention of hook calls during the snapshot process

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

            @dinhngtu said in Execute pre-freeze and post-thaw:

            There used to be quiescent snapshot capabilities in older versions (mainly for Windows VSS support), but it has since been removed. I'd say @Team-XAPI-Network knows more about the reason.

            We have vmware with ppdm backups and the vss part is actually causing some annoying issues such as quite long io stalls. But I do understand the reason for vss, especially for applications that aren't crash safe.

            1 Reply Last reply Reply Quote 0
            • psafontP Offline
              psafont Vates 🪐 XAPI & Network Team @dinhngtu
              last edited by

              @dinhngtu Xenopsd does not have a concept of snapshot. Because I understand that "freezing" the VM means suspending it, I think that the suspend hook will get triggered in any snapshot with memory

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                dinhngtu Vates 🪐 XCP-ng Team @psafont
                last edited by

                @psafont Freezing/thawing doesn't actually suspend a VM, but it's just a part of the backup process, where I/O operations are quiesced to create a stable view of the on-disk data.

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jsajous26 @dinhngtu
                  last edited by jsajous26

                  Could this feature integrate XCP-ng?

                  We are looking for a new virtualization solution.
                  Oracle is a bottleneck for backups.

                  We tested the backup with the Veeam agent, which appears to be successful.
                  However, replication is not possible for this Oracle point via Veeam.

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

                    What is the purpose of this discussion?

                    You did create this thread, I think you would know what's the purpose of this discussion 😅

                    Have you asked VEEAM for a solution, because it seems more VEEAM-related question after all 🤔 I have no idea what it means regarding "replication is not possible for this Oracle point via VEEAM". Remember we aren't from VEEAM in here, so you should explain more precisely what do you expect from us to do despite it seems to be a VEEAM limitation?

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jsajous26 @olivierlambert
                      last edited by

                      @olivierlambert said in Execute pre-freeze and post-thaw:

                      You did create this thread, I think you would know what's the purpose of this discussion

                      Have you asked VEEAM for a solution, because it seems more VEEAM-related question after all I have no idea what it means regarding "replication is not possible for this Oracle point via VEEAM". Remember we aren't from VEEAM in here, so you should explain more precisely what do you expect from us to do despite it seems to be a VEEAM limitation?

                      The problem is not Veeam, but the inability to trigger a pre-free and post-thaw (Quiesce) on a VM before and after snapshot on XCP-NG.

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

                        It's not a problem with XO backups 🤷

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