# Server Cluster At School

**URL:** <https://forum.kirupa.com/t/server-cluster-at-school/185671>\
**Category:** random\
**Created:** [April 15, 2006, 3:38am UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671 "2006-04-15T03:38:26Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 15, 2006, 3:38am UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/1 "2006-04-15T03:38:26Z")

</div>

At school, a guy up the IT ladder said we could use some of the computers that have been sitting in the closet for whatever we want. There are currently **11** in there!

The computer club wants to setup a server cluster running SuSe, with one being dedicated mysql, and all hard-drives in one RAID array. None of us know much about RAID, though. (Note, though, that each hard-drive is a mere 6 gigs! It’ll be fine all added up, though.)

We want to run an Apache master that’ll have individual Apache slaves serve up the pages or something, but none of us know about clustering, either. We’ll learn, fast. 🙂

Any advice on this? We have lots of computers, and we want to do something neat with them. We also have lots of monitors. 😉

Oh, the same guy that said we could use them said that he would let us use the more powerful brand-new computers to have a Counter-Strike LAN party and he’d take off DeepFreeze (this awful program that resets the HD every time you restart; we took out the battery from the desktops to reset the BIOS and then formatted the HDs to get rid of it on the old computers) for us.

Yeah. Anything will be helpful. Thanks. 🙂

---

<div class="post-metadata">

**Author:** ![bigmtnskier](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@bigmtnskier](https://forum.kirupa.com/u/bigmtnskier)\
**Post date:** [April 15, 2006, 7:38am UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/2 "2006-04-15T07:38:31Z")

</div>

Yeah, well um… you didn’t really like my ideas 😛 So I’ll shutup now :thumb:

---

<div class="post-metadata">

**Author:** ![Mik3](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Mik3](https://forum.kirupa.com/u/Mik3)\
**Post date:** [April 15, 2006, 9:42am UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/3 "2006-04-15T09:42:08Z")

</div>

I thought you needed special HDDs to RAID. (???)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 15, 2006, 9:57am UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/4 "2006-04-15T09:57:45Z")

</div>

[http://www.pcstats.com/articleview.cfm?articleid=830&page=1](http://www.pcstats.com/articleview.cfm?articleid=830&page=1)

[http://en.wikipedia.org/wiki/Redundant\_array\_of\_independent\_disks](http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks)

any particular reason for a raid? if one of the harddrives in a raid array fails all of the other hard drives are unusable. if these computers are sporting a 6 gb capacity and have been in a closet, then you are probably looking at hard drives that are 6+ years old - the average life of a hard drive being 5 years under normal usage, these being school lab computers they could expect an even shorter life expectancy.

clustering is different from a raid array also - your best bet and the one with the highest chance of success is to create a small lan network with 1 computer being the mysql database and group file storage, 1 computer being the “master” computer if you even want to call it that, and the other 9 being normal client computers.

if you can get that setup and all the computers seeing each other, the mysql database setup properly and perhaps some form of linux domain authentication using the master computer, i would then evaluate cluster computing as an evolutionary step in project scope.

another project addition could be to setup a mail server based on IP on the master computer and have it to where you can check your emails on the various computers and send each other email across your lan.

to take it even further, create a web page that serves as a “start” page for the network where you can login using the mysql database and have access to certain web-based apps - perhaps use an email interface such as horde to access your mail server and check your mail.

also you could setup a simple ajax graphitti wall that would let the users of the 10 computers talk to each other in real time.

---

<div class="post-metadata">

**Author:** ![955](https://avatars.discourse-cdn.com/v4/letter/9/4bbf92/32.png) [@955](https://forum.kirupa.com/u/955)\
**Post date:** [April 15, 2006, 10:00am UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/5 "2006-04-15T10:00:08Z")

</div>

> [@Mik3](#):
>
> I thought you needed special HDDs to RAID. (???)

You need a special hard drive controller if you want to do it in hardware… but you can do it in software with any 2+ off-the-shelf identical hard drives (hell, with [LVM](http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29) they don’t even have to be identical, although techncially it’s not RAID)

/me knows because /me has a 600GB RAID0 array upstairs 😉

---

<div class="post-metadata">

**Author:** ![ramie](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@ramie](https://forum.kirupa.com/u/ramie)\
**Post date:** [April 15, 2006, 1:04pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/6 "2006-04-15T13:04:35Z")

</div>

make a Beowulf cluster

[http://www.cacr.caltech.edu/beowulf/tutorial/building.html](http://www.cacr.caltech.edu/beowulf/tutorial/building.html)

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 15, 2006, 1:51pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/7 "2006-04-15T13:51:03Z")

</div>

Thanks for the great information guys. I’ll pass this on to the club. 🙂

> [@prstudio](#):
>
> any particular reason for a raid? if one of the harddrives in a raid array fails all of the other hard drives are unusable. if these computers are sporting a 6 gb capacity and have been in a closet, then you are probably looking at hard drives that are 6+ years old - the average life of a hard drive being 5 years under normal usage, these being school lab computers they could expect an even shorter life expectancy.

Really? I thought that was something RAID helped prevent with redundancy… I don’t understand.

---

<div class="post-metadata">

**Author:** ![Joppe](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Joppe](https://forum.kirupa.com/u/Joppe)\
**Post date:** [April 15, 2006, 2:25pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/8 "2006-04-15T14:25:28Z")

</div>

I also tought, as my newly bought server had an RAID with two harddrives. That when one crashes the other one survives and has the exact same content so the computer doesnt loose all stuff on one of the drives.

---

<div class="post-metadata">

**Author:** ![ramie](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@ramie](https://forum.kirupa.com/u/ramie)\
**Post date:** [April 15, 2006, 2:31pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/9 "2006-04-15T14:31:45Z")

</div>

It depends on the raid level your running. Raid will provide full redundancy at level 5 but you need 3 or more disks for this to work, some admins use level 0 for performance, there is no redundancy at this level, a level 1 provides a mirror of the main disk etc, have a read of [http://www.webopedia.com/TERM/R/RAID.html](http://www.webopedia.com/TERM/R/RAID.html) for a far better explanation.

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 15, 2006, 2:33pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/10 "2006-04-15T14:33:21Z")

</div>

Oh, ok. Thanks. 🙂

---

<div class="post-metadata">

**Author:** ![Joppe](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Joppe](https://forum.kirupa.com/u/Joppe)\
**Post date:** [April 15, 2006, 2:49pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/11 "2006-04-15T14:49:38Z")

</div>

Yeah we had two drives and they were mirrored

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 15, 2006, 2:54pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/12 "2006-04-15T14:54:28Z")

</div>

We think we’re gonna run RAID5 on them, and also get a backup 80gb WD drive. 🙂

---

<div class="post-metadata">

**Author:** ![ramie](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@ramie](https://forum.kirupa.com/u/ramie)\
**Post date:** [April 15, 2006, 3:02pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/13 "2006-04-15T15:02:41Z")

</div>

nice, playing with raid is fun (if your that way inclined) Raid on linux is even more fun… a hardware raid controller is the way to go for a professional setup, but playing with software raid on linux is great because you’ll learn a lot in the process, such as the different levels, you may even have to recompile the kernal for support… in the day when I was an admin, I set quite a few software raids up on Suse and it worked great.

[http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html](http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 15, 2006, 5:51pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/14 "2006-04-15T17:51:05Z")

</div>

if they are mirrored then its redundancy, but to combine them thats where the issue comes in - raid doesn’t necessarily equal stability though - i think one of those links i pointed to talks about that.

but good luck - good to see you guys are trying something and that your school is letting you - post up how it goes over the next few weeks.

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 15, 2006, 5:53pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/15 "2006-04-15T17:53:01Z")

</div>

Will do. RAID5 says one HD failure and everything is fine, but you’re out of luck after that.

With a backup to an 80gb external HD, we should be fine.

One question: How do you handle the HDs all being in different computers? One person was sure they had to all be together in a different place, but I’m pretty sure that isn’t true. Is there any way to network them without the slowness of a LAN?

---

<div class="post-metadata">

**Author:** ![anon1712571](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@anon1712571](https://forum.kirupa.com/u/anon1712571)\
**Post date:** [April 16, 2006, 1:22am UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/16 "2006-04-16T01:22:02Z")

</div>

_setup a lame overpriced webhosting company_

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 16, 2006, 1:48am UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/17 "2006-04-16T01:48:45Z")

</div>

Anybody know about the seperated HDs problem?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 16, 2006, 4:37am UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/18 "2006-04-16T04:37:16Z")

</div>

[http://linas.org/linux/raid.html](http://linas.org/linux/raid.html)

mainly simple raid arrays are connected to the same computer - not over multiple

[http://www.disi.unige.it/project/draid/distributedraid.html](http://www.disi.unige.it/project/draid/distributedraid.html)

---

<div class="post-metadata">

**Author:** ![NANO3](https://avatars.discourse-cdn.com/v4/letter/n/c2a13f/32.png) [@NANO3](https://forum.kirupa.com/u/NANO3)\
**Post date:** [April 16, 2006, 6:21pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/19 "2006-04-16T18:21:32Z")

</div>

how much ram is in those comps? that’ll be one SLOW computer

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 16, 2006, 6:39pm UTC](https://forum.kirupa.com/t/server-cluster-at-school/185671/20 "2006-04-16T18:39:33Z")

</div>

Yes, they’re all incredibly slow (128mb of ram), but the load on each is incredibly light.

We might scrape some of the computers and double the ram on others.
