From fcalvay@aviion.univ-lemans.fr Wed Jun 20 11:43:25 2001
Date: Wed, 20 Jun 2001 16:19:59 +0200
From: Florent Calvayrac <fcalvay@aviion.univ-lemans.fr>
Reply-To: Florent.Calvayrac@univ-lemans.fr
To: Robert G. Brown <rgb@phy.duke.edu>
Cc: beowulf@beowulf.org
Subject: Re: best/easiest tool for diskless COW.

"Robert G. Brown" wrote:
> 
> On Wed, 20 Jun 2001, Nelson Castillo wrote:

e
> The only hassle I've encountered with this is that to give the booting
> hosts fixed IP numbers you have to boot them once to get their ethernet
> number and then boot them again once you've set up the dhcpd record that
> maps the MAC address to the IP number.


I have added the following lines to install.ks :

---------------
ifconfig > res
fgrep inet res > res2
fgrep 192 res2 > res3
cut -b 21-34 res3 > res4
echo -n "IPADDR=" > res5
cat res4 >> res5
/usr/bin/wget ftp://192.168.32.1/pub/CLUSTER/conf/ifcfg-eth0
-O/etc/sysconfig/network-scripts/ifcfg-eth0
/usr/bin/wget ftp://192.168.32.1/pub/CLUSTER/conf/ifcfg-eth1
-O/etc/sysconfig/network-scripts/ifcfg-eth1
/usr/bin/wget ftp://192.168.32.1/pub/CLUSTER/conf/ifcfg-bond0
-O/etc/sysconfig/network-scripts/ifcfg-bond0
cat /tmp/res5 >> /etc/sysconfig/network-scripts/ifcfg-bond0
------------------------------------------------

of course this is very specific (guess where our B class network 
hides..), and gives you channel bonding "on the top of the market",
to translate litteraly from french, but gives you the idea.
For normal use replace the last "bond0" by, say, "eth0" 









-- 
Florent Calvayrac                          | Tel : 02 43 83 26 26 
Laboratoire de Physique de l'Etat Condense | Fax : 02 43 83 35 18
UMR-CNRS 6087         | http://www.univ-lemans.fr/~fcalvay 
Universite du Maine-Faculte des Sciences   |
72085 Le Mans Cedex 9
