IRIDIA cluster server daemons

From IridiaWiki
(Difference between revisions)
Jump to: navigation, search
(DCHP)
(Finding the MAC address of a node)
Line 28: Line 28:
   
 
=== Finding the MAC address of a node ===
 
=== Finding the MAC address of a node ===
....
+
The MAC address is a sequence of 12 hexadecimal digits, normally coupled and each couple separeted by a ``:'' or a space. If you do not have it, you can get it in this way:
  +
  +
On the server, type the following:
  +
<pre>
  +
tail -f /var/log/daemon.log
  +
</pre>
  +
Switch on the client and let it boot from the network (it will fail)
  +
  +
Look at the server's screen: it will appear a line like
  +
<pre>
  +
DHCPDISCOVER from 00:13:16:69:71:fa via eth1
  +
</pre>
  +
the numbers between ''from'' and ''via'' are the MAC address.

Revision as of 17:08, 15 February 2005

This page contains information on installing and setting up: DHCP, diskless, ...

It is assumed that the servers are running a minimal installation as described in the previous section IRIDIA cluster installing an OS on the servers.

Diskless

Install the package called diskless. This package contains tools and binaries for creating a Debian image for the diskless clients.

Create a new image:

diskless newimage

For more information on creating see http://wiki.debian.net/index.cgi?DiskLess


DCHP

A DHCP daemon should be installed on majorana so that IPs are given to the cluster nodes depending on their MAC address. When installing DCHP notice that the package dhcp3 could give some trouble with the /dev/rtc (real-time clock). However, the package named just dhcp seems to work.

We are not going to go through configuring DHCP here, but you can download a working version of the dhcpd.conf file and add any additional nodes.

Notice that the IPs on the cluster LAN should be assigned according to the following rules:

192.168.100.1:           polyphemus (p01)
192.168.100.2 - 99:      p02-p99 (diskless nodes)
192.168.100.100:         majorana (r01)
192.168.100.101 - 254    r02-r155

Finding the MAC address of a node

The MAC address is a sequence of 12 hexadecimal digits, normally coupled and each couple separeted by a ``: or a space. If you do not have it, you can get it in this way:

On the server, type the following:

tail -f /var/log/daemon.log

Switch on the client and let it boot from the network (it will fail)

Look at the server's screen: it will appear a line like

DHCPDISCOVER from 00:13:16:69:71:fa via eth1

the numbers between from and via are the MAC address.

Personal tools