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

    Stuck at copying Continuous Replicated VM

    Scheduled Pinned Locked Moved Xen Orchestra
    10 Posts 2 Posters 2.0k 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.
    • onurO Offline
      onur
      last edited by

      I want to move my VM from server A to B by using continuous replication. Servers are identical. I choose CR because I will have the latest copy available to create the new VM (it is a zimbra mail server so 5 minute down time is important, BTW thank you so much for XO team for giving this feature free for us)

      I did a CR backup of a VM from A server to B server. After successfully replicating, On the B server when I hit the copy VM to the same SR of B, it stuck at 0% and never continues.
      **How should I diagnose this problem. **

      Server has 4 times more storage than the VM.

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

        Copy can takes time, but staying at 0% isn't normal. Do you have a replication that might interfere while your are doing the copy operation?

        onurO 1 Reply Last reply Reply Quote 0
        • onurO Offline
          onur @olivierlambert
          last edited by

          @olivierlambert nope no replication nor any backup task running. will try couple of times. and see if I can get an error message.

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

            Okay feel free to try with xe vm-copy command directly on the host, maybe we'll have more chance to know what's going on.

            onurO 1 Reply Last reply Reply Quote 0
            • onurO Offline
              onur @olivierlambert
              last edited by

              @olivierlambert said in Stuck at copying Continuous Replicated VM:

              Okay feel free to try with xe vm-copy command directly on the host, maybe we'll have more chance to know what's going on.

              sure.
              just executed
              xe vm-copy new-name-label=newVM vm=copiedVM
              no messages/output yet, will leave it and check back.

              1 Reply Last reply Reply Quote 0
              • onurO Offline
                onur
                last edited by

                just saw on XO tasks it shows the status.
                Ek Açıklama 2020-03-02 105428.png

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

                  Can you create a VM or a disk in this SR? Anything in SMlog?

                  onurO 1 Reply Last reply Reply Quote 0
                  • onurO Offline
                    onur @olivierlambert
                    last edited by

                    @olivierlambert Yes I have 1 running VM (created by this server).

                    I tried many ways still stuck at 0%.
                    I will try to copy VDIs indivudally and crate a new VM. Or should I create a new VM and use existing VDIs?

                    by the way fast clone works. instantly I have a clone up and running.

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

                      In order to CR to continue after "booting it", you must use a copy.

                      In case of you lost your origin VM, then it doesn't matter if you boot the replicated VM directly.

                      I don't know why full clone doesn't work on this SR.

                      onurO 1 Reply Last reply Reply Quote 0
                      • onurO Offline
                        onur @olivierlambert
                        last edited by

                        @olivierlambert said in Stuck at copying Continuous Replicated VM:

                        In order to CR to continue after "booting it", you must use a copy.

                        In case of you lost your origin VM, then it doesn't matter if you boot the replicated VM directly.

                        I don't know why full clone doesn't work on this SR.

                        I give up for now 😉
                        I have no idea why it did not work. No error messages on the logs also. It just stuck. anyways thank you @olivierlambert for your time.

                        I created a new VM and attach the copied VDI 1 to it. The second VDI cannot be attached so I delete it and will copy from the source server. Looks like it is working.

                        I have one more VM to process and this time I will double check the steps and share any progress here.

                        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