Re: linux-vserver (or equvalent) in wheezy

2012-11-30 Thread shawn wilson
On Fri, Jun 8, 2012 at 8:55 PM, Richard Hector  wrote:
> On 08/06/12 08:58, Darren Baginski wrote:
>>
>> 07.06.2012, 23:45, "Adrian Fita":
>>>
>>>
>>> I think that would be Linux Containers (LXC): http://wiki.debian.org/LXC.
>>>
>>
>> Looks promising. Is there any infrastructure around yet?
>> I mean init scripts for auto start , /etc/ files like the same for
>> linux-vserver ?
>
>
> Have a look at libvirt:
>

yes, but how good is libvirt's support for lxc? i was under the
impression this was pretty limited and i only see lxc mentioned three
times in the virsh man page.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cah_obifbkouoe98bx+s7beaugcy4btwommkmogtki9zqp-g...@mail.gmail.com



Re: linux-vserver (or equvalent) in wheezy

2012-11-29 Thread Darren Baginski


08.06.2012, 17:41, "John A. Sullivan III" :
> On Fri, 2012-06-08 at 09:40 +0100, Jon Dowland wrote:
>
>>  On Fri, Jun 08, 2012 at 12:58:16AM +0400, Darren Baginski wrote:
>>>  Looks promising. Is there any infrastructure around yet?  I mean init 
>>> scripts
>>>  for auto start , /etc/ files like the same for linux-vserver ?
>>  This was recently discussed on -devel, and several people commented that 
>> there
>>  isn't yet good userland support for the LXC container mechanism.  At 
>> present,
>>  there are no plans for vserver or openvz kernel packages in wheezy, so 
>> wheezy
>>  is not going to have any well-supported container mechanism.
>>
>>  Many might feel that this is a problem.  I think that the kernel maintainers
>>  may be short of time for supporting the other versions.
>>
>>  Personally, I'm moving all our (non-Debian) vservers to KVM virtual 
>> machines,
>>  despite not being as lightweight, for two main reasons: one, the advantage 
>> of
>>  having distinct kernels per instance; two, the weightiness is not a problem
>>  on the newer hardware we have.
>
> I find there are other advantages to VServer.  We use both KVM and
> VServer in our environment on hefty hardware.  Not only do the lower
> requirements make a difference on highly virtualized systems (nothing
> like seeing dozens of small servers running in 8MB of RAM) but there are
> interesting advantages that can be gained from the shared file system
> and the ability to remount portions of the host file system into the
> guests.
>
> So we certainly see the need for both.  The VServer team is incredibly
> talented and helpful but also very small so we are keeping our eyes
> closely on LXC.  I'm just a little concerned about the userland tools.
> I had heard there was talk if util-vserver supporting LXC but I do not
> know how far that integration has gotten - John
>

Today I learned that Fedora going to support OpenVZ on top on the *stock* 
kernel.
Looks like that requires vzctl 4.1 (Debian how has 3.0.30 ).
https://bugzilla.redhat.com/show_bug.cgi?id=866495
I'm curious if vzctl version can be updated before Wheezy release.
Basically  current vzctl can't be used in Wheezy because of the lack openvz 
compatible kernel.
Can someone more aware about topic shed some light ?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/167741354217...@web28e.yandex.ru



Re: linux-vserver (or equvalent) in wheezy

2012-06-09 Thread Jon Dowland
On Sat, Jun 09, 2012 at 12:55:34PM +1200, Richard Hector wrote:
> Have a look at libvirt:
> We use it with QEMU/KVM; I haven't tried it with LXC (I haven't
> tried LXC at all)

Thanks. I use it with QEMU/KVM, and likewise have never used LXC.
I shall give it a look.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120609102717.GA32205@debian



Re: linux-vserver (or equvalent) in wheezy

2012-06-08 Thread Richard Hector

On 08/06/12 08:58, Darren Baginski wrote:

07.06.2012, 23:45, "Adrian Fita":


I think that would be Linux Containers (LXC): http://wiki.debian.org/LXC.



Looks promising. Is there any infrastructure around yet?
I mean init scripts for auto start , /etc/ files like the same for 
linux-vserver ?


Have a look at libvirt:

 Libvirt is a C toolkit to interact with the virtualization
 capabilities of recent versions of Linux (and other OSes).
 The library aims at providing a long term stable C API for
 different virtualization mechanisms. It currently supports
 QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.

(from `aptitude show libvirt-bin`)

We use it with QEMU/KVM; I haven't tried it with LXC (I haven't tried 
LXC at all)


Richard


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4fd29f06.4010...@walnut.gen.nz



Re: linux-vserver (or equvalent) in wheezy

2012-06-08 Thread Darren Baginski


08.06.2012, 17:41, "John A. Sullivan III" :

> I find there are other advantages to VServer.  We use both KVM and
> VServer in our environment on hefty hardware.  Not only do the lower
> requirements make a difference on highly virtualized systems (nothing
> like seeing dozens of small servers running in 8MB of RAM) but there are
> interesting advantages that can be gained from the shared file system
> and the ability to remount portions of the host file system into the
> guests.
>
> So we certainly see the need for both.  The VServer team is incredibly
> talented and helpful but also very small so we are keeping our eyes
> closely on LXC.  I'm just a little concerned about the userland tools.
> I had heard there was talk if util-vserver supporting LXC but I do not
> know how far that integration has gotten - John
>

I'm checking LXC right now, so far big chunk of functionality is missing for me.
I can't find a way to share IP address with the host system.
Here is my use cases:
1) I have bgpd running on a host server which advertises 10.7.7.5/32 
10.6.6.5/32 
Then I tell linux-vserver to have these IPs on eth0, eth1 whatever, and I don't 
need to create routes, nat, etc - packets reach the instance.
2) I have 192.168.1.2/28 and 3ffe::2/120 on the eth0 from a hoster, from there 
I create containers with 192.168.1.3/32 and 3ffe::3/128 which are attached to 
eth0 - packets reach the instance.
Unfortunately I can't have such setup with LXC. If one is aware what to do, 
please tell me.
Another question, is there a 'unofficial' linux-vserver debian repo for wheezy?
If not, how it hard to have personal automated kernel build farm? Any ready to 
use solutions?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/24921339171...@web20e.yandex.ru



Re: linux-vserver (or equvalent) in wheezy

2012-06-08 Thread John A. Sullivan III
On Fri, 2012-06-08 at 09:40 +0100, Jon Dowland wrote:
> On Fri, Jun 08, 2012 at 12:58:16AM +0400, Darren Baginski wrote:
> > Looks promising. Is there any infrastructure around yet?  I mean init 
> > scripts
> > for auto start , /etc/ files like the same for linux-vserver ?
> 
> This was recently discussed on -devel, and several people commented that there
> isn't yet good userland support for the LXC container mechanism.  At present,
> there are no plans for vserver or openvz kernel packages in wheezy, so wheezy
> is not going to have any well-supported container mechanism.
> 
> Many might feel that this is a problem.  I think that the kernel maintainers
> may be short of time for supporting the other versions.
> 
> Personally, I'm moving all our (non-Debian) vservers to KVM virtual machines,
> despite not being as lightweight, for two main reasons: one, the advantage of
> having distinct kernels per instance; two, the weightiness is not a problem
> on the newer hardware we have.
> 
> 
I find there are other advantages to VServer.  We use both KVM and
VServer in our environment on hefty hardware.  Not only do the lower
requirements make a difference on highly virtualized systems (nothing
like seeing dozens of small servers running in 8MB of RAM) but there are
interesting advantages that can be gained from the shared file system
and the ability to remount portions of the host file system into the
guests.

So we certainly see the need for both.  The VServer team is incredibly
talented and helpful but also very small so we are keeping our eyes
closely on LXC.  I'm just a little concerned about the userland tools.
I had heard there was talk if util-vserver supporting LXC but I do not
know how far that integration has gotten - John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1339162866.31332.3.ca...@denise.theartistscloset.com



Re: linux-vserver (or equvalent) in wheezy

2012-06-08 Thread Jon Dowland
On Fri, Jun 08, 2012 at 12:58:16AM +0400, Darren Baginski wrote:
> Looks promising. Is there any infrastructure around yet?  I mean init scripts
> for auto start , /etc/ files like the same for linux-vserver ?

This was recently discussed on -devel, and several people commented that there
isn't yet good userland support for the LXC container mechanism.  At present,
there are no plans for vserver or openvz kernel packages in wheezy, so wheezy
is not going to have any well-supported container mechanism.

Many might feel that this is a problem.  I think that the kernel maintainers
may be short of time for supporting the other versions.

Personally, I'm moving all our (non-Debian) vservers to KVM virtual machines,
despite not being as lightweight, for two main reasons: one, the advantage of
having distinct kernels per instance; two, the weightiness is not a problem
on the newer hardware we have.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120608084058.GB23609@debian



Re: linux-vserver (or equvalent) in wheezy

2012-06-07 Thread Adrian Fita
On 07/06/12 23:58, Darren Baginski wrote:
> 07.06.2012, 23:45, "Adrian Fita" :
>>
>> I think that would be Linux Containers (LXC): http://wiki.debian.org/LXC.
> 
> Looks promising. Is there any infrastructure around yet?
> I mean init scripts for auto start , /etc/ files like the same for 
> linux-vserver ?

Well, I haven't used them yet, but looking at the lxc package's filelist
[1], it looks like there is a /etc/init.d/lxc script which might start
the containers at boot. And indeed, downloading the package and looking
at the files, /etc/init.d/lxc contains references to /etc/default/lxc
(which I imagine is used to configure some stuff) and also to
/etc/lxc/auto/* (which I think is the way to tell lxc what containers to
auto-start at boot; looks similar to the way xen does it).

1. http://packages.debian.org/wheezy/i386/lxc/filelist

-- 
Adrian Fita


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fd11e94.20...@gmail.com



Re: linux-vserver (or equvalent) in wheezy

2012-06-07 Thread Darren Baginski
07.06.2012, 23:45, "Adrian Fita" :
>
> I think that would be Linux Containers (LXC): http://wiki.debian.org/LXC.
>

Looks promising. Is there any infrastructure around yet?
I mean init scripts for auto start , /etc/ files like the same for 
linux-vserver ?



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/922801339102...@web6d.yandex.ru



Re: linux-vserver (or equvalent) in wheezy

2012-06-07 Thread Adrian Fita
On 07/06/12 21:34, Darren Baginski wrote:
> Could you please tell me what is the option now should be used
> instead of linux-vserver in wheezy? Looks like there is no kernel
> with linux-vserver for wheezy. I'm aware about KVM, but we understand
> it's not the same. I'm looking for lightweight containerization like
> linux-vserver which works out of the box in wheezy. Any help/links
> will be appreciated.

I think that would be Linux Containers (LXC): http://wiki.debian.org/LXC.

-- 
Adrian Fita


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fd104c2.50...@gmail.com



Re: linux-vserver (or equvalent) in wheezy

2012-06-07 Thread Eric Viseur
OpenVZ ?




2012/6/7 Darren Baginski 

> Hi!
>
> Could you please tell me what is the option now should be used instead of
> linux-vserver in wheezy?
> Looks like there is no kernel with linux-vserver for wheezy.
> I'm aware about KVM, but we understand it's not the same.
> I'm looking for lightweight containerization like linux-vserver which
> works out of the box in wheezy.
> Any help/links will be appreciated.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/423941339094...@web4h.yandex.ru
>
>


linux-vserver (or equvalent) in wheezy

2012-06-07 Thread Darren Baginski
Hi!

Could you please tell me what is the option now should be used instead of 
linux-vserver in wheezy?
Looks like there is no kernel with linux-vserver for wheezy.
I'm aware about KVM, but we understand it's not the same.
I'm looking for lightweight containerization like linux-vserver which works out 
of the box in wheezy.
Any help/links will be appreciated.  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/423941339094...@web4h.yandex.ru