Hi Jan, I think the patches are a bit small overall, live migration is quite complex
* https://developers.redhat.com/blog/2015/03/24/live-migrating-qemu-kvm-virtual-machines/ How do you solve the problem with the page (vm memory state) transfer? How do you solve the problem with the storage transfer? * a zfs snapshot on an active zvolume, without manual sync (inside the vm and outside the zfs txg_sync) and freeze of the kvm, i think that is not a good idea for a consistent block storage state How do you solve the problem with unequal kvm configs, for example cpu_type HOST (on the source host) and QEMU(on the target host)? How do you solve the problem with starting the second kvm zone on the other host (this reserves the same MAC / IP addresses on the network) at the same time? Mit freundlichen Grüßen DANIEL PLOMINSKI Leiter - IT / Head of IT Telefon 09265 808-151 | Mobil 0151 58026316 | [email protected]<mailto:[email protected]> PGP Key: http://pgp.ass.de/2B4EB20A.key [cid:C17DB6FB-5F79-4BCC-AAB4-CAB59266BC29@localdomain] ASS-Einrichtungssysteme GmbH ASS-Adam-Stegner-Straße 19 | D-96342 Stockheim Geschäftsführer: Matthias Stegner, Michael Stegner, Stefan Weiß Amtsgericht Coburg HRB 3395 | Ust-ID: DE218715721 [cid:E40AEC87-91EE-472A-901A-ECAD3F5801FB@localdomain] Von: Ján Poctavek [mailto:[email protected]] Gesendet: Mittwoch, 8. November 2017 10:55 An: [email protected] Betreff: Re: [smartos-discuss] Live migration Hi, Sure, the sources are here: https://github.com/YanChii/illumos-kvm/tree/live-migration https://github.com/YanChii/illumos-kvm-cmd/tree/live_migration The (small) number of changes does not reflect the effort invested into this. All dead ends and debugs are not present in the final patch :). I just rebased and testing my changes to integrate latest commit into illumos-kvm (regarding the coexistence with bhyve): https://github.com/YanChii/illumos-kvm/tree/lm-merge Jan On 7. 11. 2017 21:03, Daniel Plominski wrote: Hi Jan, are the danube kvm patches public available on github? Von meinem iPhone gesendet Am 07.11.2017 um 11:32 schrieb Ján Poctavek <[email protected]<mailto:[email protected]>>: Hi Matt, KVM live migration is possible and we are working on it right now. The hardest part (the kernel & qemu support) is already done and currently I'm able to successfully migrate the VMs. Now we need two things: 1. integrate the patches into the illumos-kvm and illumos-kvm-cmd repos (requires testing, reviews, etc.) 2. some userspace support (live migration script). After merging the patches into SmartOS, we can focus on the userspace part (or you can write your own migration script). Jan PS: in parallel with the above, the live migration will be present in the Danube Cloud v3.0.0 expected in this December. On 6. 11. 2017 17:05, Matthew Law wrote: De-lurking for a moment to ask a question: is live migration of zones and KVM VMs possible? I recall it has been mentioned on this list before and I can find ageing references to it, e.g: https://github.com/joyent/smartos-live/blob/master/src/vm/README.migration I usually get by with vmadm send and vmadm receive after first stopping the VM and that works great but it's a bit of a chore stopping and migrating dozens of VMs off a busy host when it needs to go down for maintenance. Cheers, Matt. smartos-discuss | Archives<https://www.listbox.com/member/archive/184463/=now> [https://www.listbox.com/images/feed-icon-10x10.jpge18b463.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc] <https://www.listbox.com/member/archive/rss/184463/29198361-7a6753c0> | Modify<https://www.listbox.com/member/?&> Your Subscription [https://www.listbox.com/images/listbox-logo-small.pnge18b463.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc]<http://www.listbox.com> ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
