Re: [lxc-users] near-live migration
Ah, I see. https://github.com/lxc/lxd/issues/3326 It looks like that's a prerequisite for something like lxc move c1 s-tollana: --stateless on a running container. On di, 2017-05-30 at 12:15 -0400, Ron Kelley wrote: > While not a direct answer, I filled an enhancement bug recently for > this > exact topic (incremental snapshots to remote server). The enhancement > was > approved, but I don't know when it will be included in the next LXD > version. > > > On May 30, 2017 11:52:34 AM Kees Bos wrote: > > > > > Hi, > > > > Right now I'm using the sequence 'stop - move - start' for > > migration of > > containers (live migration fails too often). > > > > The 'move' step can take some time. I wonder if it would be easy to > > implement/do something like: > > - prepare move (e.g. take snapshot an copy upto snaphot) > > - stop > > - copy the rest > > - remove snapshot on dst > > - remove container from src > > - start container on dst > > > > That would minimize downtime without the complexity of a live > > migration. > > > > What are your thoughts? > > > > Kees > > ___ > > lxc-users mailing list > > lxc-users@lists.linuxcontainers.org > > http://lists.linuxcontainers.org/listinfo/lxc-users > ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] near-live migration
While not a direct answer, I filled an enhancement bug recently for this exact topic (incremental snapshots to remote server). The enhancement was approved, but I don't know when it will be included in the next LXD version. On May 30, 2017 11:52:34 AM Kees Bos wrote: Hi, Right now I'm using the sequence 'stop - move - start' for migration of containers (live migration fails too often). The 'move' step can take some time. I wonder if it would be easy to implement/do something like: - prepare move (e.g. take snapshot an copy upto snaphot) - stop - copy the rest - remove snapshot on dst - remove container from src - start container on dst That would minimize downtime without the complexity of a live migration. What are your thoughts? Kees ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
[lxc-users] near-live migration
Hi, Right now I'm using the sequence 'stop - move - start' for migration of containers (live migration fails too often). The 'move' step can take some time. I wonder if it would be easy to implement/do something like: - prepare move (e.g. take snapshot an copy upto snaphot) - stop - copy the rest - remove snapshot on dst - remove container from src - start container on dst That would minimize downtime without the complexity of a live migration. What are your thoughts? Kees ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users