Re: [Vserver] hashify and filesystem

2005-12-27 Thread Herbert Poetzl
On Wed, Dec 28, 2005 at 01:40:50AM -0300, Daniel Ortiz wrote:
> 
> Hi

> I am writing from Chile (sorry my english), I am newbie in the vserver
> wordl and i begining to play whit this, I search the documentations
> and in the mail archives but nothing can answers my questions:

we have absolutely no problem with your english
we have a problem with thread hijacking!

i.e. if you post a new question/issue/whatever, please
start a new thread, and do not just hit the reply
button for any email from an ongoing thread ... thanks!

>  i Have a litle question about the hashify and filesystem.
> 
> First my sistem:
> 
> Debian sarge 
> Linux 2.6.12.4-vs2.0 (patched)
> vserver 0.30.209.
> 
> In this moment I created 2 vserves (vserver1 ans vserver2), but i want
> to minimize the space in the HD, i begin to study the hashify feature,
> but i cant understand some things:
> 
> 1.- "In each used filesystem which contains unifyable files, create a
> hash directory and link it into the database-directory"
> 
> This means that the .hash directory must be created in the vdir
> directory of the vserver that have the files to unify, for example if
> I want to unify the fylesistem of my vserver1:
> 
> mkdir -p /etc/vservers/.defaults/apps/vunify/hash

> mkdir -p /vservers/vserver1/vdir/.hash 

> ln -s /vservers/vserver1/vdir/.hash
> /etc/vservers/.defaults/apps/vunify/hash/0 

> mkdir -p /etc/vservers/vserver2/apps/vunify

> vserver vserver2 hashify

well, yes, unification (this is vunify _and_ vhashify)
works via 'hard links', so the unified files have to
reside on the same physical partition ...

> 2.- The host (my really machine) contains all the things that i want
> to unify (apache, ssh, mysql, and another stuffs) ¿can I unify that?

in theory yes, but it would require you to put the
guests on the same partition, which is probably not
the best idea (thinking of context tagging and such)

> 3.- and...the unify feature with hashify means that if I have some
> software installed i dont need to install again in some vserver?
> The software in question is fully accesible from the vserver and
> configurable accords the requirements of the vserer usser? The
> veserver configurations of the unify software dont are in trouble with
> the root or main configuration of the software?

ahem, no, the unification is just to save disk space
and it can be done at any time (i.e. could be considered
something like 'compress your files', except that it
doesn't compress anything :) but it has nothing to do
with the software or packages installed in your guests

> Thank you in advance...sorry my english and happy new year

best wishes,
Herbert

> Zaterio
> Nbu nodo barrio universitario
> Abako
> 
> 
> ___
> 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] hashify and filesystem

2005-12-27 Thread Daniel Ortiz

Hi

I am writing from Chile (sorry my english), I am newbie in the vserver wordl
and i begining to play whit this, I search the documentations and in the
mail archives but nothing can answers my questions:

 i Have a litle question about the hashify and filesystem.

First my sistem:

Debian sarge 
Linux 2.6.12.4-vs2.0 (patched)
vserver 0.30.209.

In this moment I created 2 vserves (vserver1 ans vserver2), but i want to
minimize the space in the HD, i begin to study the hashify feature, but i
cant understand some things:


1.- "In each used filesystem which contains unifyable files, create a hash
directory and link it into the database-directory"

This means that the .hash directory must be created in the vdir directory of
the vserver that have the files to unify, for example if I want to unify the
fylesistem of my vserver1:

mkdir -p /etc/vservers/.defaults/apps/vunify/hash

 
mkdir -p /vservers/vserver1/vdir/.hash 

ln -s /vservers/vserver1/vdir/.hash
/etc/vservers/.defaults/apps/vunify/hash/0 


mkdir -p /etc/vservers/vserver2/apps/vunify



vserver vserver2 hashify

2.- The host (my really machine) contains all the things that i want to
unify (apache, ssh, mysql, and another stuffs) ¿can I unify that?


3.-  and...the unify feature with hashify means that if I have some software
installed i dont need to install again in some vserver? The software in
question is fully accesible from the vserver and configurable accords the
requirements of the vserer usser? The veserver configurations of the unify
software dont are in trouble with the root or main configuration of the
software? 

Thank you in advance...sorry my english and happy new year

Zaterio
Nbu nodo barrio universitario
Abako


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


[Vserver] vserver on sparc

2005-12-27 Thread Immo 'FaUl' Wehrenberg
Hi,
I installed Linux-2.6.14.4-vs2.1.0 on a Sun Ultra-Enterprise-2 Workstation
with two UltraSparcII-Processors.

Works quite fine (testme.sh:)
Linux-VServer Test [V0.14] Copyright (C) 2003-2005 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.14.4-vs2.1.0 sparc64/0.30.209/0.30.209 [Ea] (0)
VCI:  0002:0001 267 03000116
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.
---
[L01]# succeeded.
[D01]# succeeded.
[L02]# succeeded.
[D02]# succeeded.
[L03]# succeeded.
[D03]# succeeded.
[L11]# succeeded.
[D11]# succeeded.
[L12]# succeeded.
[D12]# succeeded.
[L21]# succeeded.
[D21]# succeeded.
[L22]# succeeded.
[D22]# succeeded.
[L31]# succeeded.
[D31]# succeeded.

and testfs.sh:

Linux-VServer FS Test [V0.10] Copyright (C) 2005 H.Poetzl
Linux 2.6.14.4-vs2.1.0 sparc64/0.30.209
VCI:  0002:0001 267 03000116 (ugid24)
---
testing ext2 filesystem ...
[000]# succeeded.
xattr related tests ...
[101]# succeeded.
[102]# succeeded.
[103]# succeeded.
[104]# succeeded.
[106]# succeeded.
[108]# succeeded.
[109]# succeeded.
[112]# succeeded.
[113]# succeeded.
[114]# succeeded.
[115]# succeeded.
[116]# succeeded.
[117]# succeeded.
[118]# succeeded.
[119]# succeeded.
[121]# succeeded.
[122]# succeeded.
[123]# succeeded.
[124]# succeeded.
[199]# succeeded.
---
testing ext3 filesystem ...
[000]# succeeded.
xattr related tests ...
[101]# succeeded.
[102]# succeeded.
[103]# succeeded.
[104]# succeeded.
[106]# succeeded.
[108]# succeeded.
[109]# succeeded.
[112]# succeeded.
[113]# succeeded.
[114]# succeeded.
[115]# succeeded.
[116]# succeeded.
[117]# succeeded.
[118]# succeeded.
[119]# succeeded.
[121]# succeeded.
[122]# succeeded.
[123]# succeeded.
[124]# succeeded.
[199]# succeeded.
---
testing xfs filesystem ...
[000]# succeeded.
xattr related tests ...
[101]# failed.
---
testing reiser filesystem ...
[000]# succeeded.
xattr related tests ...
[101]# failed.
---
testing jfs filesystem ...
[000]# succeeded.
xattr related tests ...
[101]# failed.


XFS, reiser and jfs failes because there is neither reiserfs nor jfs nor 
xfs-support in the kernel.

So far so well, i created a vserver with

| vserver chaosweb build --interface [...] -m debootstrap -- -d sarge
 which worked quite well, but i experience some errors with starting the
vserver:

| weltzentrale:~#  vserver --debug chaosweb start 
failes with:

| + shift
| + true
| + case "$1" in
| + shift
| + break
| + OPTION_ALL=($OPTION_SILENT $OPTION_VERBOSE $OPTION_DEBUG $OPTION_DEFAULTTTY)
| + SELF=("$0" "[EMAIL PROTECTED]")
| + vserver=chaosweb
| + cmd=start
| + test start '!=' build
| + allow_legacy=
| + case "$vserver" in
| + VSERVER_DIR=/etc/vservers/chaosweb
| + allow_legacy=1
| + test -n 1
| + do_legacy=
| + test '!' -e /etc/vservers/chaosweb/legacy
| + test -d /etc/vservers/chaosweb -o '!' -e /etc/vservers/chaosweb.conf
| + test -z ''
| + test -d /etc/vservers/chaosweb
| + test -e /etc/vservers/chaosweb/name
| + read VSERVER_NAME
| + test start '!=' start -o -n ''
| + isAvoidNamespace /etc/vservers/chaosweb
| + local cfgdir
| + /usr/sbin/vserver-info - FEATURE namespace
| ++ /usr/sbin/vserver-info /etc/vservers/chaosweb CFGDIR
| + cfgdir=/etc/vservers/chaosweb
| + test '!' -e /etc/vservers/chaosweb/namespace
| + return 1
| + exec /usr/sbin/vnamespace --new -- /usr/sbin/vserver nonamespace 
--debug chaosweb start
| wait(): No child processes

Any ideas?
 
TIA

FaUl
-- 
Wenn ein Autor 1000 Seiten benötigt, um die Konfiguration eines Programmes zu 
erläutern, dann würden wir von diesem Programm erwarten, dass es etwas mehr 
kann als Mails zu transportieren. Vielleicht kann sendmail dies auch, keine 
Ahnung, wir haben das Buch wieder weggelt.[T-Online-Team in toti]


pgpk2oaWzKqNc.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The nano-vserver package.

2005-12-27 Thread Michael S. Zick
On Tue December 27 2005 09:04, Dennis Roos wrote:
> On 27 Dec 2005 at 8:55, Michael S. Zick wrote:
> 
> > On Mon December 26 2005 09:15, Joel Soete wrote:
> > > Hello Mike,
> > > 
> > > just one thought (just because it seems to be a std de facto), may
> > > some sshd to be able login the vps, tough? 
> > > 
> > Joel, group;
> > 
> > I have been looking at that, it seems I have two choices:
> > 
> > www.matrixssl.org : : Because it is small.
> > www.openssl.org : : Because it is what most people expect.
> Did you look at the dropbear sshd ?
> 
Looks like I should add that to the list.

Now that Santa Claus has gone home, I should have time to
look at three packages instead of two.

I also stumbled across the following link - which I do not
think is on the project page:


Mike
> >From the Gentoo ebuild:
> DESCRIPTION="small SSH 2 client/server designed for small memory 
> environments"
> HOMEPAGE="http://matt.ucc.asn.au/dropbear/dropbear.html";
> 
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The nano-vserver package.

2005-12-27 Thread Dennis Roos
On 27 Dec 2005 at 8:55, Michael S. Zick wrote:

> On Mon December 26 2005 09:15, Joel Soete wrote:
> > Hello Mike,
> > 
> > just one thought (just because it seems to be a std de facto), may
> > some sshd to be able login the vps, tough? 
> > 
> Joel, group;
> 
> I have been looking at that, it seems I have two choices:
> 
> www.matrixssl.org : : Because it is small.
> www.openssl.org : : Because it is what most people expect.
Did you look at the dropbear sshd ?

>From the Gentoo ebuild:
DESCRIPTION="small SSH 2 client/server designed for small memory 
environments"
HOMEPAGE="http://matt.ucc.asn.au/dropbear/dropbear.html";

-- 
Regards,
Dennis Roos


Network Engineer
InTouch N.V.
Middenweg 76
1097 BS Amsterdam
Tel: +31 (0)20 6752060
Fax: +31 (0)20 6758429

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


Re: [Vserver] The nano-vserver package.

2005-12-27 Thread Michael S. Zick
On Mon December 26 2005 09:15, Joel Soete wrote:
> Hello Mike,
> 
> just one thought (just because it seems to be a std de facto), 
> may some sshd to be able login the vps, tough? 
> 
Joel, group;

I have been looking at that, it seems I have two choices:

www.matrixssl.org : : Because it is small.
www.openssl.org : : Because it is what most people expect.

If we are going to be successful at building a vserver guest
that can be remotely rescued, then the decision may have
to be made on which can be built with static linkage.

Perhaps both?  Like this:

initial-install (baby01) : : chroot/vserver rescue software
 - - - - the matrixssl staticly linked
 - - - - the BusyBox is already providing a telnetd
 - - - - the BusyBox is providing a vi editor
 - - - - the BusyBox can be staticly linked
 - - - - already have a staticly linked Bash

base-install (baby02) : : rescue, backup, restore, and maintenance.
 - - - - the openssl dynamicly linked
 - - - - a dynamicly linked nano editor
 - - - - the BusyBox is currently dynamicly linked
 - - - - I added a dynamicly linked Bash in /opt/gnu/bash/*

The baby02 level should be fine for anyone that is not playing
with an experimental libc6 (like some that I know).

People who need more features should be loading the
base-install of some Linux distribution.

I am also trying to keep this exercise within a single semester's
work in system administration - but I will not cripple the 
package for that purpose.

I will give this some more study, I can't answer my own
question at the moment.

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