[Lxc-users] ]Re: container shutdown

2012-03-20 Thread Jäkel , Guido
>Executable name: >I would prefer several almost identical actions to be implemented in one >program with options instead of several almost identical programs. So I >say lxc-shutdown -r than lxc-reboot. But I have no problem with >lxc-shutdown doing -r based on argv0 as well as getopts. Everyone c

[Lxc-users] does lxc support controlling network io?

2012-03-20 Thread 陈竞
lxc can support control block io, cpu and memory, can lxc support controlling network io? -- 陈竞,中科院计算技术研究所,高性能计算机中心 Jing Chen HPCC.ICT.AC China -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click

Re: [Lxc-users] does lxc support controlling network io?

2012-03-20 Thread Fajar A. Nugraha
2012/3/20 陈竞 : > lxc can support control block io, cpu and memory, can lxc support > controlling network io? If by "control" you mean "throttle the bandwidth", then AFAIK no. As in, no, cgroups (and thus lxc) can't throttle network I/O. However since the most common implementation is using veth

[Lxc-users] Migration of LXC between two different physical nodes?

2012-03-20 Thread 张章
hi,all I am considering the migration issue of LXC and want to know the current support from LXC. Does anyone know useful information? Many thanks! Z. ZhangNational Research Center for intelligent Computing Systems, ICT, Chinese Academy of Sciences

[Lxc-users] lxc-execute can not access to network

2012-03-20 Thread Sam Wang
First,I add a bridge in my computer,and the bridge IP is 10.0.2.15 Then create a container using lxc-create -n nettest -f nettest.conf the content of nettest.conf is This is my configure file lxc.utsname=netest lxc.network.type=veth lxc.network.flags=up lxc.network.link=br0 lxc.network.hwaddr=4a:4

[Lxc-users] Sharing resources between containers

2012-03-20 Thread - xenocrates
Please explain, what is the right way to sharing resources (as example mysql socket) between containers? -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazur

Re: [Lxc-users] Squeeze Template fix?

2012-03-20 Thread Terry--gmail
Hello serge! Thanks for your response! When you say, "unstable" version, are you referring to something on the lxc site that I need to compile or are you talking about adding a debian repository? Your command- lxc-create -t debian -n vm103 -f /etc/lxc.conf Looks completely different

Re: [Lxc-users] Ubuntu 12.04 - apparmor problem (WAS: Ubuntu 12.04 linux-container package and init modifications)

2012-03-20 Thread Serge Hallyn
Quoting Fajar A. Nugraha (l...@fajar.net): > On Thu, Mar 8, 2012 at 1:16 AM, Stéphane Graber wrote: > > > I hope this helped explain what we're doing in 12.04. > > I'm planning on a generic "what's new in LXC for 12.04" blog post in > > the next few days, once we've turned apparmor back on and ha

Re: [Lxc-users] lxc-execute can not access to network

2012-03-20 Thread err404
Le 15/03/2012 06:53, Sam Wang a écrit : > First,I add a bridge in my computer,and the bridge IP is 10.0.2.15 > > (...) > > finally,I use lxc-execute to ping 10.0.2.2 which is the gateway of my > computer,using lxc-execute -n nettest ping 10.0.2.2.but it does not wok > where am I wrong?please help

Re: [Lxc-users] lxc-execute can not access to network

2012-03-20 Thread Sam Wang
ping does be available.the system says host is unreachable 在 2012年3月20日 下午9:28,err404 写道: > Le 15/03/2012 06:53, Sam Wang a écrit : >> First,I add a bridge in my computer,and the bridge IP is 10.0.2.15 >> >> (...) >> >> finally,I use lxc-execute to ping 10.0.2.2 which is the gateway of my >> comp

Re: [Lxc-users] lxc-execute can not access to network

2012-03-20 Thread err404
Le 20/03/2012 14:38, Sam Wang a écrit : > ping does be available.the system says host is unreachable > (...) can you put here your results of: ip a from your container, and your host also? -- This SF email is sponsosred

Re: [Lxc-users] ]Re: container shutdown

2012-03-20 Thread brian
-Original Message- From: "Jäkel, Guido" Sent: Tuesday, March 20, 2012 3:59am To: "'Brian K. White'" , "'lxc-users@lists.sourceforge.net'" Subject: ]Re: [Lxc-users] container shutdown >Executable name: >I would prefer several almost identical actions to be implemented in one >program

Re: [Lxc-users] Ubuntu 12.04 - apparmor problem (WAS: Ubuntu 12.04 linux-container package and init modifications)

2012-03-20 Thread Fajar A. Nugraha
On Tue, Mar 20, 2012 at 8:11 PM, Serge Hallyn wrote: > Quoting Fajar A. Nugraha (l...@fajar.net): >> I just updated lxc on 12.04 to 0.7.5-3ubuntu40, which reenables >> apparmor profile. My previously-working lxc containers now refused to >> start. > It's possible you're not on the latest kernel.