rdist

Sherman, Jay JSherman at dainrauscher.com
Wed Jan 17 10:11:04 EST 2001


The man page for rdist should give better examples for the Distfile.  here's
an example:

#> cat /Distfile

myboxes = ( box1 box2 box3 )
otherboxes = ( box4 box5 )

localdist: ( /usr/local/lib
             /usr/local/bin
             /usr/local/patches
           ) -> ${otherboxes}

mydist: ( /home/myhomedir
          /usr/games
        ) -> ${myboxes}
        except_pat .profile

#> rdist -R localdist

The above command will look in /Distfile (by default) for the
label "localdist".  It will then transfer those three directories
you see there to $otherboxes, or box4 and box5.  The "-R" means
"remove any files on the target box that no longer exist
on the source box."  It's a good way to keep directories in sync.
straight rcp -r would cause old files to build up on the target
box.

In the second stanza, the "mydist" label would transfer everything from
those listed directories to box1, box2, and box3 *except* for any filenames
matching the pattern .profile.

Hope these examples help.  rdist and rsync (freeware) are very useful.  -Jay



-----Original Message-----
From: J. RAHEB [mailto:jraheb at julian.uwo.ca]
Sent: Tuesday, January 16, 2001 10:21 AM
To: beowulf at beowulf.org
Subject: rdist


Hello everyone,

I am trying to use rdist to distribut node info files accross our
cluster.  However, the man pages seem a bit confusing.  If anyone can
simplify the process for me I would appreciate the help.

Joey


_______________________________________________
Beowulf mailing list
Beowulf at beowulf.org
http://www.beowulf.org/mailman/listinfo/beowulf

_______________________________________________
Beowulf mailing list
Beowulf at beowulf.org
http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list