Cluster administration

Jan Nabbefeld speckbokking at yahoo.de
Fri Jun 20 09:32:57 CEST 2003


Hallo,
On 19.06.2003, Ari Pollak wrote:
> The installation seems easy enough and I've seen a lot of success 
> reports with large clusters and FAI, but nobody seems to have reported 
> anything about administration _after_ the initial installation.

You can use rsync for synchronisation. First update one host manually. Then
start a script like:

PRIMARY_HOST="141.45.183.201"
EXCLUDE_FILE="/root/tuxsync.exclude"

/usr/bin/rsync --archive \
  --rsh="ssh -1" \
  --delete \
  --exclude-from=${EXCLUDE_FILE} \
  --verbose \
  root@${PRIMARY_HOST}:/ /

on every machine you want to synchronize. $EXCLUDE_FILE looks like this:

/proc/
/dev/pts/
/tmp/
+ /var/lib/
+ /var/lib/dpkg/

[...]

An other idea would be to skip the tasks partition and extrbase. 

Cheers,

Jan
-- 
Lose weight while your sleeping!



More information about the linux-fai mailing list