Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1.  
  2. About a situation that live migration would never complete
  3. Related Content
  4.  
  5. RHEV Manager shows Virtual Machine as stuck in an "Unknown" state
  6. Recommended sizes for RHEV Storage Domains
  7. Explanation about migration of the shutdown-state guests and live migration.
  8. Move a RHEV virtual machine to a different storage domain
  9. Tuning the timeout, downtime and speed cap values for RHEV 3.x live migration
  10. .Cuestión
  11.  
  12. I have a question from customer about following description regarding KVM live migration.
  13. Chapter 4. KVM live migration in Virtualization Administration Guide
  14.  
  15. If the original guest modifies pages faster than KVM can transfer them to the destination host, offline migration must be used, as live migration would never complete.
  16.  
  17. Is there any example about case that 'the original guest modifies pages faster than KVM can transfer them to the destination host'?
  18. Also, it says that live migration would never complete, but what behavior is it concretely?
  19. Is there any recommended method to cancel migration using virsh or virt-manager except for killing of processes (virsh and virt-manager)?
  20.  
  21. Medio Ambiente
  22.  
  23. Red Hat Enterprise Linux 6.3
  24.  
  25. Resolución
  26.  
  27. > Is there any example about case that 'the original guest modifies pages faster than KVM can transfer them to the destination host'?
  28.  
  29. It is very unusual and I have no real cases where it happened, but it's quite easy to simulate (I've got a little C program to do so). Migration process consists in copy guest RAM to new Host. After the copy, migration code loops back to the beginning and re-copies all pages modified after the copy. The hope is that the list of pages which must be copied shrinks with each pass over the memory range. When the number of changed pages goes below a threshold, guest system is stopped, the remaining pages are copied and the current state is also transmitted. Then, the guest can be started on destination host. Systems with high level of memory writes can become impossible to online migrate, since the loop to re-copy modified pages may never finish.
  30.  
  31. > Also, it says that live migration would never complete, but what behavior is it concretely?
  32.  
  33. Nothing. The migration process will keep trying to re-copy changed pages forever. The guest continues to work on the source host. User needs to cancel migration to stop the process.
  34.  
  35. > Is there any recommended method to cancel migration using virsh or virt-manager except for killing of processes (virsh and virt-manager)?
  36.  
  37. Using virt-manager, we have a window showing the migration progress. This window has a "cancel" button to cancel the live migration process.
  38. Using virsh, we have to open another shell and execute:
  39.  
  40. # virsh domjobabort <vm_name>
  41.  
  42. In both cases, the live migration will be stopped and the VM will be kept on source Host, with zero downtime.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement