[lxc-devel] Support request - LXC on RHEL 6 derived distributions

2011-07-06 Thread Essex, Jonathan
I'm an application architect for a moderately large software company.

 

I'm interested in using linux containers on 'enterprise' flavour
distros; as far as I can see the necessary options are in place on RHEL
6.

 

However the focus here seems to be on the mainline kernel. 

 

What I'd like to achieve is a Scientific Linux 6 container template to
run on SL6. Experience hasn't been good so far; given the general lack
of documentation elsewhere I know I'm going to need some support if I'm
going to make it work.

 

With one question unanswered and another post lost in moderation, my
assumption is that there's either no appetite for this or I'm asking
stupid questions.

 

One way or the other, I'd very much appreciate it if someone could steer
me in the right direction.

 

Thanks

Jonathan

 



"Misys" is the trade name for Misys plc (registered in England and Wales). 
Registration Number: 01360027. Registered office: One Kingdom Street, London W2 
6BL, United Kingdom. For a list of Misys group operating companies please go to 
http://www.misys.com/corp/About_Us/misys_operating_companies.html. This email 
and any attachments have been scanned for known viruses using multiple 
scanners. This email message is intended for the named recipient only. It may 
be privileged and/or confidential. If you are not the named recipient of this 
email please notify us immediately and do not copy it or use it for any 
purpose, nor disclose its contents to any other person. This email does not 
constitute the commencement of legal relations between you and Misys plc. 
Please refer to the executed contract between you and the relevant member of 
the Misys group for the identity of the contracting party with which you are 
dealing. 
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


Re: [lxc-devel] cgroups: support cgroups mounted in multiple places (v3)

2011-07-06 Thread Michael H. Warfield
On Sun, 2011-07-03 at 19:24 +0100, jonathan essex wrote:
> I seem to be having this same issue in a Scientific Linux 6.0 (RHEL 6
> clone) installation with lxc-0.7.4.1
> 
> lxc-checkconfig seems to think everything is OK, but when I try to
> lxc-start a container I've created, I get this error message:
> 
> lxc-start: no ns_cgroup option specified
> lxc-start: failed to spawn 'centos-test'
> lxc-start: No such file or directory - failed to remove cgroup
> '/cgroup/cpuset/centos-test'

This sounds like my "failed" case in testing with libcgroup enabled.

The fact that it's mounted on /cgroup and not /sys/fs/cgroup does not
bode well all all.


1) uname -a

2) chkconfig cgconfig

You probably need to add a line to your /etc/fstab long the lines of
this:

cgroup  /sys/fs/cgroupcgroup  defaults0 0

Then run the commands:

chkconfig cgconfig off
chkconfig cgred off

The reboot (I have NOT had luck manually unmounting those cgroups and
remounting as a single mount point).

If I understand Serge's comments correctly, we can not get the
multipoint mounts to work even with the patched and updated lxc package
due to the lack of "clone_children" in that kernel, so you need to
switch a single mount-point mount to get lxc to work.  Then you don't
even need the multipoint patches to get it to work though you may have
tweaks to make.

> Is this the problem under discussion? I'm new to lxc, so quite
> possible I'm just misunderstanding something.

> Happy to test the patch if someone will outline how to get it/apply
> it. (Aware that this is probably a tedious newbie type question, but
> asking anyway)

Serge or Daniel may correct me but I'm under the impression that it will
not work on that kernel, depending on the rev you report back, for RHEL
6 / SL6.

> Cheers
> Jon

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
   /\/\|=mhw=|\/\/  | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9  | An optimist believes we live in the best of all
 PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!


signature.asc
Description: This is a digitally signed message part
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel