The first machine to go online will be a machine called kirk, it will act as the central nervous system for the whole setup, it will need to offer light redundancy at the fastest possible speeds within my budget. The primary focus of this machine will be NAS, secondary functions are important as well such as an outside facing web server, internal DNS resolution and other interesting services.
All of the hardware I don't have but need to acquire, I've decided to exclusively use the 4 week to ship vendors from Hong Kong, and China to keep the costs as low as possible. I find the quality to be acceptable and it always seems to fit my needs. I'm of course using eBay to fill the voids of hard to find hardware.
The first step in this endeavour will be to assemble and test the hardware. Currently here is what's planned for kirk (yes, I plan to use Star Trek captain's names as servers):
Hardware list:
MB - Tyan Thunder K8W S2885 |
Memory - 8x 333MHz 1GB DDR DIMMs |
CPU - 2x - S940 Opteron 280 |
Though not confirmed, the eBay description said the steppings on these chips were of the 68W TDP variety. I hope that's true as moving to these dual core chips would lower the power draw and heat, as well as speed up the system. Jumping from 1.6 GHz to 2.4 GHz should certainly be a large enough step up to notice.
HSF - OCZ Vendetta |
Cooler Master Stacker - Model STC-T01 |
2x RAID Controller - 3ware 9500s 4LP |
I purchased two of these to expand the total number of hard drives available in the system. Though I haven't nailed down the exact RAID configuration I plan on using I figured I'd benefit from the expanded bandwidth that PCI-X would provide. The extra cache is a bonus as well. I'm torn about using the integrated RAID features mainly due to the bad reviews I've read out there. The real speedup won't be noticeable as the card is limited to a 66MHz bus at 64 bits wide. My eyes glazed over after a while and feel that a Supermicro AOC-SAT2-MV8 would have been a better investment, mainly because it connects 8 drives and has a bus speed of 133MHz. True it's not a hardware RAID card, but I get the feeling that I'll be using MD arrays in Linux anyway. I don't know, maybe I'll throw them back on eBay after a few file tests.
3Ware Escalade 8506-12 |
This is the third raid controller I ordered, after realizing that the on-board SATA controller on the motherboard was linked using the PCI bus, I panicked because the whole PCI bus on a motherboard is limited to a maximum throughput of 133MB/s. Not enough for my needs, hence my "all-out" attitude when I went searching for another expansion card that I could connect the hard drives to. This is an even older generation card, quite similar to the 9500 series, but no massive cache on-board. Difficulty with using this is that it possibly negates any advantages I'd get from using the other controller cards. If my RAID array spanned into this card, the lower write cache buffer, along with a possible 12 other hard drives fighting for attention may starve the drives. Something I was wholeheartedly attempting to avoid. This card is of the same status, not really sure if I'll end up using it.
So, the total available SATA ports are 24, of which I plan on using 16 from the get-go, the option to expand externally is an path I may take down the road using infiniband and an external case to create an external storage array.
4x - CM 4in3 Hard Disk module |
Although I have a few of these kicking around, I'm still contemplating if I should be using all 4, as the real limit is having a way to move the power and reset switches out of the Cooler Master case so that I can make use of all 12 bays in the case.
Hard drive(s) |
Hard drives, what can I say about them except that I have a multitude of different size and manufacturers of these beasts. From 160GB all the way up to 2TB. Torn currently on the actual configuration I plan on running with due to the uncertainty of the controllers I plan on using. I know one thing for sure, all must be 7200RPM or better, not necessarily due to the idea of faster reads/writes, but the reliability of those so-called green drives seems to be in question, especially in a RAID setup.
Well, this is what I have so far, I am in the process of putting together the hardware and awaiting some parts to consider moving this project along. The one niggly thing I plan on doing is setting up a mirrored pair of Compact Flash cards as the boot device. Due to the write cycle issue that exists with flash devices, I am unsure how to proceed with the setup. While I can make the system run, and use these as the main source of binary goodness, there are a couple of directories that Linux constantly updates, all well and good, simply use tmpfs, good no? Well kind of, there are two directories that I am unsure what to do with, one is /var/log, the other /var/tmp. The first, I simply want to keep my logfiles intact, I certainly like to know what's going on, and they're really useful if you want to play the blame game when things go awry. The other, well, the FHS states that this directory is intended for the purpose of storing temporary files that will survive a reebot, or system downtime. ie, those files are intended to be there at bootup.
My initial approach was to either a). assign a single dedicated drive for this task or, remoely log everything via rsyslog. b). write those directories to the CF cards (bad idea, don't even know if they employ wear-leveling. If I were to save the logs residing in memory, then I could pull an event or trigger to flush those writes to disk every so often. I think this may be the best solutions I can come up with at the moment. Feel free to chime in if you have any suggestions.
Thanks for reading!
No comments:
Post a Comment