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

    XOA - backups skipped to protect VDI chain

    Scheduled Pinned Locked Moved Xen Orchestra
    23 Posts 3 Posters 3.1k Views 1 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.
    • R Offline
      robert wild
      last edited by

      hi all,

      im using xen orchestra to do a continuios replication of all my vms on my xen server 7.6

      but now there saying skipped and i dont know why

      any help would be much appreciated

      skipped.PNG

      thanks,

      rob

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

        Click on the link "Job canceled to protect the VDI chain", this will lead you to our documentation explaining everything 🙂

        edit: in very short, you are replicated faster than your storage can keep up.

        1 Reply Last reply Reply Quote 0
        • R Offline
          robert wild
          last edited by robert wild

          hi Olivier

          thats the first thing i did, so i may do my backups every other day now

          what about if i manually delete each vms snapshot

          snap.PNG

          i rescanned the SR in question, on XOA and on xen server

          how long do you think it will take to coalesce

          if need be i will shut down each vm, copy them to the same SR but change the vms name, this works, as i have done it before but its very slow

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

            Don't remove a snapshot if you don't need too. That's removing a snapshot that cause coalesce.

            You can check disks needing coalesce in Xen Orchestra (SR, Advanced tab)

            1 Reply Last reply Reply Quote 0
            • R Offline
              robert wild
              last edited by

              i have and theres 37 that need coalesce

              is the only option to wait or to copy the vm to a new SR or copy it to a new name so it appears to be a new vm?

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

                Please wait first, until there's nothing to coalesce. Use snapshots wisely because you probably created/removed a lot in few time. And more to coalesce, longer it will be.

                1 Reply Last reply Reply Quote 0
                • R Offline
                  robert wild
                  last edited by

                  so is the reason because of that snapshot, stopping the auto backups on XOA?

                  its been 3 days but now i have changed my auto backups from everyday to every other day, so lets see

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

                    I'm not inside your infrastructure, but if you delete a snapshot on your side, this will need a coalesce after. So if you removed a lot of snapshot, then a large coalesce on numerous disks should be done.

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      robert wild
                      last edited by

                      and to do a coalesce, you just rescan the SR?

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

                        Yep, then wait.

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          robert wild
                          last edited by

                          thanks Olivier 🙂

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            robert wild
                            last edited by

                            just another question about this

                            do you think i should stop my backups on XOA, will it only interfere and make the coalesce even longer?

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

                              Don't do any snapshots manually. XOA should skip if the chain isn't clean.

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                robert wild
                                last edited by

                                what about if i get rid of orphaned vdi disks on the SR, will this work

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

                                  Orphaned VDIs are something else, that might indeed need to coalesce after that. But that won't change the principle: clean everything first.

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    robert wild
                                    last edited by

                                    how do i know what vm was causing the backups from running as there all saying "Job canceled to protect the VDI chain"?

                                    thanks,
                                    rob

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

                                      Because XO will backup only VM without coalesce issue. So all skipped VMs needs to coalesce first.

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        robert wild
                                        last edited by

                                        Think I've found the solution

                                        https://www.quadricsoftware.com/knowledge-base/orphaned-vdi-prevents-coalesce/

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

                                          I'm not sure it's related to your issue. Do you have spotted the exact message in question in this page? If it's the case, you can clean everything from the UI of XO in Dashboard/health.

                                          1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            robert wild
                                            last edited by

                                            think i have answered my own question -

                                            https://support.citrix.com/article/CTX207574?_ga=2.182110311.1347118359.1579810336-430666083.1579810336

                                            basically dom0 is protecting the source vdi until vbd operations complete but theres nothing to complete

                                            you think this is worth a shot

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