Stanford High Performance Networking Group

Xdistribute - harneshing the power of a cluster or a NOW


SSH & Kerberos

The original version of distribute and Xdistribute from Karl Petty and Nick McKeown was modified, so that it could work on our protected environment. It uses ssh and scp (xdistribute) and krsh (distribute) to remotely execute programs and to transfer files back and forth between the controller and the cluster/Network of Workstations (NOW).

If you want to use xdistribute, and you want to use ssh to launch applications remotely, you will have to have sshd installed in the NOW and ssh and scp in the controller. Furthermore you should have a .shosts file in your home directory that contains the name of the controller and the user account in that computer.

e.g. klamath[1]> cat ~/.shosts
    klamath.stanford.edu molinero
    epic1.stanford.edu molinero

If you want to use distribute, and you want to use kerberos to launch applications remotely, you will have to have a kerberized NOW and controller. Xdistribute takes the -X kerberos flag to take this option. Furthermore you should have a .klogin file in your home directory with the tickets that you are willing to accept.

e.g. klamath[1]> cat ~/.klogin
    molinero@IR.STANFORD.EDU
You also have to do a kinit before launching xdistribute in order to get a ticket from the Kerberos server. klamath[1]> kinit
    Passwd:
klamath[1]> Xdistribute -p processes.txt -m machines.txt -X kerberos

You can get the programs from below:

Distribute

The source in tarred and gzipped form.

Xdistribute

The source in tarred and gzipped form.

Page maintained by Pablo Molinero Fernández (molinero@stanford.edu)

Last modified: Fri May 9 11:27:58 PDT 2003