Hello, Please, can you explain details of these command:
$ sudo ./migrate u1 [email protected] i try : ./migrate u1 [email protected] Bad number of args. -bash container [email protected] Thanks a lot for help. Best Regards. > ---------- Message transféré ---------- > From: Tycho Andersen <[email protected]> > To: LXC users mailing-list <[email protected]> > 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@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@g-3:/home# ssh ubuntu@$(sudo lxc-info -n u1 -H -i) > > * ssh: Could not resolve hostname : Name or service not known* > > root@g-3:/home# lxc-start -n u1 > > root@g-3:/home# lxc-attach -n u1 > > root@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 > > [email protected] > > http://lists.linuxcontainers.org/listinfo/lxc-users > > >
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
