Previous: scratch.html Next: nose.html

FART - Creating a new cluster server

Installation of a new cluster server begins with a fresh base installation of Debian. Consult documents:

depending if you already have a working cluster server or not.

INstalling FART

Getting the correct SERVERIP

It is essential that before you install fart, your server is configured with the IP address it will be using. This is not that simple since more than likely you will want(neeed) to use two network interfaces. Fart will use: (extracted from fart.config)
	SERVERIP=`ifconfig | sed -n -e 's/.*inet addr:\(192\.168\.2\.\w*\).*/\1/p'`
to try to guess your current IP address. THIS MAY NOT BE WHAT YOU WANT. The value of SERVERIP which fart uses MUST be the IP address belonging to your clusters network. See privatenet.html for more information. Fart will hard code the value of SERVERIP it finds If it gets the wrong number, don't PANIC. Just go to the console, take down all network interfaces and reinstall fart. Note also, that from the above code excerpt for SERVERIP, it only gets a value if it find an address in the 192.168.2.x network. Otherwise it will prompt you for the correct value.

APT's sources.list

Edit the /etc/apt/sources.list file and ensure that it contains the line:
	http://g4cluster.blackwire.com/debian unstable main

Using apt-get

Then at the bash prompt execute:

	apt-get update
	apt-get install fart
in sequence.

Fart will bring in other required packages for the cluster server including our modified dhcpd, tftpd and apache. It will also set up the CGI scripts to control booting, and populate $TFTPROOT with a skeleton directory tree.

Apache configuration

You will need to configure apache properly, to ensure security and proper functionality. Apache Configuration

Boot files in $TFTPROOT

You will also need to populate the $TFTPROOT with base install files. TFTPROOT and netboot files

The missing files that need to be deposited are:

DHCP configuration.

Fart does not start the dhcp server or configure it. This is a good thing. Though I assume no liability for anything you might do to fuck up your network, I will do what I can to minimize automation of such. If you were watching closely when you installed fart you would have seen a message go by on the screen telling you what you need to do with the DHCP server. Since you weren't, try running

	/etc/init.d/dhcp start
to see the message again. Also read dhcpd.html for other things you need to know and for an example dhcpd.config. Y Ya! Todo esta listo.

No te olvidas de cambiar 'default-gateway-ip' in OF on the new cluster server. Tambien tienes que usar a PATCHED KERNEL para el servidor. Estas bien ?