upgrade
Thomas Lange
lange at informatik.Uni-Koeln.DE
Wed Jul 12 17:12:11 CEST 2000
Hi,
there's this long rcS_fai script that calls install_packages and
defines all environment variables, that are needed. FAI_ROOT and
classes must be defined maybe other too. fai has no mechanism to call
a command on every node of a cluster (push method), it uses a pull
method, so every node get it's command to execute. For upgrading you
do not need fai. Try this little script
#! /bin/csh
set clustername=node
foreach h (01 02 03 04 05 06 07 08 09 10 11 12 13 14)
set host = $clustername$h
ping $host 1 >/dev/null
if ($status == 0) then
echo ''
echo ''
echo '***** '$host' *****'
rsh $host apt-get update
rsh $host apt-get -f -y upgrade
endif
end
--
Thomas
----------------------------------------------------------------------
Thomas Lange
Institut fuer Informatik mailto:lange at informatik.Uni-Koeln.DE
Universitaet zu Koeln
Pohligstr. 1 Telefon: +49 221 470 5303
50969 Koeln Fax : +49 221 470 5317
----------------------------------------------------------------------
More information about the linux-fai
mailing list