search for: migrate_live

Displaying 5 results from an estimated 5 matches for "migrate_live".

2010 Aug 18
1
[PATCH] Setting the migration timeout to 3 minutes
...komatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -548,7 +548,7 @@ class TaskOmatic dest_uri = "qemu+tcp://" + dest_node.hostname + "/system" @logger.debug("Migrating from #{src_uri} to #{dest_uri}") - result = vm.migrate(dest_uri, Libvirt::Domain::MIGRATE_LIVE, '', '', 0, :timeout => 60 * 50) + result = vm.migrate(dest_uri, Libvirt::Domain::MIGRATE_LIVE, '', '', 0, :timeout => 60 * 300) @logger.error "Error migrating VM: #{result.text}" unless result.status == 0 # undefine can fail, for...
2010 Feb 16
1
[PATCH] Increase timeout for live migration
...komatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -548,7 +548,7 @@ class TaskOmatic dest_uri = "qemu+tcp://" + dest_node.hostname + "/system" @logger.debug("Migrating from #{src_uri} to #{dest_uri}") - result = vm.migrate(dest_uri, Libvirt::Domain::MIGRATE_LIVE, '', '', 0, :timeout => 60 * 10) + result = vm.migrate(dest_uri, Libvirt::Domain::MIGRATE_LIVE, '', '', 0, :timeout => 60 * 50) @logger.error "Error migrating VM: #{result.text}" unless result.status == 0 # undefine can fail, for...
2010 Sep 30
1
libvirt-qpid and live migration
I have troubles with live migration since I upgraded libvirt on my nodes 1) I have to change 'Libvirt::Domain::MIGRATE_LIVE' to '1' in taskomatic error : Error: uninitialized constant Libvirt::Domain::MIGRATE_LIVE and why '1' : http://libvirt.org/html/libvirt-libvirt.html 2) the migration fails with this error : Task action processing failed: RuntimeError: Timed out waiting for response So I loo...
2009 Jun 25
0
[PATCH] Extend timeouts on libvirt calls.
...efine(:timeout => 60 * 2) end end @@ -534,7 +534,7 @@ class TaskOmatic dest_uri = "qemu+tcp://" + dest_node.hostname + "/system" @logger.debug("Migrating from #{src_uri} to #{dest_uri}") - result = vm.migrate(dest_uri, Libvirt::Domain::MIGRATE_LIVE, '', '', 0, :timeout => 60 * 4) + result = vm.migrate(dest_uri, Libvirt::Domain::MIGRATE_LIVE, '', '', 0, :timeout => 60 * 10) @logger.error "Error migrating VM: #{result.text}" unless result.status == 0 # undefine can fail, for i...
2009 May 28
0
[PATCH server] Use qpid for migration and add more debugging to taskomatic.
.... - src_conn = Libvirt::open("qemu+tcp://" + src_node.hostname + "/system") - dst_conn = Libvirt::open("qemu+tcp://" + dest_node.hostname + "/system") - dom = src_conn.lookup_domain_by_uuid(vm.uuid) - dom.migrate(dst_conn, Libvirt::Domain::MIGRATE_LIVE) - src_conn.close - dst_conn.close + src_uri = "qemu+tcp://" + src_node.hostname + "/system" + dest_uri = "qemu+tcp://" + dest_node.hostname + "/system" + @logger.debug("Migrating from #{src_uri} to #{dest_uri}") + + re...