[lxc-users] Live Migration of a Container

Tycho Andersen tycho.andersen at canonical.com
Tue Jan 20 19:26:27 UTC 2015


On Tue, Jan 20, 2015 at 01:28:49PM +0100, Thouraya TH wrote:
> Hello,
> 
> I try to test your tutorial: (step by step)
> http://tycho.ws/blog/2014/09/container-migration.html
> 
> *1)*  I have created a container: (i'm behind a proxy)
>      root at g-3:~# lxc-create -t ubuntu -n u1 http_proxy=True
> 
> *2)*
> 
>    cat << EOF | sudo tee -a /var/lib/lxc/u1/config
>    # hax for criu
>    lxc.console = none
>    lxc.tty = 0
>    lxc.cgroup.devices.deny = c 5:1 rwm
>    EOF
> 
> *3) *I have create the script "migrate"; chmod +x migrate
> *4)*  I accessed the container:
>     root at g-3:/home# ssh ubuntu@$(sudo lxc-info -n u1 -H -i)
>    * ssh: Could not resolve hostname : Name or service not known*
>     root at g-3:/home# lxc-start -n u1
>     root at g-3:/home# lxc-attach -n u1
>     root at u1:/home# ls
> 
> Please, have to use ssh or not ?

After it is restored you do for now; that's a bug that I've not had a
chance to look at or fix.

Tycho

> Thanks a lot for help.
> Best regards.
> Thouraya.

> _______________________________________________
> 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