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

Just a note before we get into the custom configuration part, on the last page I will put up all the config files listed in this how-to in a compressed file for download. However I highly suggest reading through everything here completely so that you can get a better understanding of how everything works.

Now it's time to get down to the nitty gritty and configure the files. The first file is the dhcpd.conf file, which tells all the clients what file to load and what their network settings are. The DNS server I use is my broadband router's IP address, yours may vary. I also put in a subnet range of .101 - .200 which gives me room for more than enough folding machines, you can adjust to bigger if you really need it (the thought of that many farms running in my house makes me think of the fire department).

Each client machine gets a hostname of "ws00x" where "x" gets incremented for each new machine, this is done mostly for simplicity, as we go into the other configuration files you will understand better why it is done like this. The main thing you will need change is under each host ws00x you will need to find out each clients MAC address to enter. The filename you won't need to adjust, but make sure the "vmlinuz-2.4.19-ltsp-1" file exists in the /tftpboot/lts directory. The PXE booting is a little different, the necessary files are in that separate GZip file mentioned before, along with instructions on where to put each file and the configuration differences (which are for the most part like below).

Here's a picture of the back of one of my NICs as an example. The MAC address of the NIC below is 00:10:B5:C0:C2:F6.

Don't worry about the farm's dhcp server interfering with your broadband router's dhcp server. Because you are only specifying the network that is on eth1 (the folding farm), it doesn't listen for or respond to dhcp requests on eth0 (your existing home network). This is nice because you can add on the farm without having to change anything on your existing network.

/etc/dhcpd.conf

# Make changes to this file and copy it to /etc/dhcpd.conf
#
# If the setting below doesn't work,
# then try changing to the following setting:
# ddns-update-style ad-hoc;
ddns-update-style none;

default-lease-time 21600;
max-lease-time 21600;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.100;
option domain-name-servers 192.168.1.254;
# You can set the domain name below if you have one,
# otherwise it's okay to leave it commented out.
# option domain-name "localdomain.com";
option root-path "192.168.2.100:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;

shared-network WORKSTATIONS {
  subnet 192.168.2.0 netmask 255.255.255.0 {
    range 192.168.2.101 192.168.2.200;
  }
}

group {
  use-host-decl-names on;
  option log-servers 192.168.2.100;
  host ws001 {
    hardware ethernet 00:10:B5:9B:BC:65;
    fixed-address 192.168.2.101;
    filename "/lts/vmlinuz-2.4.19-ltsp-1";
  }

# This client boots via PXE,
# that is why some of the settings are different

  host ws002 {
    hardware ethernet 00:D0:B7:48:2E:20;
    fixed-address 192.168.2.102;
    filename "/lts/pxelinux.0";
    #The next line wraps with all the digits, but it should be only 1 line with no spaces
    option vendor-encapsulated-options  09:0f:80:00:0c:4e:65:74:77:6f:72:6b: 20:62:6f:6f:74:0a:07:00:50:72:6f:6d:70:74:06:01:02:08:03:80:00:00:47:04:80:00:00:00:ff;
  }
}

 

The hosts file you will need to enter the IP & hostname of the server & each client machine, otherwise you could run into errors.

/etc/hosts

#Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 PE1400SC localhost.localdomain localhost
192.168.2.100 server
192.168.2.101 ws001
192.168.2.102 ws002

 


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 1320 Laptop with 13.3" Display, Core 2 Duo, 4GB of Memory, 320GB Hard Drive, DVD+/-RW, 6 Cell Battery and Windows 7 Professional for $559
Dell Vostro 1320 Laptop You can pick up the Vostro 1320 laptop which gives you the popular 13.3" WXGA display with an integrated webcam here for just $559 after a big $454 instant savings! You get a 2.26GHz Intel Core 2 Duo with VT processor, 4GB of DDR2 SDRAM memory, 320GB SATA 7200RPM hard drive with free fall sensor, a dual layer DVD+/-RW drive, 802.11a/g/n draft wireless, 6 cell battery and Windows 7 Professional (usually it's the Home version) 64bit (please choose this FREE $0 upgrade)! You can also choose the Windows 7 Pro with the XP Pro downgrade for $0 too. It also appears as though they've continued on the Dell Vostro 1520 deal that ran last week for $559 with the same big $454 instant savings as well! This page generally updates once the weekend starts. DELL VOSTRO 1220 LAPTOP DELL POPULAR LAPTOP DEALS

Dell Home - Dell 10 Days of Deals! Inspiron 1764 Laptop with Core i3-330M for Only $549! Inspiron 560 Desktop with 20" LCD Monitor and 4GB of Memory for Only $399!
Dell 10 Days of Deals!Dell's 10 Days of Deals continues with 2 great computer deals! You can pick up a a Dell Inspiron 1764 laptop with a 2.13GHz Intel Core i3-330M processor, 3GB of DDR3 SDRAM memory, 250GB hard drive, 802.11g, dual layer DVD+/-RW drive, 6 cell battery and Windows 7 Home Premium 64bit for just $549! Or choose the desktop that gives you a 20" LCD monitor, 4GB of DDR3 SDRAM memory, 320GB SATA 3Gb/s hard drive, dual layer DVD+/-RW drive, 19 in 1 media reader and a 2.2GHz Intel Celeron processor for just $399! They've also got a 47" Vizio LCD TV for just $779 as well as a Canon PowerShot SX120 IS digital camera for just $199.99! DELL 10 DAYS OF DEALS

Copyright © 2000-2010 EXTREME Overclocking. All rights reserved.
Disclaimer of Liability - Privacy Policy