[Lxc-users] Howto detect we are in LXC contener

2011-05-25 Thread David Touzeau
Dear all to detect if we are inside an OpenVZ, openvzve,xen machine we can check the presence of : /proc/vz/veinfo /proc/vz/version /proc/sys/xen /sys/bus/xen /proc/xen But i did not find any information inside the LXC contener in order to detect We are really in an LXC contener. Is there a tip

Re: [Lxc-users] LXC on ESXi (help)

2011-05-17 Thread David Touzeau
which is > called br1 and is used for the containers. > > I've achieved to have very good network performances since i set this > up this way and have completely fixed my stability problems that i had > why veth. > > > Tell me if you need some more details. > >

Re: [Lxc-users] LXC on ESXi (help)

2011-05-17 Thread David Touzeau
Le mardi 17 mai 2011 à 17:36 +0200, Ulli Horlacher a écrit : > On Tue 2011-05-17 (17:18), David Touzeau wrote: > > > the host is a Virtual Machine stored on ESXi 4.0 > > > > The container can ping the host, the host can ping the container. > > Issue is others comp

[Lxc-users] LXC on ESXi (help)

2011-05-17 Thread David Touzeau
Dear According last discuss i have tried to change MAC address up to: 00:50:56:XX:YY:ZZ Thread was here : http://sourceforge.net/mailarchive/message.php?msg_id=27400968 Using container veth+bridge the host is a Virtual Machine stored on ESXi 4.0 The container can ping the host, the host can pi

[Lxc-users] memory.usage_in_bytes value

2011-05-17 Thread David Touzeau
Dear I have a debian running in a container the /cgroup/vps-1/memory.usage_in_bytes display 10784768 10784768 -> 10Mb memory used. I estimate that this value did not reflect a running debian system Is it true ? best regards ---

[Lxc-users] Get CPU/Memory of all LXC containers

2011-05-16 Thread David Touzeau
Dear all How to get information about %CPU and memory used for each LXC container running on the host ? Best regards -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should

Re: [Lxc-users] LXC on Esxi

2011-05-15 Thread David Touzeau
Le dimanche 15 mai 2011 à 22:02 +0200, Daniel Lezcano a écrit : > On 05/15/2011 08:27 PM, David Touzeau wrote: > > Le dimanche 15 mai 2011 à 19:26 +0200, Daniel Lezcano a écrit : > > > >> On 05/15/2011 06:19 PM, David Touzeau wrote: > >>> Dear > >>>

Re: [Lxc-users] LXC on "Virtual interfaces"

2011-05-15 Thread David Touzeau
Le dimanche 15 mai 2011 à 19:26 +0200, Daniel Lezcano a écrit : > On 05/15/2011 06:19 PM, David Touzeau wrote: > > Dear > > > > is it possible to point LXC container to a virtual interface ? > > I have only one interface 'eth1' and i would like LXC con

[Lxc-users] LXC on "Virtual interfaces"

2011-05-15 Thread David Touzeau
Dear is it possible to point LXC container to a virtual interface ? I have only one interface 'eth1' and i would like LXC containers using "Virtual Interfaces" When running the LXC container the network card disapears and server network is down. I need to reboot the computer in order to retreive

[Lxc-users] Unable to make latest build "liblxc_so-caps.o Error 1"

2011-05-07 Thread David Touzeau
Dear is there a solution to fix this issue ? System: Debian 2.6.26-2-686 LXC Build: 0.7.4.1 Configure output : ./configure --prefix=/usr --includedir="\${prefix}/include" --mandir="\ ${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\

[Lxc-users] Dreaming... reduce CPU use and memory consumption per container

2011-05-04 Thread David Touzeau
Dear Is there a way to reduce the CPU use and memory consumption per container ? best regards -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network

Re: [Lxc-users] Hide container processes on the host...

2011-05-04 Thread David Touzeau
Le jeudi 05 mai 2011 à 00:35 +0200, Papp Tamas a écrit : > On 05/05/2011 12:14 AM, David Touzeau wrote: > > Dear, > > > > I have an issue about hide processes on the host > > > > I have a watchdog script on the host that ensure slapd is up > > > > the

[Lxc-users] Hide container processes on the host...

2011-05-04 Thread David Touzeau
Dear, I have an issue about hide processes on the host I have a watchdog script on the host that ensure slapd is up there is different behavior using pidof or pgrep the ps aux output # ps aux|grep slapd root 2444 0.0 0.2 149296 6816 ?Ssl May03 1:21 /usr/sbin/slapd -4 -u ro

Re: [Lxc-users] OpenLdap in an LXC container

2011-05-04 Thread David Touzeau
Le mercredi 04 mai 2011 à 23:27 +0200, Papp Tamas a écrit : > On 05/04/2011 10:50 PM, David Touzeau wrote: > > Dear > > > > I have created a Fedora container on an Ubuntu. > > I have installed OpenLDAP inside the container but OpenLDAP did want > to >

[Lxc-users] OpenLdap in an LXC container

2011-05-04 Thread David Touzeau
Dear I have created a Fedora container on an Ubuntu. I have installed OpenLDAP inside the container but OpenLDAP did want to start with permissions issues. *** [root@fedora ~]# /usr/sbin/slapd -d 16383 @(#) $OpenLDAP: slapd 2.4.23 (