3 ms·
This is definitely possible, it is called block migration. Here is an example of someone showing usage (note the bug he mentioned has been fixed): http://www.s
by vishvananda 13y ago
This is definitely possible, it is called block migration. Here is an example of someone showing usage (note the bug he mentioned has been fixed):
http://www.sebastien-han.fr/blog/2012/07/12/openstack-block-migration/ http://www.sebastien-han.fr/blog/2012/07/12/openstack-block-...
Note that there are some reliability issues using versions prior to qemu-1.4 and libvirt 1.0.2
To enable "true" block migration where the server remains live the whole time instead of being paused, you need to modify a config option:
block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_NON_SHARED_INC,VIR_MIGRATE_LIVE
(this adds VIR_MIGRATE_LIVE to the default flags)
Also, keep in mind the same caveats to regular live migration with this flag in that there are edge cases where the i/o in the guest is so great that the migration will never complete.
- mgalkiewicz 13y agoYou are right. Block migration is definitely the way to go. Unfortunately it is poorly described in openstack docs for KVM. http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-migrations.html http://docs.openstack.org/trunk/openstack-compute/admin/cont...