Re: [lxc-users] Service fails to start due PID checking

2014-07-09 Thread Fajar A. Nugraha
On Thu, Jul 10, 2014 at 5:35 AM, Jimmy Thrasibule < jimmy.thrasib...@gmail.com> wrote: > Hi, > > I'm using LXC to run multiple Debian instances. For virtualization, we > would call that host an hypervisor. > > no, hypervisor is a different kind of virtualization. we simply call it "host" > So I'

[lxc-users] Service fails to start due PID checking

2014-07-09 Thread Jimmy Thrasibule
Hi, I'm using LXC to run multiple Debian instances. For virtualization, we would call that host an hypervisor. So I'm running a Debian Wheezy hypervisor with many Debian Wheezy LXC guests. It happens that I'd like to run the same services on both the hypervisor and the guests. In this case, null

Re: [lxc-users] Fwd: Linux container network bandwidth

2014-07-09 Thread Nguyễn Thành Long
Hi Divya, I also have had a similar problem and stuck on it till now. I didn't use 1) cos I used an unprivileged container. But I think your problem is *0x1001. *Try replacing with *0x0011*. ( = 10:1) The format for net_cls.classid is 0x; is the major handle number and is

[lxc-users] net_cls.classid in unprivileged container no effect

2014-07-09 Thread Nguyễn Thành Long
Hi all, I have 2 problems when use unprivileged container. Problem 1: I configured my container with: lxc.cgroup.blkio.weight = 500 lxc.cgroup.net_cls.classid = 0x00010002 # 1:2 and ran tc commands: $sudo tc qdisc add dev lxcbr0 root handle 1: htb $sudo tc class add dev lxcbr0 parent 1: classid

Re: [lxc-users] adding lxc containers to local DNS

2014-07-09 Thread Valentin LAB
On 02/07/14 15:45, Bill Smith wrote: On Centos and/or Ubuntu, is there a way to configure the host's DNS so that the containers mapped in dnsmasq.leases are resolvable by nslookup? I know I could get there by assigning static IPs and adding them to /etc/hosts. I'm wondering whether it's possib

[lxc-users] Fwd: Linux container network bandwidth

2014-07-09 Thread Divya Vyas
Hi All, I am running multiple containers and I want to limit the network bandwidth. But I am not getting the desired output. Here is my method: 1) echo 0x1001 > /sys/fs/cgroup/lxc//net_cls.classid 2) tc qdisc add dev br0 root handle 10: htb 3) tc class add dev br0 parent 10: classid 10:1 ht

Re: [lxc-users] lxc-create try rsync data to device instead mount point

2014-07-09 Thread mxs kolo
p.s. better use $name instead $utsname and check that lxc.rootfs is really lvm volume: [root@node01 mkozin]# diff -uN /usr/share/lxc/templates/lxc-centos.ORIG /usr/share/lxc/templates/lxc-centos --- /usr/share/lxc/templates/lxc-centos.ORIG2014-07-07 12:39:32.430333034 +0400 +++ /usr/share/l