[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: possible debian cluster



On Wed, 20 Jan 1999, Christopher J. Morrone wrote:

{On Wed, 20 Jan 1999, Lonnie Sauter wrote:
{
{
{I would like to see how you set up rsync.  Running dselect on every node
{would be rediculous, but I haven't yet set up a nice rsync system to
{distribute system updates.
{

I use ipchains to allow compute1 to talk to the outside world (through the
service node).  Then I used dselect/apt to upgrade.  Then I execute the
following script:

#! /bin/sh

HOSTS="2 3 4 5 6 7 8 9 10 11 12 13 14 15 16"
EXCLUDE_FILE="./exclude.txt"

for HOST in $HOSTS ; do
  echo "Updating compute$HOST"
  echo
  rsync -avRx -e ssh --delete --exclude-from $EXCLUDE_FILE /
compute$HOST:/
done

Using the exclude file:

(57) # more exclude.txt 
/amd
/etc/adjtime
/etc/hostname
/etc/init.d/network
/etc/ioctl.save
/etc/mtab
/etc/ssh/ssh_host_key
/etc/ssh/ssh_host_key.pub
/etc/ssh/ssh_random_seed
/dev
/floppy
lost+found
/net
/proc
/root/exclude
/root/.ssh
/tmp
/var/log
/var/lock
/var/run
/var/state
/var/tmp
/vol

If you want anymore details please let me know.

Lon

---
                     Lonnie Sauter
Department of Mathematics	http://www.math.ukans.edu/~sauter	
315 Snow Hall			(785)864-4075 Office
University of Kansas		(785)864-5255 Fax
Lawrence, KS  66045
---


Reply to: