[lxc-users] Live Migration of a Container (Tycho Andersen)
Thouraya TH
thouraya87 at gmail.com
Thu Jan 22 20:54:26 UTC 2015
Hello,
Please, can you explain details of these command:
$ sudo ./migrate u1 ubuntu at criu2.local
i try :
./migrate u1 root at g-3.xxx.yyyyy.zz
Bad number of args.
-bash container user at host.to.migrate.to
Thanks a lot for help.
Best Regards.
> ---------- Message transféré ----------
> From: Tycho Andersen <tycho.andersen at canonical.com>
> To: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
> Cc:
> Date: Wed, 21 Jan 2015 08:26:27 +1300
> Subject: Re: [lxc-users] Live Migration of a Container
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150122/9acdfb27/attachment.html>
More information about the lxc-users
mailing list