Re: [Vserver] Gentoo and hashified files
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
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] Major Upgrade Question
I upgraded from linux-2.6.17-vserver-2.0.2.1/util-vserver-0.30.212-r2 to linux-2.6.20-vserver-2.2.0/util-vserver-0.30.213 about a month and a half ago. Didn't have any problems at all. YMMV, though. Cheers, Einar John Alberts wrote: 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 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Gentoo and hashified files
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
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