On Tue, 7 Sep 2004, Conor Wynne wrote:
> I created 4 RAID volumes as follows:
>> 1. /dev/md0 (100MB for /boot ext3 - RAID1)
> 2. /dev/md1 (18GB LVM2 - RAID1)
> 3. /dev/md2 (18GB LVM2 - RAID0)
>> I decided on raid0 for SWAP,
Eek. Swap is *not* discardable. It could contain data (eg that email
you started writing on another dekstop) which an application hasnt
written out.
Further, while the data on swap might not be that terribly missed, a
disk failure will likely kill your machine now, which makes it
difficult for machine to write out non-discardable data...
> /tmp & finally /squid-cache, as all the data therein is
> discardable. So RAID0 gives the best disk usage and is fast.
tmpfs is even faster for /tmp (and is backed by swap).
> The RAID level 1 volumes, LVM based, contain /, /var & /home. So I
> am now happy with this,
/ on LVM? Fair enough, but if ever anything goes wrong you'll need a
rescue disk with lvm2 tools. / directly on RAID1 is a much easier
rescue position - you dont even need RAID support to access your
data.
> Can I do this with a single IPaddress on my router?
yes.
> But the issue as I see it is how to configure apache so that when
> someone goes www.foo.com or www.bar.org that it goes to a different
> webpage. I believe this is possible with the virtual hosts options
> in httpd.conf? Is that correct?
yes.
> What about MX records? Will they be fine if I setup multiple domains? I
yes.
> Anyone see an issue with this config?
other than above, no.
> p.s.: I think I may end up putting this server into the garden
> shed, depends on what the missus says.
that sounds like a good idea. btw, where do you live?
regards,
--
Paul Jakma paul at clubi.iepaul at jakma.org Key ID: 64A2FF6A
Fortune:
Don't vote -- it only encourages them!
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!