OMG!! running multiple daemons??? Wow why didn't I think of that?? I *love* OS overhead on misbehaving hardware emulation because it is what "the industry" prescribes. Don't forget the 50% hit on I/O speed because that is what every enterprise needs. And lets not forget the windows only license servers combined with "management" tools that also run only on windows and IE. Virtualization is sooooo awesome.
On Mon, Mar 08, 2010 at 02:00:22AM -0500, Scott McEachern wrote: > bofh wrote: >> Is there *ANY* good virtualization software out there? I don't care what OS >> it needs to host it (preferably not windows :)) - my needs are simple (home >> use): >> >> > > This doesn't answer your question or help you in any way, but I thought > I'd mention it for the list archives (with a nicely searchable subject). > > A while back I was considering using some type of virtualization for > running 5 web servers on the same box. I ended up tossing the idea of > virtualization for a couple of reasons: > > 1) I couldn't really find any VM software I liked that ran nicely on > OpenBSD. I was not aware of qemu at the time, so no flames please. (I > didn't look all that hard, apparently.) > > 2) The performance hit you'll inevitably take. (Why I didn't look too > hard.) > > There are probably many (better) ways to go about this, and I'd love to > hear them, but I ended up doing this: > > - one OpenBSD box, with multiple IP address aliases > - one OpenBSD firewall, which rdr's external IPs to the appropriate web > server IP > - 5 chrooted OpenBSD default (1.3.29) Apache's (at this time, I have no > need for Apache 2, but hey, it's in ports.) > - 5 custom httpd.conf files for each > - 5 custom php.ini files for each (plus other related config file friends) > - 5 different httpd daemons for each (httpd0-4), just in case > - virtual aliases with Apache is not a solution because the sites use > https/ssl > - all the sites have all the php-*, pear-*, mod_* stuff at their disposal > > I did have to change /etc/rc (I know, I'm a sinner) so it did it's > normal things, but slightly adjusted for each of the 5 servers. > > I run a single instance each of chrooted MySQL and PostgreSQL servers, > which the various sites can access by IP as their own restricted > database users. > > I considered using FreeBSD's jail functionality, but the drawbacks were > thus: > > 1) for the time it would take to learn about configuring FreeBSD's > jails, I could do the stuff above many times over. > > 2) I wouldn't get the OpenBSD version of httpd that has much love from > the team (tx henning@ and others). > > I'm probably forgetting details, since it's been a while since I did it. > The end result works just fine for *my* needs, and best of all it's > still on my OS of choice so well within my comfort zone. I haven't a > clue how this would scale for a web hosting provider, but then again, > that's not my problem. :) > > Sorry for the noise. I once searched for this a long time ago and > didn't find anything, so for future reference, yes, it's easily doable. > > PS: I'm dying for the day that relayd handles https too. :) > > -- > > -RSM > > http://www.erratic.ca