Re: [systemd-devel] systemd config recipes for namespace-isolated webapps

2013-07-12 Thread Lennart Poettering
On Wed, 03.07.13 11:47, Martin Langhoff (martin.langh...@gmail.com) wrote: On Wed, Jul 3, 2013 at 10:49 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: - How do I tell several services to use the same cg? They can't all use the same cg, because systemd uses groups to group

Re: [systemd-devel] systemd config recipes for namespace-isolated webapps

2013-07-03 Thread Martin Langhoff
On Wed, Jul 3, 2013 at 12:53 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: I haven't really tried anythng like what you describe, but in general both container and container-less approaches should work. Thanks for your reply. Yes, I get the sense that in general, it should work. As

Re: [systemd-devel] systemd config recipes for namespace-isolated webapps

2013-07-03 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jul 03, 2013 at 07:40:33AM -0400, Martin Langhoff wrote: On Wed, Jul 3, 2013 at 12:53 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: I haven't really tried anythng like what you describe, but in general both container and container-less approaches should work. Thanks for

Re: [systemd-devel] systemd config recipes for namespace-isolated webapps

2013-07-03 Thread Martin Langhoff
On Wed, Jul 3, 2013 at 10:49 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: - How do I tell several services to use the same cg? They can't all use the same cg, because systemd uses groups to group units. But they can share a slice of resources, by assigning a group of services to

[systemd-devel] systemd config recipes for namespace-isolated webapps

2013-07-02 Thread Martin Langhoff
Hi folks! At OLPC, I got an early chance to use and abuse systemd, and I like it quite a bit. We currently have ~500 identical VMs (created from kickstarts, kept almost in sync via satellite), each hosts apache/mysql daemons, and 2 installs of the same PHP webapp (production, test). Goal is to

Re: [systemd-devel] systemd config recipes for namespace-isolated webapps

2013-07-02 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jul 02, 2013 at 05:18:57PM -0400, Martin Langhoff wrote: Hi folks! At OLPC, I got an early chance to use and abuse systemd, and I like it quite a bit. We currently have ~500 identical VMs (created from kickstarts, kept almost in sync via satellite), each hosts apache/mysql