Re: [Vserver] gentoo guest template stage4?!?

2007-06-30 Thread John Alberts

A stage4 is a tarball of a complete working system.  It may have
applications already installed, such as apache, ssh, etc.


On 6/30/07, Chuck <[EMAIL PROTECTED]> wrote:


i just went to http://people.linux-vserver.org/~hollow/stages/ to get an
updated install stage for gentoo guests, and saw a stage 4 archive.. umm, not
to appear dumb, but what in the world is a stage4?


--

Chuck




___
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] Major Upgrade Question

2007-05-22 Thread John Alberts

Hi.  I'm using vserver successfully on a production server for over
1.5 years now.  I have upgraded without major problems in the past,
but it seems that there has been a pretty big change in revision
numbers since my last update.
This is a Gentoo host vserver and I am running vserver-sources
v2.0.2.1 and util-vserver v0.30.212-r1.  The upgrade will move me to
vserver-sources v2.2.0 and util-vserver v0.30.212-r2.
Does anyone think there will be any things I should watch out for with
this upgrade?  Will I need to upgrade anything in the guest os's after
or before I upgrade the host?

Thank you

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


Re: [Vserver] Network - How is it implemented?

2007-02-15 Thread John Alberts

I was just going to ask the same thing.  I didn't realize this was
possible at all in the guest.  Right now, I maintain the iptables
rules on the host for all guests.  I have guest admins send me a
request via email if they need a new rule added, and then I add it to
the host.  The main problem is that opening a port because 1 guest
needs it, opens that port for all guests and the host.

John


On 2/15/07, Philippe Teuwen <[EMAIL PROTECTED]> wrote:

> iptables and routing remains on the host, but
>  can be proxied (i.e. done via policy daemon)

Hi Herbert,

Does such daemon exist already?

Phil


___
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] util-vserver 0.30.212

2006-12-12 Thread John Alberts

This is great news.  Do you know when/if the Gentoo VServer docs will
be updated to reflect these changes?

-John


On 12/9/06, Benedikt Böhm <[EMAIL PROTECTED]> wrote:

On Saturday 09 December 2006 17:53, Daniel Hokka Zakrisson wrote:
> Hello everybody!

Hello Gentoo users :)

>
> util-vserver 0.30.212 is an early christmas present to you all, with a
> couple of new features and a few fixes. Get it now, from
> http://ftp.linux-vserver.org/pub/utils/util-vserver/

0.30.212 has just been added to gentoo, but be aware that, ...

> - wrapper scripts for Gentoo have been added (vemerge, vesync,
> vupdateworld and vdispatch-conf), thanks to Benedikt Böhm.

... you have to update scripts that depend on these scripts - they now have a
slightly different syntax...

> - the gentoo initstyle has been reimplemented by Benedikt Böhm.

... the gentoo init style will only work with
>=sys-apps/baselayout-1.13.0_pre5


Additionally, the vserver-new script has been removed, it is superseded
by "vserver ... build -m template ... -- -d gentoo ..."


Bene
___
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] Gentoo update-world script

2006-12-07 Thread John Alberts

I've been using the update-world script for quite a while.  It works
fine on all of my vserver hosts and guests.  It looks like you have
some kind of corruption with your world file.

Did you try doing what the output suggests?  It says to run 'emaint
--check world'


-John


On 12/7/06, Daniel W. Crompton <[EMAIL PROTECTED]> wrote:

Hi,

I read the Gentoo weekly newsletter[1] and was led to an update
program[2]. I usually don't update my box besides from the required
packages as I'm a little lazy. But I thought it would be handy for
creating my base gentoo vservers. I got the error below. Has anybody
had a play with this before? Otherwise I'll go back and investigate, I
think it might be something with them splitting names on - (the dash).
I use baselayout-vserver, which is also in my world file, so this
could account for the problem.

[1] http://www.gentoo.org/news/en/gwn/20061204-newsletter.xml
[2] http://forums.gentoo.org/viewtopic-t-497125.html


# update-world --prepare

These are the packages that I would merge, in order:

Calculating world dependencies
!!! Problems have been detected with your world file
!!! Please run emaint --check world
   /
!!! All ebuilds that could satisfy ">=sys-apps/baselayout-1.11.14"
have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/baselayout-1.11.15-r3 (masked by: package.mask)
- sys-apps/baselayout-1.12.4-r7 (masked by: package.mask)
- sys-apps/baselayout-1.13.0_alpha6 (masked by: package.mask,
package.mask, ~x86 keyword)
- sys-apps/baselayout-1.13.0_alpha7 (masked by: package.mask,
package.mask, ~x86 keyword)
- sys-apps/baselayout-1.13.0_alpha5 (masked by: package.mask,
package.mask, ~x86 keyword)
- sys-apps/baselayout-1.12.5-r2 (masked by: package.mask)
- sys-apps/baselayout-1.12.6 (masked by: package.mask)
- sys-apps/baselayout-1.11.14-r8 (masked by: package.mask)
- sys-apps/baselayout-1.13.0_alpha7-r1 (masked by: package.mask,
package.mask, ~x86 keyword)
- sys-apps/baselayout-1.13.0_alpha5-r1 (masked by: package.mask,
package.mask, ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
!!!(dependency required by "sys-fs/udev-103" [ebuild])



!!! Problem resolving dependencies for net-misc/asterisk
!!! Depgraph creation failed.

WARNING: You need to unmask some packages before continuing.


blaze your trail

--
redhat
___
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] qmail-queue-scanner on vserver

2006-12-06 Thread John Alberts

Thank you both for your replies.  I'll just go ahead and let it
install and modify the script as suggested.  I wasn't sure if the
Gentoo ebuild did any behind the scenes *magic* that I might not catch
by configuring it manually.  I guess I'll find out. :)


John


On 12/6/06, Chuck <[EMAIL PROTECTED]> wrote:

On Wednesday 06 December 2006 17:24, John Alberts wrote:
> I'm running vserver on Gentoo (host and guest) and I'm following this
> guide (http://gentoo-wiki.com/QmailRocksOnGentoo) for installing the
> whole Qmail Rocks set of packages.
> Everything seems to be working great except I can't get
> qmail-queue-scanner to detect spamassassin running.
> The way the build process works for qmail-queue-scanner, is it tries
> to detect what is installed and running and then customizes the perl
> script to use the detected services.  I think the script is trying to
> detect if it's running by using localhost, so it keeps saying that
> spamassassin isn't running, even though it clearly is running.

the configure script can be edited and the hardcoded 127.0.0.1 changed to the
primary ip of the guest if it is really doing that. the only one i know of so
far that hard codes that in configure is nagios.
>
> I guess my question is; Has anyone else been able to get
> qmail-queue-scanner installed and working properly with spamassassin
> on a vserver?

we have qmail with qmail-scanner, spamassassin (spamd/spamc), clamd, spf
plugin, and grey listing plugin running in a verver since Nov of 05 with no
problem at all. it just works. however we have a more simple system than most
in that it is restricted to contact only our primary smtp server and it is
only an smtp server with absolutely no relay priv. at all, there are no
mailboxes on that ... it runs as our secondary mx only.

i dont trust the auto intsalls of qmail scanner so i always go over the .pl
file manually and correct things here and there to match how we like things
to be.

i also do not update that vserver very much at all except for severe security
issues if i ever hear of them .. if it works dont fix it is what i do with
that one :)

> I installed this same thing on a non-vserver system about 2 years ago
> and I didn't have this problem.
>

i cannot vouch for the accuracy of this statement, but i have heard that the
options/install/configure process has changed since '05 which may be the
problem now.

> So far, to troubleshoot, I have added the 'Remap Source IP Address'
> kernel option and rebooted.  I've tried 127.0.0.1 localhost and
> myguestip localhost in the /etc/hosts file.
> My last attempt was to follow the wiki suggestion of adding a lo
> adapter.  I can now ping 127.0.0.1 in the guest, but no change in the
> scanner program.
>

personally i would let it install regardless of what it found, then edit
the .pl file and be done with it :)

> Of course, I've already done the usual thing of looking for all
> instances of localhost or 127.0.0.1 and replacing it with myguestip.
>
>
> -John
> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

--

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


___
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] qmail-queue-scanner on vserver

2006-12-06 Thread John Alberts

I'm running vserver on Gentoo (host and guest) and I'm following this
guide (http://gentoo-wiki.com/QmailRocksOnGentoo) for installing the
whole Qmail Rocks set of packages.
Everything seems to be working great except I can't get
qmail-queue-scanner to detect spamassassin running.
The way the build process works for qmail-queue-scanner, is it tries
to detect what is installed and running and then customizes the perl
script to use the detected services.  I think the script is trying to
detect if it's running by using localhost, so it keeps saying that
spamassassin isn't running, even though it clearly is running.

I guess my question is; Has anyone else been able to get
qmail-queue-scanner installed and working properly with spamassassin
on a vserver?
I installed this same thing on a non-vserver system about 2 years ago
and I didn't have this problem.

So far, to troubleshoot, I have added the 'Remap Source IP Address'
kernel option and rebooted.  I've tried 127.0.0.1 localhost and
myguestip localhost in the /etc/hosts file.
My last attempt was to follow the wiki suggestion of adding a lo
adapter.  I can now ping 127.0.0.1 in the guest, but no change in the
scanner program.

Of course, I've already done the usual thing of looking for all
instances of localhost or 127.0.0.1 and replacing it with myguestip.


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


Re: [Vserver] 2006.1 Gentoo x86 stage3 for vserver ?

2006-12-05 Thread John Alberts

Actually, I'm pretty sure I started with a tarball from
http://dev.croup.de/repos/gentoo-vps/stages/  and then modified
everything to follow the Jackass! guide.  Of course, this involved
recompiling everything with the new gcc 4.1 a couple of times.
Thank you to whomever provides the dev.croup.de stages.

-John


On 12/5/06, Chuck <[EMAIL PROTECTED]> wrote:

On Tuesday 05 December 2006 11:07, Benedikt Böhm wrote:
> On Tuesday 05 December 2006 16:06, John Alberts wrote:
> > What arch do you need?  If you need x86, I gave Bob P from the
> > Jackass! project a tarball that was created around September.  You can
> > download it at one of the mirrors at:
> > http://jackass.homelinux.org/jackass/mirror.html
> >
> > If you need an amd64 arch, I can try and tarball one up for you
> > tonight and provide a link tomorrow.
>
> please take a look at http://dev.croup.de/repos/gentoo-vps/stages/ if you
want
> to build own stages... you will need catalyst for the script to work...

:) don't really care about building stages etc, i just need a production, very
recent template to clone that uses the new clib, gcc4.1.1 and nptl..
converting an older version stage will take way too long as i work in a
production environment and we must deliver this machine to the customer fully
tested and debugged tomorrow morning..

this is why i have almost no time for testing any more and why i got so upset
i had to waste time researching that arping fiasco with the net code. :(
by my schedule i was supposed to have that vserver code i am downloading now
running and doing its updates last night but instead i spent it chasing down
behavior pointing to an automatically included arping module that i found out
about thanks to a forum tip.


>
> i will give it a run during this week, and upload the new stages then...
>
> >
> > -John
> >
> > On 12/5/06, Benedikt Böhm <[EMAIL PROTECTED]> wrote:
> > > On Tuesday 05 December 2006 12:57, Chuck wrote:
> > > > I have searched everywhere I can think of and can only find stage3
> > > > files dated march 2006. That will require an entire rebuild to bring
it
> > > > to spec!
> > >
> > > unfortunately these are the newest vserver stage3 currently available...
> > >
> > > > Any place to find something done using 2006.1/gcc4.1.1? I understand I
> > > > cannot build my own any more as there are no more vserver baselayout
> > > > packages according to a previous msg in this list and I must use
> > > > production quality packages on this machine. I cannot use
> > > > experimentals.
> > >
> > > As long as baselayout-1.13 is not stable, there will be no standard
> > > stages that work with vserver... you still have to use vserver stages
> > > until it's stable...
> > >
> > > baselayout-vserver still exists, and should be used in production
> > > environments, it will be removed after 1.13 is stable...
> > >
> > > probably i'll create a bunch of new stages meanwhile, so that upgrade
> > > loads will decrease..
> > >
> > > Bene
> > > ___
> > > 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 mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

--

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


___
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] 2006.1 Gentoo x86 stage3 for vserver ?

2006-12-05 Thread John Alberts

I think I replied with your answer just as you were sending the
question.  See my previous reply for differences with this build.

-John


On 12/5/06, Chuck <[EMAIL PROTECTED]> wrote:

On Tuesday 05 December 2006 10:41, Oliver Welter wrote:
> Hi Chuck
>
> >> http://jackass.homelinux.org/jackass/mirror.html
> >>
> >
> > i686
> > thank you however i cannot access any of the mirrors listed.
>
>
> at least this one is working for me
> ftp://jackass.mojope.com/jackass/vserver
>

yes .. works for me too.. so what can i expect different in this build? is it
specialized or just simply 'tuned' ?


> > only one answered an ftp client and it required a login other than
anonymous
>
> Oli
> --
> Diese Nachricht wurde digital unterschrieben
> oliwel's public key: http://www.oliwel.de/oliwel.crt
> Basiszertifikat: http://www.ldv.ei.tum.de/page72
>

--

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


___
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] 2006.1 Gentoo x86 stage3 for vserver ?

2006-12-05 Thread John Alberts

BTW, I forgot to mention.  This vserver is built following the
Jackass! guide (http://jackass.homelinux.org/forums/viewtopic.php?t=133).
I think you need to be registered on the forums to actually follow
that link.

What this means is that it is built with GCC 4.1 and uses nptl by default.

-John


On 12/5/06, John Alberts <[EMAIL PROTECTED]> wrote:

That's very strange.  I just tried it and it works fine.

Try this direct link to one of the mirrors.
ftp://jackass.ahrends.org/jackass/vserver/jackass-vserver-i686-20060725.tar.bz2



On 12/5/06, Chuck <[EMAIL PROTECTED]> wrote:
> On Tuesday 05 December 2006 10:06, John Alberts wrote:
> > What arch do you need?  If you need x86, I gave Bob P from the
> > Jackass! project a tarball that was created around September.  You can
> > download it at one of the mirrors at:
> > http://jackass.homelinux.org/jackass/mirror.html
> >
>
> i686
>
> thank you however i cannot access any of the mirrors listed.
>
> only one answered an ftp client and it required a login other than anonymous
>
> > If you need an amd64 arch, I can try and tarball one up for you
> > tonight and provide a link tomorrow.
> >
> > -John
> >
> >
> > On 12/5/06, Benedikt Böhm <[EMAIL PROTECTED]> wrote:
> > > On Tuesday 05 December 2006 12:57, Chuck wrote:
> > > > I have searched everywhere I can think of and can only find stage3 files
> > > > dated march 2006. That will require an entire rebuild to bring it to
> spec!
> > >
> > > unfortunately these are the newest vserver stage3 currently available...
> > >
> > > > Any place to find something done using 2006.1/gcc4.1.1? I understand I
> > > > cannot build my own any more as there are no more vserver baselayout
> > > > packages according to a previous msg in this list and I must use
> production
> > > > quality packages on this machine. I cannot use experimentals.
> > >
> > > As long as baselayout-1.13 is not stable, there will be no standard stages
> > > that work with vserver... you still have to use vserver stages until it's
> > > stable...
> > >
> > > baselayout-vserver still exists, and should be used in production
> > > environments, it will be removed after 1.13 is stable...
> > >
> > > probably i'll create a bunch of new stages meanwhile, so that upgrade
> loads
> > > will decrease..
> > >
> > > Bene
> > > ___
> > > 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
> >
>
> --
>
> Chuck
>
> "...and the hordes of M$*ft users descended upon me in their anger,
> and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> or insecure system troubles and slowness or pay through the nose
> for an OS as *we* do?!!', and I answered...'I use Linux'. "
> The Book of John, chapter 1, page 1, and end of book
>
>
> ___
> 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] 2006.1 Gentoo x86 stage3 for vserver ?

2006-12-05 Thread John Alberts

That's very strange.  I just tried it and it works fine.

Try this direct link to one of the mirrors.
ftp://jackass.ahrends.org/jackass/vserver/jackass-vserver-i686-20060725.tar.bz2



On 12/5/06, Chuck <[EMAIL PROTECTED]> wrote:

On Tuesday 05 December 2006 10:06, John Alberts wrote:
> What arch do you need?  If you need x86, I gave Bob P from the
> Jackass! project a tarball that was created around September.  You can
> download it at one of the mirrors at:
> http://jackass.homelinux.org/jackass/mirror.html
>

i686

thank you however i cannot access any of the mirrors listed.

only one answered an ftp client and it required a login other than anonymous

> If you need an amd64 arch, I can try and tarball one up for you
> tonight and provide a link tomorrow.
>
> -John
>
>
> On 12/5/06, Benedikt Böhm <[EMAIL PROTECTED]> wrote:
> > On Tuesday 05 December 2006 12:57, Chuck wrote:
> > > I have searched everywhere I can think of and can only find stage3 files
> > > dated march 2006. That will require an entire rebuild to bring it to
spec!
> >
> > unfortunately these are the newest vserver stage3 currently available...
> >
> > > Any place to find something done using 2006.1/gcc4.1.1? I understand I
> > > cannot build my own any more as there are no more vserver baselayout
> > > packages according to a previous msg in this list and I must use
production
> > > quality packages on this machine. I cannot use experimentals.
> >
> > As long as baselayout-1.13 is not stable, there will be no standard stages
> > that work with vserver... you still have to use vserver stages until it's
> > stable...
> >
> > baselayout-vserver still exists, and should be used in production
> > environments, it will be removed after 1.13 is stable...
> >
> > probably i'll create a bunch of new stages meanwhile, so that upgrade
loads
> > will decrease..
> >
> > Bene
> > ___
> > 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
>

--

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


___
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] 2006.1 Gentoo x86 stage3 for vserver ?

2006-12-05 Thread John Alberts

What arch do you need?  If you need x86, I gave Bob P from the
Jackass! project a tarball that was created around September.  You can
download it at one of the mirrors at:
http://jackass.homelinux.org/jackass/mirror.html

If you need an amd64 arch, I can try and tarball one up for you
tonight and provide a link tomorrow.

-John


On 12/5/06, Benedikt Böhm <[EMAIL PROTECTED]> wrote:

On Tuesday 05 December 2006 12:57, Chuck wrote:
> I have searched everywhere I can think of and can only find stage3 files
> dated march 2006. That will require an entire rebuild to bring it to spec!

unfortunately these are the newest vserver stage3 currently available...

> Any place to find something done using 2006.1/gcc4.1.1? I understand I
> cannot build my own any more as there are no more vserver baselayout
> packages according to a previous msg in this list and I must use production
> quality packages on this machine. I cannot use experimentals.

As long as baselayout-1.13 is not stable, there will be no standard stages
that work with vserver... you still have to use vserver stages until it's
stable...

baselayout-vserver still exists, and should be used in production
environments, it will be removed after 1.13 is stable...

probably i'll create a bunch of new stages meanwhile, so that upgrade loads
will decrease..

Bene
___
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] Move vserver to real host

2006-12-04 Thread John Alberts

Thanks.  I don't have to do this for a couple of weeks yet.  Hopefully
things will go relatively smoothly.

-John


On 12/4/06, Wolfgang Hennerbichler <[EMAIL PROTECTED]> wrote:


On 04.12.2006, at 19:44, John Alberts wrote:

> I have a guest os running on vserver that is configured and running
> great.  I would like to move/copy that guest os to a standalone
> workstation.
>
> I am using Gentoo.  It seems that if I make a tarball of the guest and
> then copy it to the workstation, change the profile, emerge the proper
> baselayout, install grub, I would think it should be ok.
>
> What do you guys think?  Is this possible?

It definitely is possible.
I just moved a debian-vserver-guest to a xen-guest. A xen-guest is
more or less configured like a real physical machine (except for the
kernel and bootloader).

Under debian I would install grub, and run 'grub-install', configure
a kernel and place that kernel in the grub-config.

What I did, was just to edit /etc/inittab, change it accordingly (I
didn't get a login shell), and that's about it. If you have disabled
your root-password (as I did in my vserver-guests), you would have to
re-enable it. Networking-scripts might need to be adjusted, too (my
xen hosts gets it from kernel level ip autoconfiguration).

> - John

HTH
wogri

--
[EMAIL PROTECTED]
http://www.wogri.com
http://www.einradfilm.at

___
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] snmp & vserver

2006-12-04 Thread John Alberts

Is this what the new option 'Remap Source IP Address' is for?
The description reads:
CONFIG_VSERVER_REMAP_SADDR:
 │
 │ This allows to remap the source IP address of 'local'
 │ connections from 127.0.0.1 to the first assigned
 │ guest IP.
 │
 │ Symbol: VSERVER_REMAP_SADDR [=n]
 │ Prompt: Remap Source IP Address
 │   Defined at kernel/vserver/Kconfig:50
 │   Depends on: EXPERIMENTAL && !VSERVER_LEGACY

Is there a disadvantage to turning this on?  It seems that this would
even be a nice default config option for vserver.

- John



On 12/3/06, Herbert Poetzl <[EMAIL PROTECTED]> wrote:

On Sun, Dec 03, 2006 at 09:31:14PM -0500, Adrien Laurent wrote:
> Hi,
>
> With the setup:
> host: centos 4 - 2.6.18.1-vs2.0.2.2-rc4 - eth0(192.168.0.1) -
> lo(127.0.0.1) -> runs snmp
> guest: centos 4 - eth0(192.168.0.2) -> runs snmp & cacti

you probably do not want to run snmp inside a guest,
instead you want to monitor the guest from the host
(which saves you tasks and provides more information)

> I'm trying to graph the usage of my vserver using snmp and cacti; I
> face the following problems:
>
> - Cacti default setup ping 127.0.0.1 which is not activated by default
> on my vserver guest, is it possible to enable lo(127.0.0.1) on a guest
> ?

it should 'ping' localhost, if it actually 'pings'
127.0.0.1, it is broken, otherwise just adjust
/etc/hosts to list the first assigned ip as localhost

> - When I graph the snmp from guest I get the ip & data of the host
> 192.168.0.1

probably because you actually connect to the snmp
running on the host ...

> - Do you know an easy way on how I could get network stat per ip for
> all the vservers ?

use an iptables accounting rule to get 'on wire'
statistics for single ips (or groups of ips)

HTH,
Herbert

> Thanks a lot for any help !
>
>
> Adrien
>
>
>
> --
> Adrien Laurent
> Chief Information Officer
> (514) 284-2020 x 202
> [EMAIL PROTECTED]
> www.modulis.ca
>
> Technical questions? [EMAIL PROTECTED]
> ___
> 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 mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Move vserver to real host

2006-12-04 Thread John Alberts

I have a guest os running on vserver that is configured and running
great.  I would like to move/copy that guest os to a standalone
workstation.

I am using Gentoo.  It seems that if I make a tarball of the guest and
then copy it to the workstation, change the profile, emerge the proper
baselayout, install grub, I would think it should be ok.

What do you guys think?  Is this possible?


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


Re: [Vserver] Maximum guest on one host

2006-12-04 Thread John Alberts

Thank you Adrien and Herbert for the links.  I had already found those
links except the Solucorp link.  The solucorp link explains exactly
what unification is doing, and the ramifications, in slightly more
detail.  I have more detailed questions; however, I'll save them for a
new thread.

Thanks again.

John


On 12/3/06, Herbert Poetzl <[EMAIL PROTECTED]> wrote:

On Sun, Dec 03, 2006 at 10:47:11PM -0600, John Alberts wrote:
> I don't mean to hijack the thread here, but unification as a way to
> help his resource utilization, could someone please point me to a good
> resource for unification?

http://linux-vserver.org/Special:Search?search=unification

http://linux-vserver.org/Frequently_Asked_Questions#What_is_Unification_.28vunify.29.3F

http://oldwiki.linux-vserver.org/alpha+util-vserver

> I have searched the vserver wiki, but there doesn't really seem to be
> anything on how to setup and use unification.  Also, does unification
> change the upgrade/maintenance process?

that really depends, with recent kernel versions
(see http://linux-vserver.org/Feature_Matrix) CoW
is supported for unified guests, which basically
doesn't require any additional handling, except
for a sweep through the files every now and then
to re-unify common files ...

if the guest maintenance is done from the host,
older setups will benefit without giving up any
freedom, otherwise you should know that the guest
distro handles the immutable but unlinkable files
gracefully, otherwise you'll get complaints from
the guest admin ...

HTH,
Herbert

> Thanks
> John
>
>
> On 12/3/06, Herbert Poetzl <[EMAIL PROTECTED]> wrote:
> >On Sun, Dec 03, 2006 at 02:16:55PM -0500, Adrien Laurent wrote:
> >> Hi,
> >>
> >> I have a project of giving away free voip servers using vserver.
> >> Each servers will be a minimal centos installation with few
> >> additionnal packages.
> >
> >you should make sure that you utilize unification
> >in this case, as it will probably be the best shared
> >resource in your setup (only config files will differ)
> >so given the server is configured well, and all guests
> >are 'idle' you can probably put 300+ there
> >
> >here some tips _for your_ setup:
> >
> > - make sure to use unification (saves disk space
> >   and most important memory for mappings and caches)
> > - reduce the number of guest processes, maybe even
> >   to a single process (the VoIP app) plus a fake init
> > - configure higher HZ values (1000Hz) disable
> >   preemption, get apic running, configure the hard
> >   cpu scheduler for timeslicing
> >
> >HTH,
> >Herbert
> >
> >> They will all have a public ip - no firewall.
> >>
> >> Considering that all the servers are idle - how many of them can a
> >> regular server (Pentium 3.0Ghz - 2go ram) handle ?
> >>
> >>
> >> Thanks,
> >>
> >>
> >> Adrien
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Adrien Laurent
> >> Chief Information Officer
> >> (514) 284-2020 x 202
> >> [EMAIL PROTECTED]
> >> www.modulis.ca
> >>
> >> Technical questions? [EMAIL PROTECTED]
> >> ___
> >> 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 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] Maximum guest on one host

2006-12-03 Thread John Alberts

I don't mean to hijack the thread here, but unification as a way to
help his resource utilization, could someone please point me to a good
resource for unification?

I have searched the vserver wiki, but there doesn't really seem to be
anything on how to setup and use unification.  Also, does unification
change the upgrade/maintenance process?

Thanks
John


On 12/3/06, Herbert Poetzl <[EMAIL PROTECTED]> wrote:

On Sun, Dec 03, 2006 at 02:16:55PM -0500, Adrien Laurent wrote:
> Hi,
>
> I have a project of giving away free voip servers using vserver.
> Each servers will be a minimal centos installation with few
> additionnal packages.

you should make sure that you utilize unification
in this case, as it will probably be the best shared
resource in your setup (only config files will differ)
so given the server is configured well, and all guests
are 'idle' you can probably put 300+ there

here some tips _for your_ setup:

 - make sure to use unification (saves disk space
   and most important memory for mappings and caches)
 - reduce the number of guest processes, maybe even
   to a single process (the VoIP app) plus a fake init
 - configure higher HZ values (1000Hz) disable
   preemption, get apic running, configure the hard
   cpu scheduler for timeslicing

HTH,
Herbert

> They will all have a public ip - no firewall.
>
> Considering that all the servers are idle - how many of them can a
> regular server (Pentium 3.0Ghz - 2go ram) handle ?
>
>
> Thanks,
>
>
> Adrien
>
>
>
>
>
> --
> Adrien Laurent
> Chief Information Officer
> (514) 284-2020 x 202
> [EMAIL PROTECTED]
> www.modulis.ca
>
> Technical questions? [EMAIL PROTECTED]
> ___
> 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 mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] resource management

2006-12-01 Thread John Alberts

I'm sorry, I don't have an answer for you, but I do have a question.
What is your cpu utilization with that many guests?  I know that
vserver is extremely easy on resources; however, I think on the wiki
it says that some tests show 1-2% resource utilization per guest os.
with 20 guest running, that's 20-40% resource utilization just for
running empty guests.  Of course, your not running empty guests (and
you said some of the guests are heavily used), so I would expect your
server to have very high resource usage.

It may also help someone diagnose your problem by showing the output of vmstat.





On 12/1/06, Chuck <[EMAIL PROTECTED]> wrote:

suddenly out of nowhere, on a brand new 1 month old dual opteron machine we
started getting system lockups and crashes.. I managed to track it down to a
bad block in the email mailboxes.. the email server, of necessity for now
must run on the host since it uses 140ip addresses. eventually we will move
everyone to namespace and i can put it into a vserver..

now on to my question.

we have a TON of open files I am sure. Presently there are 20 guests running,
some, like a web server has 260 domain on it and it is quite busy. Are we
approaching or exceeding some kind of system resource limit maybe?

I never get to see the console since the server is 1000 miles away, but this
morning someone read a msg that seemd to be information only. I have no clue
what this means:  Kernel Direct Mapping Table up to 100,000,000 @8000:d800.

Any clues? Any advice how to set higher resources in the host system if this
is becoming a problem? I have never had to do this before but also have not
worked on a system so large. We are only about half done. I expect there to
be approx 50-60 vservers on this machine with at least 15-20 of them very
busy.

The host install is 100% stock Gentoo with no modifications other than what is
needed to run vservers.  The kernel is 2.6.18-vs2.0.2-gentoo-r8 with
util-vserver 0.30.211. Everything is compiled 2006.1 gcc 4.1.1 and
glibc .2.4-r4:2.2.

The disk subsystem is a SATA2 hardware raid5 with all partitions except root
boot and swap, using LVM2. At present there are 27 mount points used.



--

Chuck




___
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] Physical to virtual ?

2006-11-05 Thread John Alberts

I'm not sure of the details of doing this, but I know this question
has been asked many times before.  You should be able to find your
answer if you search the list archives.

John


On 11/4/06, Brian Ipsen <[EMAIL PROTECTED]> wrote:

Hi.

 I have a couple of physical linux servers, that I'd like to move to a
vserver environment (have them running on a single physical host)... What is
the easiest way to do this ? Can I do something with copying most of the
files from the physical server to a vserver catalog (maybe by using tar - I
have the possibility to use IBM Tivoli Storage Manager as well) ??

Regards

/Brian
___
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] XSL for http://wiki.linux-vserver.org/VServerConfiguration

2006-09-28 Thread John Alberts

I think they are intuitive as well.  It looks good to me.


On 9/28/06, Tim Mecking <[EMAIL PROTECTED]> wrote:

Daniel Hokka Zakrisson wrote:
> What's with all the funky signs after filenames? Wouldn't it be better
> with something like what the boring CSS template has, i.e. [symlink],
> [script], etc?

Maybe..
As I always disable css at the flower page I didn't take it into
consideration.

The 'funky' signs are basically taken from 'ls -F' ( '/' for directory,
'@' for symlinks, '*' for executables. The rest are supplemented ('#'
for hash files, ''/'-' for number of lines in the files).

I think these signs are quite intuitive.

Ciao
Tim
___
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] vmware in vserver?

2006-09-28 Thread John Alberts

I was curious about running vmware in a guest so that I could run an
instance of windows on my linux box.  That's the only thing I wish
vserver could do is let me run windows as a guest os.
Please don't start flaming with "Why would you use WINDOZE anyway?".
Sometimes it's necessary, especially for Windows admins like myself.
:)

Thanks for everyones input.


On 9/28/06, ehab heikal <[EMAIL PROTECTED]> wrote:

But you can run vserver in a vmware linux setup.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Alberts
Sent: Wednesday, September 27, 2006 8:02 PM
To: vserver@list.linux-vserver.org
Subject: [Vserver] vmware in vserver?


Is it possible to run vmware-server in a vserver guest?
___
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 mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vmware in vserver?

2006-09-27 Thread John Alberts

true.  I guess there is no point in running vmware in a guest os.


On 9/27/06, Bruno <[EMAIL PROTECTED]> wrote:

On Wednesday 27 September 2006 20:01, John Alberts wrote:
> Is it possible to run vmware-server in a vserver guest?

That depends very much on how much you allow to your guest (Capabilities).
As VMWare uses a kernel module it makes no sense to try to run VMWare within a
VServer guest. VMWare can escape it's guest context through the kernel
modules.

Bruno
___
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] vmware in vserver?

2006-09-27 Thread John Alberts

Is it possible to run vmware-server in a vserver guest?
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] The New Website

2006-09-27 Thread John Alberts

I just wanted to say thank you to whomever is responsible for updating
the www.linux-vserver.org website.  The new wiki is great and very
easy to navigate.  The 'overview' and 'paper' links on the left side
are very informative.  I'm not sure if they were present on the old
site, but if they were, I never even noticed them.

Thanks again.

John Alberts
Purdue University Calumet
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] OpenVCP 0.2 rc1 released

2006-08-18 Thread John Alberts

Very cool.  I didn't know this project existed.  I only have one
vserver, but it looks like this will help manage and monitor the one
server I have nicely.

Thanks for the heads up.

John


On 8/18/06, Gerrit Wyen <[EMAIL PROTECTED]> wrote:

hi,
the OpenVCP Team is proud to announce the release of OpenVCP 0.2 rc1.

OpenVCP is a Open-Source VServer Control Panel. It provides a web-based
interface to manage a whole farm of VServer hosts, build guests, control
the guests, account traffic and much more. For details take a look at
the screenshots.


major changes:

- improved user/network management
- optional TLS Support
- a lot of bugfixes...


Project Page:
http://www.openvcp.org

Screenshots:
http://www.openvcp.org/wiki/Screenshots



regards,
Gerrit Wyen

___
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] Multiple NICs, Multiple Networks; Revisited 2

2006-08-13 Thread John Alberts

Hi Bob.  After reading both this thread and the one on the Gentoo
forums that you posted, I see several problems.

First, I would use seperate subnets for each of your eth0, eth1, and
eth2 interfaces, and of course, seperate hubs/switches.  I tried for a
week to get 2 nics working on the same subnet and never got past the
routing problems.  For isolation reasons, I wouldn't expect that you
would even really want them on the same subnet anyway.

Second, it sounds like you are trying to use the same ip for your
guest as the ip that you have set for your real interface.  The guest
os should have a unique address on the same subnet that the real
interface is on.  For instance, if eth1 has an ip of 192.168.18.252,
then your guest os can have an ip of 192.168.18.100.  Assuming that
192.168.18.100 is not already in use elsewhere.

This leads to the third problem.  Every guest os must have a unique ip
address.  In reading your posts, it sounds like you are trying to use
the same ip for multiple guests.  You can't do that. :)

John


On 8/13/06, Michael S. Zick <[EMAIL PROTECTED]> wrote:

On Sat August 12 2006 02:14, Bob Predaina wrote:
>
> eth0, eth1, eth2 and lo are all up and running on the
> host. the host is using eth0.  as a test setup i have
> installed two guest servers that will be using eth1.
> both were created using the --interface
> eth1:192.168.18.252/24 parameter.
>

Have you tried specifying a single address?
--interface eth1:192.168.18.252/32

> The guests correctly
> report that they are using eth1 at 192.168.18.252.
>
> Even though the guest server's ifconfig information
> shows binding to the correct ethernet adapter and IP
> address (eth1:192.168.18.252), it appears that they
> are responding to incoming traffic on
> eth1:192.168.18.252, but their outgoing traffic is
> actually going out through eth0:192.168.18.251. there
> is no isolation of the network interfaces.
>

Both of those addresses are within the
eth1:192.168.18.252/24 specification.

Mike
___
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] RHEL4 guest on Gentoo host

2006-07-02 Thread John Alberts

Could you explain this a little more please?  Where do I get the
initial RHEL base to use for the vserver-new command?  I'm running
Gentoo for the host and I have Gentoo tarballs to use with
vserver-new.

thx


On 6/30/06, Daniel W. Crompton <[EMAIL PROTECTED]> wrote:

On 6/30/06, John Alberts <[EMAIL PROTECTED]> wrote:
> I tried asking this question on the gentoo-vserver irc channel, but
> unfortunately I didn't get any response at all.  I currently have a
> Gentoo host that is running multiple Gentoo guest os's.  I have
> someone who wants me to install a RHEL4 guest for him, because he is
> more comfortable with it and it is required for this project.  I
> really have no idea how to go about creating a guest other than a
> Gentoo guest.  With Gentoo, I have a nice tarball that I started with,
> and I just updated that and use it for my template.
> With RHEL4, I have the install cd's.  I have no idea how to go about
> using these cd's to install it as a guest.
> Any help or pointing me to some related docs would be appreciated.

I created an empty vserver in /vservers/RHEL4-base/ with "vserver-new".

I used "rpm -i --prefix /vservers/RHEL4-base/" to install rpm and
bash, with all the other package requirements I needed for these to
work.

I modified the /etc/vserver/RHEL4-base/fstab to include the mounted
cdrom drive on /mnt/cdrom.

I then chroot "/vservers/RHEL4-base/ /bin/bash" and installed all the
packages I needed for a base image I could copy.

>From that I created a tgz I could install with vserver-new.

D.


blaze your trail

--
redhat
___
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] RHEL4 guest on Gentoo host

2006-06-29 Thread John Alberts

I tried asking this question on the gentoo-vserver irc channel, but
unfortunately I didn't get any response at all.  I currently have a
Gentoo host that is running multiple Gentoo guest os's.  I have
someone who wants me to install a RHEL4 guest for him, because he is
more comfortable with it and it is required for this project.  I
really have no idea how to go about creating a guest other than a
Gentoo guest.  With Gentoo, I have a nice tarball that I started with,
and I just updated that and use it for my template.
With RHEL4, I have the install cd's.  I have no idea how to go about
using these cd's to install it as a guest.
Any help or pointing me to some related docs would be appreciated.

Thanks

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


Re: [Vserver] vserver build docs, and vserver docs in general

2006-05-17 Thread John Alberts
I think if just Herbert's response was posted on the wiki as a newbie FAQ, this would help greatly.  I know I'm saving this message for myself for future reference.JohnOn 5/17/06, 
Herbert Poetzl <[EMAIL PROTECTED]> wrote:
On Sun, May 14, 2006 at 09:26:46PM +0200, ADNET Ghislain wrote:> Hi,>>   I found a lot of place for constructing Vservers with vserver build.> But i am a little confused as i do not find anything about what are
> the vserver build parameters and documentation.http://linux-vserver.org/alpha+util-vservervserver - build --help>  I have searched the wiki, googled and such without success. Anyone
> can give me a hand ?>>  I do not know if this is me but to find a easy guide with all the> options of the vserver and vserver utils would be a great help.well, usually the --help option of the main tool
is the reference, but feel free to create andmaintain such a guide ...>>Even the "great flower page" can be seen as a funny private joke> but i certainly think that this "private joke" is quite repelling to
> any user trying to unsderstand this project (yes we can select the> style page but really). I think perhaps this is time to washify> the docs to gets the core doc into one comprehensive document not
> linked to a particular user or distrib like all the "how-to" present> on the site that are very helpfull but not enough "oficials" and all> geared toward specific items like feudora or debian or ubuntu, nothing
> general, no practical exemple in a general presentation . All this is> confusing no ?go ahead, I'm always fine with improving thedocumentation, and restructure stuff, but note,the emphasis is on 'improving' not just moving
around stuff ...>   I think really a manual with:>> 1/ concept> 2/ technical way this is done (general level)http://linux-vserver.org/Linux-VServer-Paper
> 3/ how to install a vserver kernel ( neutral "vanilla" most details,http://linux-vserver.org/Step-by-Step+Guide+2.6> debian, feudora exemple )
> -- until here those allready exist so are just to be compiled> together  > 4/ how to install util-veser( neutral "vanilla" most details,> debian, feudora exemple )
http://linux-vserver.org/Step-by-Step+Guide+2.6> 5/ how to build a vserver guest  and the various options  ( debian> guest, ubuntu guest,   feudora guest  )
http://linux-vserver.org/alpha+util-vserver> 6/ How to configure and limit guest systems with  a flower page without> the private joke
http://linux-vserver.org/Resource+Limitshttp://linux-vserver.org/Scheduler+Parameters
http://www.nongnu.org/util-vserver/doc/conf/configuration.html> 7/ Practical exemples ( guest using the main eth0, guest NATED, guest> quota, guest bandwidht limits, guest CPU limitation, guest load
> balancing, guest washification etc... )http://linux-vserver.org/HowtoPrivateNetworkinghttp://linux-vserver.org/Disk+Limits
http://linux-vserver.org/Standard+non-shared+quotahttp://linux-vserver.org/alpha+util-vserver
 (hashify)> 8/ Where to find more, with links to the contribued how to and the wiki> etc..., mailing list linkhttp://linux-vserver.org/Documentation
http://linux-vserver.org/ (Contacts)> 9/ contrib page, we welcome your helphttp://linux-vserver.org/Hall+of+Fame
> Will greatly help the project stand against other virtualisation> technology, does it make sense to you or is it just me ?still makes sense ... so if you want to invest timein 'improving' be my guest ...
best,Herbert> I think this manual can stay in vanilla/debian/feudora land and let> contributed how-to complete the picture. Also the mix of 1.0 and 2.0> FAQ/how-to is troubling me, is there any way to put 
1.0 and 2.0 docs in> two separate part ?>> --> Cordialement,> Ghislain ADNET.> ___> Vserver mailing list> 
Vserver@list.linux-vserver.org> http://list.linux-vserver.org/mailman/listinfo/vserver___
Vserver mailing listVserver@list.linux-vserver.orghttp://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] vserver features

2006-04-23 Thread John Alberts
I'm new to vserver also; however, it seems that iptables is only possible on the host, not the guest.I'm not sure about your udev question.On 4/23/06, 
Jonathan Dray <[EMAIL PROTECTED]> wrote:
Sorry I don't know if my previous mail was sent because of the email verification service :I've successfully installed Vserver on a debian etch with a 
2.6.15 patched kernel and started my first guest a few days ago.
I'm now looking for help/information about two features I acually didn't find :  
- iptables support in guest environnement. I am forced to use the host
iptables configuration to grant security which is not very handy. It is
not possible to give a guest specific security management for it's ip
address.
  - udev management for devices in guest environnement. I was searching for documentation / tutorials for the above specific topics. Could you give me a hint ?Maybe i missed something ?regards 
Jon

___Vserver mailing listVserver@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] Vservers and RAID (5 & hard)

2006-02-14 Thread John Alberts
I recently purchased a Dell PowerEdge 2850 that I'm using for
vservers.  I'm using Gentoo for the host and guests.  Seems to work
really great so far.
I purchased 4 10k rpm 73G u320 drives and use them in a single raid5
partition.  I then used LVM2 to partiion up the space.

Here's the output of fdisk -l :

Disk /dev/sda: 219.8 GB, 219823472640 bytes
255 heads, 63 sectors/track, 26725 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1  12   96358+  de  Dell Utility
/dev/sda2   *  13  21   72292+  83  Linux
/dev/sda3  22 508 3911827+  82  Linux swap / Solaris
/dev/sda4 509   26725   210588052+   5  Extended
/dev/sda5 509 752 1959898+  83  Linux
/dev/sda6 753   26725   208628091   8e  Linux LVM

As you can see, I have a partition for /boot, /, and swap.  The rest is for LVM.

I then divided up the LVM for the remainder of the system.
Here's what lvdisplay shows:

  --- Logical volume ---
  LV Name/dev/vg/usr
  VG Namevg
  LV UUID**I
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size10.01 GB
  Current LE 2563
  Segments   1
  Allocation inherit
  Read ahead sectors 0
  Block device   254:0

  --- Logical volume ---
  LV Name/dev/vg/home
  VG Namevg
  LV UUID**
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size5.00 GB
  Current LE 1280
  Segments   1
  Allocation inherit
  Read ahead sectors 0
  Block device   254:1

  --- Logical volume ---
  LV Name/dev/vg/opt
  VG Namevg
  LV UUID**
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size5.00 GB
  Current LE 1280
  Segments   1
  Allocation inherit
  Read ahead sectors 0
  Block device   254:2

  --- Logical volume ---
  LV Name/dev/vg/var
  VG Namevg
  LV UUID**
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size10.00 GB
  Current LE 2560
  Segments   1
  Allocation inherit
  Read ahead sectors 0
  Block device   254:3

  --- Logical volume ---
  LV Name/dev/vg/tmp
  VG Namevg
  LV UUID**
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size2.00 GB
  Current LE 512
  Segments   1
  Allocation inherit
  Read ahead sectors 0
  Block device   254:4

  --- Logical volume ---
  LV Name/dev/vg/vservers
  VG Namevg
  LV UUID**
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size30.00 GB
  Current LE 7680
  Segments   1
  Allocation inherit
  Read ahead sectors 0
  Block device   254:5


I still have lots of unused LVM space.  I just expand my /vserver
volume and any others as needed.

Performance is great.

Hope this helps your decision.

On 2/14/06, Lars Hallberg <[EMAIL PROTECTED]> wrote:
> Sam Vilain wrote:
>
> > I hate that!  Such a deep directory... besides, the unix conventions of
> > var, /usr, etc, were made before this use case was considered (/com,
> > anyone?).  I think it deserves its own TLD (top level directory).
>
> /var/lib/vservers ... Have no problems with that... but i symlink it as
> 'v' from /root :-) ... and /etc/vservers as 'e' :-)
>
> Thats Ubuntu... same as Debian I asume.
>
> /LaH
>
> ___
> 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] Problem with ssh following cacti stat tutorial on wiki

2006-01-26 Thread John Alberts
Hi.  I was trying to follow this tutorial:
http://linux-vserver.org/Cacti+configuration  on the vserver wiki. 
I'm running into a problem on the 4th step which says to type the
following on the cacti machine:
ssh -i vs-stat [EMAIL PROTECTED]


I am still prompted for a password when trying this.  Here's what I get:

emsshop .ssh # ssh -i vs-stat [EMAIL PROTECTED]
[EMAIL PROTECTED]'s password:
Permission denied, please try again.
[EMAIL PROTECTED]'s password:
Permission denied, please try again.
[EMAIL PROTECTED]'s password:
Permission denied (publickey,password,keyboard-interactive).


I have another key that I use from this server to the host server and
it works fine for me.
Here's what shows up in /var/log/messages:

Jan 26 17:23:52 emsvs1 sshd[8159]: Failed password for vs-stat from
x.x.x.x port 55460 ssh2

I'm not sure what to do next.  Any help appreciated.

Thanks

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


Re: [Vserver] Logo design

2006-01-17 Thread John Alberts
Some very nice ideas.  I think a combination of the Linux Vserver on pg1 in the middle (the one with the darker 'v' checkmark) and the logo on the bottom left of the last page (pg. 11) would look perfect.
On 1/17/06, Joep Gommers <[EMAIL PROTECTED]> wrote:
Dear list,I realize its a bit late, Herbert pointed me towards a old post about logo's. I'm kinda in a rush, but spend a few minutes on some brainfarts for a VServer logo. Please take a look, and give your opinion. The logo's itself arent really logo's yet, just some ideas/feelings. Please tell me what pages or pictures you like, so i can continue with those. Ill be doing further design tomorrow.
http://www.virtualinfrastructure.nl/downloads/design.pdf Thanks,
Joep

___Vserver mailing listVserver@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] Guest OS Stops Responding After Hours Of Working

2006-01-15 Thread John Alberts
Thank you for you both for your help.  It was just that eth1 was on the same subnet.  Disabling eth1 for now has fixed the problem.  I'll look into bonding the 2 nics.John
On 1/14/06, Michael S. Zick <[EMAIL PROTECTED]> wrote:
On Fri January 13 2006 18:19, John Alberts wrote:> Hi all.  I'm using vserver on a Gentoo machine.  I originally tried to get> some help on the gentoo-vserver irc channel; however, I think we must all> have opposite schedules.
>> Anyway, I am using Gentoo for my host machine and also Gentoo as the guest> os.  The guest os runs Apache2 and MySQL and it works well for a while (5, 6> hours).  After a while I am unable to connect to the guest os.  From the
> host os, I can reach the guest os (ping, browse web page using links, etc),> but not from outside the host os.  If I go into the guest os using vserver> myguest enter, the only fqdn i can ping is the one for the host os the is in
> my hosts file.  No other fqdn's work.>Is DNS accessible on both nic cablings?Could be the resolver is trying the nic/cable setup that does not reachany name server.> If I ping a known working ip address,
> everything starts working again!  I have no idea what this means or how to> fix it.  As a temporary solution, just to keep my guest os working, I put a> cron job that pings 2 different servers every half hour.
> I think it's probably a routing problem, but I'm not sure what to do.  My> host has 2 gigabit nics, both on the same subnet.>> Here is my ifconfig -a and route from my host os: (route hangs a while and
> then finally prints the output below)>The delay in route response is probably DNS lookup time (failing and retrying)See if there is a difference in: "route " and "route -n"
See below> ---> ifconfig -a>> route>> Kernel IP routing table> Destination Gateway Genmask Flags Metric RefUse> Iface> 
205.215.68.0*   255.255.255.0   U 0  00 eth0> 205.215.68.0*   
255.255.255.0   U 0  00 eth1> loopback*   255.0.0.0   U 0  00 lo> default 205.215.68.254
  0.0.0.0 UG0  00 eth0> default 205.215.68.254  0.0.0.0 UG0  00 eth1
>Note there is no name resolution for names not in '/etc/hosts'> >> Here is the ifconfig -a and route from inside my guest os:> --> ifconfig -a> eth0  Link encap:Ethernet  HWaddr 00:04:23:C3:C4:FE
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1>   RX packets:929890 errors:0 dropped:0 overruns:0 frame:0>   TX packets:981291 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000>   RX bytes:256023685 (244.1 Mb)  TX bytes:1085603257 (1035.3 Mb)>   Base address:0xecc0 Memory:df9e-dfa0>> eth0:100  Link encap:Ethernet  HWaddr 00:04:23:C3:C4:FE
>   inet addr:205.215.68.100  Bcast:205.215.68.255  Mask:255.255.255.0>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:929890 errors:0 dropped:0 overruns:0 frame:0>   TX packets:981291 errors:0 dropped:0 overruns:0 carrier:0>   collisions:0 txqueuelen:1000>   RX bytes:256023685 (
244.1 Mb)  TX bytes:1085603257 (1035.3 Mb)>   Base address:0xecc0 Memory:df9e-dfa0>> route> Kernel IP routing table> Destination Gateway Genmask Flags Metric RefUse
> Iface> 205.215.68.0*   255.255.255.0   U 0  00 eth0> 205.215.68.0
*   255.255.255.0   U 0  00 *> loopback*   255.0.0.0   U 0  00 *> default 
205.215.68.254  0.0.0.0 UG0  00 eth0> default *   0.0.0.0 UG0  00 *
> -->Same here.What is the search order in /etc/host.conf?What name services in /etc/resolv.conf?What are the service providers for 'hosts:' in /etc/nsswitch.confDuh...
Which libc version is handling the above?Mike> Thanks in advance for any help.>> John>___Vserver mailing list
Vserver@list.linux-vserver.orghttp://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Guest OS Stops Responding After Hours Of Working

2006-01-13 Thread John Alberts
Hi all.  I'm using vserver on a Gentoo machine.  I originally tried to get some help on the gentoo-vserver irc channel; however, I think we must all have opposite schedules.Anyway, I am using Gentoo for my host machine and also Gentoo as the guest os.  The guest os runs Apache2 and MySQL and it works well for a while (5, 6 hours).  After a while I am unable to connect to the guest os.  From the host os, I can reach the guest os (ping, browse web page using links, etc), but not from outside the host os.  If I go into the guest os using vserver myguest enter, the only fqdn i can ping is the one for the host os the is in my hosts file.  No other fqdn's work.  If I ping a known working ip address, everything starts working again!  I have no idea what this means or how to fix it.  As a temporary solution, just to keep my guest os working, I put a cron job that pings 2 different servers every half hour.
I think it's probably a routing problem, but I'm not sure what to do.  My host has 2 gigabit nics, both on the same subnet.Here is my ifconfig -a and route from my host os: (route hangs a while and then finally prints the output below)
---ifconfig -aeth0  Link encap:Ethernet  HWaddr 00:04:23:C3:C4:FE  inet addr:205.215.68.74  Bcast:0.0.0.0  Mask:
255.255.255.0  inet6 addr: fe80::204:23ff:fec3:c4fe/64 Scope:Link  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  RX packets:929466 errors:0 dropped:0 overruns:0 frame:0  TX packets:981291 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000  RX bytes:255987202 (244.1 Mb)  TX bytes:1085603257 (1035.3 Mb)  Base address:0xecc0 Memory:df9e-dfa0eth0:100  Link encap:Ethernet  HWaddr 00:04:23:C3:C4:FE
  inet addr:205.215.68.100  Bcast:205.215.68.255  Mask:255.255.255.0  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  collisions:0 txqueuelen:1000  RX bytes:0 (0.0 b)  TX bytes:0 (0.0
 b)  Base address:0xecc0 Memory:df9e-dfa0eth1  Link encap:Ethernet  HWaddr 00:04:23:C3:C4:FF  inet addr:205.215.68.75  Bcast:
0.0.0.0  Mask:255.255.255.0  inet6 addr: fe80::204:23ff:fec3:c4ff/64 Scope:Link  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  RX packets:82354 errors:0 dropped:0 overruns:0 frame:0
  TX packets:54663 errors:0 dropped:0 overruns:0 carrier:0  collisions:0 txqueuelen:1000  RX bytes:8731671 (8.3 Mb)  TX bytes:71564782 (68.2 Mb)  Base address:0xec80 Memory:df9c-df9e
lo    Link encap:Local Loopback  inet addr:127.0.0.1  Mask:255.0.0.0  inet6 addr: ::1/128 Scope:Host  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:28411 errors:0 dropped:0 overruns:0 frame:0  TX packets:28411 errors:0 dropped:0 overruns:0 carrier:0  collisions:0 txqueuelen:0  RX bytes:57095159 (54.4 Mb)  TX bytes:57095159 (
54.4 Mb)sit0  Link encap:IPv6-in-IPv4  NOARP  MTU:1480  Metric:1  RX packets:0 errors:0 dropped:0 overruns:0 frame:0  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)routeKernel IP routing tableDestination Gateway Genmask Flags Metric Ref    Use Iface
205.215.68.0    *   255.255.255.0   U 0  0    0 eth0205.215.68.0    *   255.255.255.0
   U 0  0    0 eth1loopback    *   255.0.0.0   U 0  0    0 lodefault 205.215.68.254  
0.0.0.0 UG    0  0    0 eth0default 205.215.68.254  0.0.0.0 UG    0  0    0 eth1Here is the ifconfig -a and route from inside my guest os:
--ifconfig -aeth0  Link encap:Ethernet  HWaddr 00:04:23:C3:C4:FE  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  RX packets:929890 errors:0 dropped:0 overruns:0 frame:0
  TX packets:981291 errors:0 dropped:0 overruns:0 carrier:0  collisions:0 txqueuelen:1000  RX bytes:256023685 (244.1 Mb)  TX bytes:1085603257 (1035.3 Mb)  Base address:0xecc0 Memory:df9e-dfa0
eth0:100  Link encap:Ethernet  HWaddr 00:04:23:C3:C4:FE  inet addr:205.215.68.100  Bcast:205.215.68.255  Mask:
255.255.255.0  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  RX packets:929890 errors:0 dropped:0 overruns:0 frame:0  TX packets:981291 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000  RX bytes:256023685 (244.1 Mb)  TX bytes:1085603257 (1035.3 Mb)  Base address:0xecc0 Memory:df9e-dfa0routeKernel IP routing tableDestination Gateway Genmask Flags Metric Ref    Use Iface
205.215.68.0    *   255.255.25