Re: [Vserver] ideal setup

2007-04-26 Thread Herbert Poetzl
On Thu, Apr 26, 2007 at 03:21:44PM -0500, Matthew Nuzum wrote:
> Hello, I've been using linux-vserver for years and years. I'm getting
> ready to put a couple servers into use and it seems things have
> changed greatly since I last configured it. Namely, you can do lots of
> cool stuff that couldn't be done before.
> 
> I'll admit, I'm using a budget colo facility. I want to keep my
> bandwidth down. To achieve this, I've connected the servers via eth1
> to each other to create a private lan. Ideally, all traffic between
> the hosts would use this lan. I first started struggling with the idea
> of setting up multihomed vhosts when I realized it was pure insanity
> to do so. It would be so much better to create all the vservers on the
> private lan segment and use the hosts as routers to the outside world.
> By using SNAT rules, I can keep all my vhost traffic quiet and I can
> even install different services on different vhosts. Smart, right? Am
> I on the right track here, or should I just use multi-homed vservers?
> Anyone here seen a scenario like this documented? I'd love to be able
> to stand on the shoulders of giants.
> 
> Additionally, I would love to use both quota and have the benefits of
> unification. I understand that to use quotas you need a separate
> filesystem. Of course, this makes unification impossible. So I had a
> bright idea.
> 
> Most of the user data, everything I think I need to count against
> quotas as a matter of fact, will be in /home. So what if I create a
> filesystem (loop for example) and somehow mount it so that it is /home
> in the vserver. Would this allow me to enable quotas on the /home area
> of the disk?

yep, but I'd suggest to use lvm volumes, because they
will give you better performance than loop files

> Lastly, what is the best way to share user accounts across several
> vservers? (possibly spanning two physical hosts) Best being simple,
> reliable, non resource intensive and secure.

on the same host: have the same filesystem
on different hosts: use a network based filesystem

HTH,
Herbert

> Thanks for your suggestions and help.
> 
> -- 
> Matthew Nuzum
> newz2000 on freenode
> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-26 Thread Herbert Poetzl
On Wed, Apr 25, 2007 at 12:40:12AM -0400, Wenbin Zhang wrote:
> >
> >
> >> vcmd -i 42 -C ctx_create -- ps auxwww
> >> vserver: ret = 0x002A (42)
> >> USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
> >> root 11780  0.0  0.0   1944   672 pts/2R+   13:35   0:00 ps
> >> auxwww
> >>
> >I downloaded the vcmd source, and crosscompiled it, then copy to the ARM
> phone, however, when I tried to run the command, it cannot create the
> process successfully, very strange...
> when I run "vcmd -h", it can show the help, but  when I run " vcmd -i 42 -C
> ctx_create -- ps auxwww", it just hung.
> [EMAIL PROTECTED]:/work/vcmd-0.08# ./vcmd -h
> This is ./vcmd V0.08
> options are:
>  -hprint this help message
>  -Adump data after syscall
>  -Bdump data before syscall
> 
> Btw, my ARM kernel is vserver enabled, I can find the
> /proc/virtual/info does exist but it is an empty file. 

that sounds odd ...

> I guess might be the vserver kernel module has some 
> problem, but I cannot figure out what it is, which is the
> thing I am worrying about. 

there is no such thing as a Linux-VServer kernel module,
so I'm pretty sure that is fine ...

> Can you think of any ideas?

maybe you compiled the wrong kernel?
maybe your toolchain is broken?

best,
Herbert

> Thanks,
> Wenbin

> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] [Release] Stable 2.2.0

2007-04-26 Thread Herbert Poetzl
On Wed, Apr 25, 2007 at 03:06:58PM +0200, ADNET Ghislain wrote:
> [EMAIL PROTECTED] a écrit :
> >Herbert Poetzl a écrit :
> >>Greetings Community!
> >>
> >>after a longer rc stage, to get rid of all the
> >>minor issues, we proudly present the first release
> >>of the new stable 2.2 branch, which includes all
> >>the 'considered stable' features of the previous
> >>devel branch (2.1.x) which has been superceded by
> >>the 2.3.x devel branch ...
> >>
> >>http://www.13thfloor.at/vserver/s_rel26/v2.2.0/
> >>(tools supposed to work fine on Mandriva 2007.x)
> >>
> >>thanks to all who helped in development and did
> >>test the release candidates ...
> >>
> >>enjoy,
> >>Herbert
> >>
> 
> should that be on the vserver website also ? :)

yep, it is, on the main page IIRC :)

http://linux-vserver.org/

> i am not too familiar with the wiki to add it myself
> as i tried and failed ;)

np ...
best,
Herbert

> -- 
> Cordialement,
> Ghislain
> 



> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] ideal setup

2007-04-26 Thread Matthew Nuzum

Hello, I've been using linux-vserver for years and years. I'm getting
ready to put a couple servers into use and it seems things have
changed greatly since I last configured it. Namely, you can do lots of
cool stuff that couldn't be done before.

I'll admit, I'm using a budget colo facility. I want to keep my
bandwidth down. To achieve this, I've connected the servers via eth1
to each other to create a private lan. Ideally, all traffic between
the hosts would use this lan. I first started struggling with the idea
of setting up multihomed vhosts when I realized it was pure insanity
to do so. It would be so much better to create all the vservers on the
private lan segment and use the hosts as routers to the outside world.
By using SNAT rules, I can keep all my vhost traffic quiet and I can
even install different services on different vhosts. Smart, right? Am
I on the right track here, or should I just use multi-homed vservers?
Anyone here seen a scenario like this documented? I'd love to be able
to stand on the shoulders of giants.

Additionally, I would love to use both quota and have the benefits of
unification. I understand that to use quotas you need a separate
filesystem. Of course, this makes unification impossible. So I had a
bright idea.

Most of the user data, everything I think I need to count against
quotas as a matter of fact, will be in /home. So what if I create a
filesystem (loop for example) and somehow mount it so that it is /home
in the vserver. Would this allow me to enable quotas on the /home area
of the disk?

Lastly, what is the best way to share user accounts across several
vservers? (possibly spanning two physical hosts) Best being simple,
reliable, non resource intensive and secure.

Thanks for your suggestions and help.

--
Matthew Nuzum
newz2000 on freenode
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver