New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gnt-instance migrate endless copying memory #950
Comments
Originally added on 2014-07-24 16:50:02 +0000 UTC. |
Originally added on 2014-07-25 07:37:21 +0000 UTC. Changed State: Invalid |
Originally added on 2014-07-25 08:12:15 +0000 UTC. |
Originally added on 2014-07-25 08:14:36 +0000 UTC. Changed State: Accepted |
Originally added on 2014-07-25 08:14:55 +0000 UTC. Added Labels: Type-Enhancement Priority-Medium |
Originally added on 2014-09-08 08:03:00 +0000 UTC. |
Originally added on 2014-09-08 08:46:14 +0000 UTC. |
Originally added on 2014-09-25 13:34:55 +0000 UTC. |
Originally added on 2014-09-25 22:24:16 +0000 UTC. |
Originally added on 2015-06-03 13:56:47 +0000 UTC. Removed Labels: Priority-Medium |
Originally added on 2015-06-03 15:04:11 +0000 UTC. |
Originally added on 2016-07-22 09:46:56 +0000 UTC. |
Great - the "migrate_cancel" worked for me. Through gnt-job there seems to have been no way to cancel the running job, as far as I see. |
@neufeind You can also temporarily increase the migration parameters, as can be seen here: https://ahwhattheheck.wordpress.com/2014/12/16/live-migrating-busy-vms-in-a-ganeti-cluster/ We use that a lot for VMs with heavy io load. |
We too have a few VMs (mostly CPU + memory heavy jvm machines) that used to
never migrate. Changing the ganeti tunable migration_downtime for these
from the default of 30 ms to 2000 ms, has mostly solved this issue for us.
Στις Πέμ, 6 Ιουν 2019, 09:41 ο χρήστης Karsten Heymann <
notifications@github.com> έγραψε:
… @neufeind <https://github.com/neufeind> You can also temporarily increase
the migration parameters, as can be seen here:
https://ahwhattheheck.wordpress.com/2014/12/16/live-migrating-busy-vms-in-a-ganeti-cluster/
We use that a lot for VMs with heavy io load.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#950?email_source=notifications&email_token=AA2DWIUIH2CVJ4FTXWS2HPDPZCWTFA5CNFSM4DQRBRAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXB4N7Q#issuecomment-499369726>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2DWIQCDD6YSYMZF4VEJGLPZCWTFANCNFSM4DQRBRAA>
.
--
You received this message because you are subscribed to the Google Groups
"ganeti-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to ***@***.***
To view this discussion on the web visit
https://groups.google.com/d/msgid/ganeti-devel/ganeti/ganeti/issues/950/499369726%40github.com
<https://groups.google.com/d/msgid/ganeti-devel/ganeti/ganeti/issues/950/499369726%40github.com?utm_medium=email&utm_source=footer>
.
|
there is an other solution: post-copy-migration. It should be there with qemu-2.6 but works for me also with qemu-2.5 on ubuntu-16.04. $ gnt-cluster modify -H kvm:migration_caps=postcopy-ram # (or x-postcopy-ram on qemu-2.5) After one cycle of memory transfer (100%) run on the source node: $ echo "migrate_start_postcopy" | socat STDIO UNIX-CONNECT:/var/run/ganeti/kvm-hypervisor/ctrl/some.vm.monitor I've observed that the migrate_start_postcopy command must timed right to not confuse ganeti. The best is to run it right after an update of ganetis migration status. The migration finshes before ganeti fires the next "info migrate". If a post-copy-migration is still running ganeti parses the status as failed. I've tested this with ganeti-2.14 and 2.15. In some development branch this feature was added to ganeti. But it seems never released??? |
just for the record: since qemu-2.11[1] the postcopy-ram capability must be set on both sides (the sender and the receiver). More precise they must match. For example a previous migration with "migrate_set_capability postcopy-ram on" is remembered for the next migration. If the HV-parameter migration_caps has changed in the way that postcopy-ram is removed, it must be turned off explicitly for the next migration on the sender: "migrate_set_capability postcopy-ram off". Otherwise the migration will fail. This means, regardless of the Ganeti settings, qemu's postcopy-ram state must be synchronized between sender and receiver. |
Originally reported of Google Code with ID 894.
Originally added on 2014-07-22 18:15:38 +0000 UTC.
The text was updated successfully, but these errors were encountered: