[lxc-users] Copying/cloning a container between nodes if LXC/LXD is not running

Fajar A. Nugraha list at fajar.net
Wed May 4 07:51:35 UTC 2016


Yeah. Except that live migration fails a lot last time I tested, and
the OP specifically asked "if/when LXC/LXD is not running"

On Wed, May 4, 2016 at 12:14 PM, Rahul Rege <rahul.rege at sungardas.com> wrote:
> Just my 2 cents : I am not following the LXD alot but if it supports live
> migration, I believe it does, then it'd be taking care of similar things
> (remapping etc) when it resumes the container on another host. You may try
> this on another set of hosts and check how that looks may be.
>
> On Wed, May 4, 2016 at 2:32 AM, Ron Kelley <rkelleyrtp at gmail.com> wrote:
>>
>> Greetings all,
>>
>> I updated some packages on my Ubuntu 15.10 server today which (when
>> rebooted) caused the bridged networking to no longer work.  As a result, the
>> LXD daemon would not start, in turn, preventing me from spinning up some
>> containers.  After fixing the networking issue, I realized I don’t have an
>> emergency plan/process to recover a container on Node-B if Node-A fails.
>>
>> I am looking for a way to rsync container-1 on Node-A to Node-B if/when
>> LXC/LXD is not running on Node-A.  I realized the UID/GID values are
>> different between the nodes, thus I need a way to sync the rootfs between
>> nodes and remap the UID/GID properly.
>>
>> Any pointers?
>>
>> Thanks.
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list