[lxc-devel] Share the loopback with network namespaces

2011-03-31 Thread Marian Marinov
machine? Any iptables patches available? Or some trics that are not documented ? I want all users to have their own network namespaces with their own IPs, but I want them all to share the host loopback interface for connections to mysql, pgsql, smtp, imap and so on. -- Best regards, Marian

Re: [lxc-devel] Share the loopback with network namespaces

2011-04-01 Thread Marian Marinov
. The problem is that I can not change the scripts of my users to connect to mysql on different IPs. Marian On Thu, Mar 31, 2011 at 6:59 PM, Marian Marinov m...@yuhu.biz wrote: Hello, I want to implement network namespaces in my software. The problem I'm seeing is that each namespace has

Re: [lxc-devel] cgroup cpuacct enhancement

2011-10-04 Thread Marian Marinov
On Wednesday 05 October 2011 01:25:15 martin.pe...@bull.com wrote: Hello. I apologize if this is not the right list for this question, but it was the best match I could find. I'm working on a project to estimate the power consumption of jobs running on a Linux HPC cluster. We've been

[lxc-devel] /proc/cpuinfo per cgroup

2013-11-25 Thread Marian Marinov
Hi guys, I'm using LXC containers for some of my teaching and I want to have /proc/cpuinfo and /proc/memory based on the cgroup limits that I have set. The idea is that if one container is limited to a cpuset of 0-1 it should see only the first two cores and not all the cores on the machine.

Re: [lxc-devel] /proc/cpuinfo per cgroup

2013-11-25 Thread Marian Marinov
On 11/25/2013 05:12 PM, Daniel P. Berrange wrote: On Mon, Nov 25, 2013 at 09:09:40AM -0600, Serge Hallyn wrote: Quoting Marian Marinov (m...@yuhu.biz): Hi guys, I'm using LXC containers for some of my teaching and I want to have /proc/cpuinfo and /proc/memory based on the cgroup limits

Re: [lxc-devel] cgroup management daemon

2013-11-25 Thread Marian Marinov
On 11/26/2013 12:43 AM, Serge E. Hallyn wrote: Hi, as i've mentioned several times, I want to write a standalone cgroup management daemon. Basic requirements are that it be a standalone program; that a single instance running on the host be usable from containers nested at any depth; that

Re: [lxc-devel] cgroup management daemon

2013-11-25 Thread Marian Marinov
On 11/26/2013 02:11 AM, Stéphane Graber wrote: On Tue, Nov 26, 2013 at 02:03:16AM +0200, Marian Marinov wrote: On 11/26/2013 12:43 AM, Serge E. Hallyn wrote: Hi, as i've mentioned several times, I want to write a standalone cgroup management daemon. Basic requirements

[lxc-devel] LXC live migrate

2013-11-25 Thread Marian Marinov
Hey guys, I just read on LWN about the checkpoint/restore tool: http://lwn.net/Articles/574917/ With this, it seams possible to freeze and restore a whole container from one node to another. I'll give it a try this week to give more details on how it actually works. Marian

Re: [lxc-devel] LXC live migrate

2013-11-25 Thread Marian Marinov
On 11/26/2013 04:58 AM, Stéphane Graber wrote: On Tue, Nov 26, 2013 at 04:04:36AM +0200, Marian Marinov wrote: Hey guys, I just read on LWN about the checkpoint/restore tool: http://lwn.net/Articles/574917/ With this, it seams possible to freeze and restore a whole container from one

Re: [lxc-devel] LXC live migrate

2013-11-26 Thread Marian Marinov
On 11/26/2013 05:29 PM, Dwight Engen wrote: On Mon, 25 Nov 2013 21:58:13 -0500 Stéphane Graber stgra...@ubuntu.com wrote: On Tue, Nov 26, 2013 at 04:04:36AM +0200, Marian Marinov wrote: Hey guys, I just read on LWN about the checkpoint/restore tool: http://lwn.net/Articles/574917

Re: [lxc-devel] [CRIU] LXC live migrate

2013-11-27 Thread Marian Marinov
On 11/27/2013 10:54 AM, Pavel Emelyanov wrote: On 11/27/2013 06:19 AM, Qiang Huang wrote: On 2013/11/27 0:19, Marian Marinov wrote: On my test setup it works for processes like apache, dovecot and mysql. However it does not work with containers: root@s321:~# criu dump -D deb1 -t 19332