EXTREME Overclocking  - Building A Diskless Folding @ Home Farm Article - Page: 2
Home | Reviews | Forums | Downloads | $ EXTREME Deals $ | RealTime Pricing | Free Magazines | Gear | Folding Stats Newsletter | Contact Us

Building A Diskless Folding @ Home Farm

Project: Folding @ Home
Date Written: November 25, 2002
Written By: Jason Rabel

 

Getting Started:

When setting up my farm, I came across having to make a decision to either have each client machine make a RAMdisk big enough to hold the F@H files and fold from there, or to each use their own NFS mounted directory and work over the network. Changing the size of the RAMdisk from the kernel's default meant having to compile a custom kernel, which I really didn't want to do, also if a system lost power, all the work in progress would be lost. Running over the network really isn't as bad as it sounds. The F@H client only writes data when it finishes a frame, and it is a very small amount of data at that. Also if a client looses power or locks up, the data is safely stored on the server and it can resume where it left off. Also having all the files in one central place makes it much easier to maintain and monitor. Since the farm is also on its own physical network, it shouldn't interfere with your local network at all except when it is having to send / receive WUs.

My setup that I will be going through in this article revolves around Red Hat 8.0. LTSP actually supports 6 different Linux Distros, so if you feel more comfortable with a different one, you can use it just as easily. The configuration files used in this setup are pretty common across all distros. Also, to save space I'm only going to list the first couple client machines in configurations, adding more clients should be as simple as copy & paste then incrementing the numbers.

If you plan on building you farm out of what you have just laying around, then I would pick the most powerful machine to be the Farm Server (it can still do F@H so don't worry), or if you are planning on purchasing identical hardware for your farm you can use one of those machines just as easily, all you need is a decent sized hard drive (5-10GB should be more than enough), an extra NIC (to connect your two networks), and I would spring the money for a little extra RAM (256MB should be plenty).

The first thing I did was to do a pretty bare install of Red Hat on the Farm Server. The install process is pretty basic, if you need help getting it installed there are plenty of guides on the net to show you how. The only difference I did from the standard install is that I manually configured my NICs (usually they default to DHCP). I configured both NICs with static IPs, the first NIC was an IP within my current home network, and the second NIC was for the farm network and had the IP 192.168.2.100. Refer to the picture in the introduction for how my IPs are setup.

Next I made sure I had the following services installed:

  • bind
  • dhcp
  • nfs-utils
  • tftp-server
  • portmap

To check and see if they are installed, you can issue the following commands, and they should return the version that is installed:

[jason@PE1400SC root]$ rpm -q bind
bind-9.2.1-9
[jason@PE1400SC root]$ rpm -q dhcp
dhcp-3.0pl1-9
[jason@PE1400SC root]$ rpm -q nfs-utils
nfs-utils-1.0.1-2
[jason@PE1400SC root]$ rpm -q tftp-server
tftp-server-0.29-3
[jason@PE1400SC root]$ rpm -q portmap
portmap-4.0-46

 

If you are missing one or more packages, you can use the Red Hat up2date program, or you can find and install them from Rpmfind.net. Be sure to pick the proper files for your distro.

Once you have verified that you have the necessary services installed (but not started), you can go ahead and install the LTSP RPM files. I have a mixture of NICs that I use in my farm, including some Intel NICs, and onboard NICs which boot via PXE (slightly different than the regular DHCP process), I installed those files too, which the GZip includes a README on where to put the files and the extra configuration necessary.

The Download Page @ SourceForge has all of the following files, and much more should you need them. *Note - There might be slightly newer releases depending on when you read this article, so the version numbers might not match up 100%. Download the files to a directory on the Farm Server then install them via the regular RPM install process. Also, I don't know if you can just do a *.rpm to install them, I didn't try that, instead I installed the files in that order (there are only 3 of them so it's not that big of a deal), and uncompressed the extra PXE file. One of the files says "local apps" in it, but you aren't going to be running anything locally really, there are files that it has for DNS resolution that the clients will need, I had that hardest time with the clients resolving DNS names until I found a random post while searching the net which said to try and install that RPM, and sure enough things started working after that. You can fully configure the local apps part if you want to be able to telnet to the clients and such, but for this folding project it really isn't needed.

  • ltsp_core-3.0.7-0.i386.rpm
  • ltsp_kernel-3.0.5-0.i386.rpm
  • ltsp_local_apps-3.0.0-0.i386.rpm
  • pxestuff-3.0.5-i386.tgz (*Note - Only needed if you are going to use NICs that boot via PXE)
[root@PE1400SC root]# rpm -ivh ltsp_core-3.0.7-0.i386.rpm
[root@PE1400SC root]# rpm -ivh ltsp_kernel-3.0.5-0.i386.rpm
[root@PE1400SC root]# rpm -ivh ltsp_local_apps-3.0.0-0.i386.rpm
[root@PE1400SC root]# tar zxvf pxestuff-3.0.5-i386.tgz

 

Now you need to run the initialization program, you really don't need to change any settings that it asks.

[root@PE1400SC root]# cd /opt/ltsp/templates
[root@PE1400SC root]# ./ltsp_initialize

 


EXTREME Overclocking Newsletter
Thousands of PC enthusiasts are already subscribed to the EXTREME Overclocking Newsletter, have you signed up yet?
Your Email Address:
Sponsored Links
Latest Reviews
Most Downloaded Files
Recently Added Files
CPU-Z 1.4912/12/08
Compare Prices On Top Brands!
Search:
For:

Intel Processors
Core i7/i5 - Nehalem
975 Extreme  960  950  920
870  860  750  670  661  660

Core 2 Quad - Yorkfield
Q9650  Q9550  Q9400  Q9300  Q8300  Q8200

Core 2 Duo - Wolfdale
E8600  E8500  E8400  E8200  E7300  E7200

AMD Processors
Phenom II X4
965 Black  955 Black  945  925

Phenom II X2
555  550

Athlon II X4
630  620

Athlon II X3
435  425

Athlon II X2
250  245

Video Cards
nVidia GeForce GTX 200 Series
GTX 295  GTX 285  GTX 280  GTX 260

nVidia GeForce 9 Series
9800 GX2  9800 GTX+  9800 GTX  9800 GT  9600 GT  9600 GSO

ATI Radeon HD 4000 Series
4870 X2  4870  4850  4830  4670  4650

Search By Brand
ASUS  BFG  Diamond  eVGA  Gigabyte  HIS  MSI  Palit  PowerColor  PNY  Sapphire  Visiontek  XFX

PC Memory
DDR3  DDR2  DDR

Motherboards
ASUS  Biostar  DFI  ECS  eVGA  Foxconn  Gigabyte  Intel  MSI  Shuttle  Supermicro  Tyan  XFX

Hard Drives
Seagate  Maxtor  Samsung  Fujitsu  Western Digital

  Technology Magazines FREE to Qualified Professionals.
eWeek MagazineeWeek is the essential technology information source for builders of e-business. Focuses on e-commerce, communications and Internet-based architecture. Oracle MagazineOracle Magazine contains technology-strategy articles, sample code, tips, Oracle and partner news, how-to articles for developers and DBAs, and more. Dr. Dobb's JournalDr. Dobb's Journal enables programmers to write the most efficient and sophisticated programs and help in daily programming quandaries. InformationWeekInformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
  Other Popular Titles: PC Magazine, BusinessWeek, Baseline, Business Solutions, Software Magazine, InfoStor, Security Source , TelevisionWeek, more...
  EXTREME Deal Of The Day | More EXTREME Deals
Dell Small Business - Vostro 260 Slim Tower Computer with DUAL E2011H 20" Monitors for $599
dell vostro 260 dual monitor computer dealAfter a big $472 instant savings, you can pick up this slim tower Dell Vostro 260 computer for just $599 that gives you Windows 7 Professional 64bit, DUAL Dell E2011H 20" monitor, a 500GB SATA 7200 rpm hard drive, 4GB DDR3 memory, Intel HD Graphics, a 2nd gen Intel Core i3 processor, 16x DVD+/-RW drive, Dell's Wireless 1502 WLAN mini card, Gigabit, 1 year warranty with next business day on site service and more. Set to expire 2/29/12 or while supplies last. DELL VOSTRO 260 SLIM TOWER DUAL MONITOR COMPUTER DEAL

Chase - $200 Bonus Cash Back after $500 in Purchases! 5% Cash Back on Purchases!
chase freedom visaIt's FINALLY back. Don't wait if you missed this offer... sign up NOW before they pull it early like last time!

  • Earn $200 Bonus Cash Back after you make $500 in purchases in your first 3 months
  • 5% Cash Back on up to $1,500 spent on GAS and Amazon.com
  • You'll enjoy new 5% categories every 3 months like grocery stores, dining, department stores and even home improvement stores. It's free and easy to activate your bonus each quarter!
  • Unlimited 1% Cash Back on all other purchases without limits on what you can earn
  • Up to an additional 10% Cash Back when you shop online at select merchants through Chase
  • No annual fee and cash back rewards never expire

CHASE FREEDOM VISA $200 BONUS CASH BACK OFFER

Copyright © 2000-2011 EXTREME Overclocking. All rights reserved.
Disclaimer of Liability - Privacy Policy
Secret Forum