Quote:
Originally Posted by pan64
In general: you can move a VM only when it is off (otherwise should be safe).
|
Libvirt supports live migration. The VM is running while its memory is being copied over. It can even switch over to the destination host before all its pages are copied (they will then be page-faulted from the source). Incredible but true. I've seen it happen
Intensive memory writes can slow live migration down. If RAM accesses are faster than page copies, the VM might even never migrate.
If the VM's storage is not shared between source and destination host, it must also be copied, and in this situation, I imagine intensive disk writes might have the same delaying effect as RAM writes. However you mention NFS or CIFS, so I doubt this is a problem for you.
Also, CPU load is irrelevant. The VM initially uses the source host's CPU, and at some point it is stopped for a fraction of a second and switched-on on the destination host. That's all.