Re: [Vserver] Gentoo and hashified files

2007-05-25 Thread Einar S. Idsø
Oliver,

Thank you very much for your description. It sounds highly interesting,
and I may try it out when I have the time.

Thanks!
Einar

Oliver Welter wrote:
 Its a bit tricky - I will sketch the setup for you:
 
 I have a template /vservers/template - that is a full blown gentoo
 installation for vservers. When I do updates, I do them by chroot'ing to
 this dir - NOT by entering a vserver!
 This way the portage and the dependency database (stored in /var/) get
 updated.
 
 In the vserver guests fstab, I mount the per guest partition to /disk
 and overlay some bind-mounts for /var and some of the /etc directories
 (not the whole one!). For easy setups its also ok to make symlinks from
 /etc to the var partition
 The only thing you must take care of, are updates that change the
 config-files syntax. It should be obious that files on the per-guest
 config system (the cut-out parts of /etc and perhaps things in /var) are
 not updated. I use this setup for Webservers mainly, they are nearly
 equal so I just have a differing config for /etc/apache2, all network
 and hostname stuff ist done from outside.
 
 If you have any questions dont mind to ask
 
 Oli
 
 
 
 
 ___
 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 and hashified files

2007-05-23 Thread Oliver Welter
Hi Einar

 Oliver: I am somewhat amazed that your setup works. I would think
 Portage would get very upset, or at least confused, when packages that
 aren't marked as updated are, dependencies should be broken etc. But two
 years running is quite stable. Is it just /var and parts of /etc that
 are externally mounted, while /usr, /lib etc. are all shared?

Its a bit tricky - I will sketch the setup for you:

I have a template /vservers/template - that is a full blown gentoo
installation for vservers. When I do updates, I do them by chroot'ing to
this dir - NOT by entering a vserver!
This way the portage and the dependency database (stored in /var/) get
updated.

In the vserver guests fstab, I mount the per guest partition to /disk
and overlay some bind-mounts for /var and some of the /etc directories
(not the whole one!). For easy setups its also ok to make symlinks from
/etc to the var partition
The only thing you must take care of, are updates that change the
config-files syntax. It should be obious that files on the per-guest
config system (the cut-out parts of /etc and perhaps things in /var) are
not updated. I use this setup for Webservers mainly, they are nearly
equal so I just have a differing config for /etc/apache2, all network
and hostname stuff ist done from outside.

If you have any questions dont mind to ask

Oli
-- 
Protect your environment -  close windows and adopt a penguin!
PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721




signature.asc
Description: OpenPGP digital signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Gentoo and hashified files

2007-05-22 Thread Einar S. Idsø
Thank you David and Oliver for your replies. I am glad to see there are
other using Gentoo with vserver happily, but it's disappointing that
noone seems to be using vhashify. That's would be nice to have since I
plan on having up to 60 vhosts.

Oliver: I am somewhat amazed that your setup works. I would think
Portage would get very upset, or at least confused, when packages that
aren't marked as updated are, dependencies should be broken etc. But two
years running is quite stable. Is it just /var and parts of /etc that
are externally mounted, while /usr, /lib etc. are all shared?

Cheers,
Einar

Oliver Welter wrote:
 This might be offtopic but perhaps useful.
 
 I have multiple guests that share the same root directly. All
 configuration and runtime relevant dirs (var and parts of etc( are
 mounted from a per guest partition.
 
 Works with no hasle here for over 2 years now
 
 Oliver

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


Re: [Vserver] Gentoo and hashified files

2007-05-18 Thread Oliver Welter

This might be offtopic but perhaps useful.

I have multiple guests that share the same root directly. All 
configuration and runtime relevant dirs (var and parts of etc( are 
mounted from a per guest partition.


Works with no hasle here for over 2 years now

Oliver
--
Diese Nachricht wurde digital unterschrieben
oliwel's public key: http://www.oliwel.de/oliwel.crt
Basiszertifikat: http://www.ldv.ei.tum.de/page72
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Gentoo and hashified files

2007-05-17 Thread Einar S. Idsø
Noone? That's disappointing.

Then what would be a good choice as an alternative to Gentoo (the only
distribution I have experience with) when using VServer in a production
environment?

Cheers,
Einar

Einar S. Idsø wrote:
 Hi,
 
 Does anyone successfully use vunify/vhashify with Gentoo-based vservers?
 If so, could you share some pointers to getting started, as well as
 possible pitfalls, e.g. related to emerging new packages, having
 different USE-flags and such?
 
 Cheers,
 Einar S. Idsø
 ___
 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] Gentoo and hashified files

2007-05-14 Thread Einar S. Idsø
Hi,

Does anyone successfully use vunify/vhashify with Gentoo-based vservers?
If so, could you share some pointers to getting started, as well as
possible pitfalls, e.g. related to emerging new packages, having
different USE-flags and such?

Cheers,
Einar S. Idsø
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver