Re: [lxc-users] LXD move, how to reduce downtime without live migration

2017-05-03 Thread Andrey Repin
Greetings, Fajar A. Nugraha! >>> thank you for sharing Fajar, this is very helpful. A couple questions: >>> 1. how do you ensure data consistency? I don't think it's safe to take a >>> snap of a mysql container with mysql running for example. Other backup >>> solutions I've used in the past, like

Re: [lxc-users] LXD move, how to reduce downtime without live migration

2017-05-02 Thread Jäkel , Guido
gt;Of Fajar A. Nugraha >Sent: Tuesday, May 02, 2017 4:00 AM >To: LXC users mailing-list >Subject: Re: [lxc-users] LXD move, how to reduce downtime without live >migration >If you have one of those apps, I highly recommend you fix it, or find another >one that behave correctly.

Re: [lxc-users] LXD move, how to reduce downtime without live migration

2017-05-01 Thread Fajar A. Nugraha
On Mon, May 1, 2017 at 12:49 AM, Andrey Repin wrote: > Greetings, Spike! > > > thank you for sharing Fajar, this is very helpful. A couple questions: > > 1. how do you ensure data consistency? I don't think it's safe to take a > > snap of a mysql container with mysql running for example. Other ba

Re: [lxc-users] LXD move, how to reduce downtime without live migration

2017-04-30 Thread Andrey Repin
Greetings, Spike! > thank you for sharing Fajar, this is very helpful. A couple questions: > 1. how do you ensure data consistency? I don't think it's safe to take a > snap of a mysql container with mysql running for example. Other backup > solutions I've used in the past, like bacula for example,

Re: [lxc-users] LXD move, how to reduce downtime without live migration

2017-04-29 Thread Fajar A. Nugraha
On Sun, Apr 30, 2017 at 3:15 AM, Spike wrote: > thank you for sharing Fajar, this is very helpful. A couple questions: > 1. how do you ensure data consistency? I don't think it's safe to take a > snap of a mysql container with mysql running for example. Other backup > solutions I've used in the p

Re: [lxc-users] LXD move, how to reduce downtime without live migration

2017-04-29 Thread Spike
thank you for sharing Fajar, this is very helpful. A couple questions: 1. how do you ensure data consistency? I don't think it's safe to take a snap of a mysql container with mysql running for example. Other backup solutions I've used in the past, like bacula for example, allowed you to run pre-bac

Re: [lxc-users] LXD move, how to reduce downtime without live migration

2017-04-27 Thread Fajar A. Nugraha
On Thu, Apr 27, 2017 at 9:09 PM, Spike wrote: > Tamas, > > are you actually doing this? any gotchas? > > I'm trying to set up exactly the same, have a live node and a backup node, > both running zfs. I have the same containers, with the same mac, at > destination, however I'm unclear that just by

Re: [lxc-users] LXD move, how to reduce downtime without live migration

2017-04-27 Thread Tamas Papp
On 04/27/2017 04:09 PM, Spike wrote: Tamas, are you actually doing this? any gotchas? Yes, I do, but with LXC. I'm trying to set up exactly the same, have a live node and a backup node, both running zfs. I have the same containers, with the same mac, at destination, however I'm unclear th

Re: [lxc-users] LXD move, how to reduce downtime without live migration

2017-04-27 Thread Spike
Tamas, are you actually doing this? any gotchas? I'm trying to set up exactly the same, have a live node and a backup node, both running zfs. I have the same containers, with the same mac, at destination, however I'm unclear that just by copying over the rootfs dataset from zfs it will be enough

Re: [lxc-users] LXD move, how to reduce downtime without live migration

2017-04-27 Thread Benoit GEORGELIN - Association Web4all
- Mail original - > De: "Tamas Papp" > À: "lxc-users" > Envoyé: Jeudi 27 Avril 2017 01:59:34 > Objet: Re: [lxc-users] LXD move, how to reduce downtime without live migration > On 04/27/2017 03:43 AM, Benoit GEORGELIN - Association Web4all wrote: >

Re: [lxc-users] LXD move, how to reduce downtime without live migration

2017-04-26 Thread Tamas Papp
On 04/27/2017 03:43 AM, Benoit GEORGELIN - Association Web4all wrote: Good evening I'm running into a problem with LXD live migration, so I can't use live migration I have this kind of error: error: Error transferring container data: migration restore failed (00.018254) Warn (criu/apparmor.c:

[lxc-users] LXD move, how to reduce downtime without live migration

2017-04-26 Thread Benoit GEORGELIN - Association Web4all
Good evening I'm running into a problem with LXD live migration, so I can't use live migration I have this kind of error: error: Error transferring container data: migration restore failed (00.018254) Warn (criu/apparmor.c:421): apparmor namespace /sys/kernel/security/apparmor/policy/namespac