Stuck at copying Continuous Replicated VM
-
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.
-
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?
-
@olivierlambert nope no replication nor any backup task running. will try couple of times. and see if I can get an error message.
-
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. -
@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. -
just saw on XO tasks it shows the status.
-
Can you create a VM or a disk in this SR? Anything in SMlog?
-
@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.
-
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.
-
@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.