EXTREME Overclocking  - Building A Diskless Folding @ Home Farm Article - Page: 5
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

 

Configuration Files (cont):

/opt/ltsp/i386/etc/rc.d/startfah

The startfah file you will need to create, it is what each client will run when it boots up. If you will recall this is the same file name we specified in the /opt/ltsp/i386/etc/lts.conf file. The startfah file starts F@H automatically, plain and simple. Note that I added in the nohup command, for some reason it would kill off my F@H client when it switched levels, this was a quick and simple fix that solved that problem. However since nohup and nice aren't part of the standard LTSP files, you will need to copy them from the Farm Server's regular file system and put them the same locations on the /opt/ltsp/i386 file system. They are usually located at:

  • /usr/bin/nohup

  • /bin/nice

#!/bin/bash
# This is the startfah file.

echo "Starting F@H"
cd /fah
nohup ./FAH3Console-Linux.exe > /dev/null &

 

Creating The Extra Directories

Okay, everything we just did was the hard part, now comes the easy part making a few directories and setting up F@H. 

First, you will need to make the /fah directory in the /opt/ltsp/i386 file system, you simply run the following command:

[root@PE1400SC root]# mkdir /opt/ltsp/i386/fah

This is where the folding directory will be mounted, it will look like just /fah on the client side. You don't actually put any files in that directory.

 

Now you need to create now is all the directories that WILL contain the F@H program & config files.

[root@PE1400SC root]# mkdir /fah
[root@PE1400SC root]# cd /fah/
[root@PE1400SC fah]# mkdir ws001
[root@PE1400SC fah]# mkdir ws002

Next you need to go into the ws001 directory, and download the Linux F@H client from the Stanford website. After downloading you run the configuration program and set it up how you want with your username & team and all that. Usually it will start to fold, so break out of the program so you can continue to configure the machine.

You will need to copy the F@H file itself FAH3Console-Linux.exe and the client.cfg file to the ws002 directory. Do NOT copy any of the other files or the work directory, those are unique to each machine. Don't worry, they will be auto-generated the first time the client runs.

 

Start Up The Services:

You can use the chkconfig program to set the run levels of each of your services, but for now we will just start them manually. Cross your fingers... You need to issue the following commands to startup portmap, bind, tftp, dhcp, nfs:

[root@PE1400SC root]# /etc/rc.d/init.d/portmap restart
[root@PE1400SC root]# /etc/rc.d/init.d/named restart
[root@PE1400SC root]# /etc/rc.d/init.d/xinetd restart
[root@PE1400SC root]# /etc/rc.d/init.d/dhcpd restart
[root@PE1400SC root]# /etc/rc.d/init.d/nfs restart

If all goes well they should startup just fine, if they give an error you will need to fix whatever is wrong. If you need some help you can post a question in the distributed computing section in The EXTREME Overclocking Forum.

 





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