Some (hopefully) good idea with enbd

"Michael Bruckmeier" <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
Hi,
	I've an idea for a productive and very cost effective use of enbd.
So let me explain:
I've got three servers,old K6-2 machines bought for $50 per piece. Each
gonna be equipped with a promise ultra 100tx2 ide controller ($29), two
200gb disks ($89, probably seagate), one fast-(present in machines, some DEC
chip) and one gigabit ethernet controller (intel e1000/desktop at $33). As
you can probably already guess, this should become some kind of cluster with
no single point of failure (expect one and half ;-), I'll explain later).
Each machine boots from it's 8gb disk, probably fedora core 4. The two 200gb
disks become RAID 0 (striping) using md. So, thats the per machine config,
now geht the big picture.
	Server1 will get an additional Gigabitcontroller, so there are
dedicated crossover cable connections to Server2 and 3. These are used for
enbd, so Server1 runs a md RAID 5 over the local and the two remote RAID 0s.
I'll use some journaling fs like ext on that. And why all that? Over the
fast ethernet cards, a samba server shall serve windows clients. Best access
you'll have on server1 of course. For Server 2 and 3 i'll probably mount the
server1 samba share which in turn is accessible over the fast ethernet port.
That's it so far. Why am I telling this? First of all the price:

3x50$	Machines
3x29$	IDE Controllers
6x89$	200GB Harddisk
4x33$	Intel Gigabitcontroller
Free	Software
Free	Labor ;-)
-------------------------------
903$	Total

What do you get for 903$, what are the benefits?

A fail-over cluster whith 800GB capacity and full fast-ethernet file server
speed on three ports.

Is there a trick?

Yes, there are two: first the use of enbd ;-) and second, if server1 fails,
server2 and 3 have to reassemble the raid 5 and change the samba
mounts/shares apropriate. this gonna be some work in scripting and testing
it properly.

Downsides?

As i use wire instead of fibre between the nodes, they are not electrically
divided. That would be better and also better use usp's, so the electrically
things are considererd.
The three ports have to be partionied manually to your users, perhaps somone
knows a solution to do an automatic samba load balancing.

So, now it's up to you. What do you think about that system? First of all,
does it work? Do you have any considerations about this or that? Any ideas
to improve that system? Or have already some experience? I welcome any
suggestions.

Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.