Manpage of KA-DEPLOY
Section: User Commands (1)
Updated: 3 December 2001
Return to Main Contents
ka-deploy, ka-d-server, ka-d-client - send large amounts of data to several machines
is a tool designed to send large amount of data from one to many machines using TCP trees,
typically a regular chain.
The typical usage for ka-deploy is partition cloning.
The machine you want to send the data from must be running
and the machines you want to send the data to must run
will listen on a TCP port and wait for a given number of machines (
to connect to him.
Then the server will coordinate the clients in the creation of a TCP tree or chain. Once ready,
the server will run its command and pipe its standard output into the tree. The clients will read
data from the tree and pipe them into the standard input of their command.
FINDING THE SERVER
is run, it must contact a
program. There are two ways of telling the client how to find the server. The
option can be used to give the server hostname to the client. Another way is to use sessions:
give a same
option to both the server and the client, and the client will send UDP broadcast packets to locate the server.
Of course this works only if the client and server are within the same subnet.
A session name is merely a short string, such as "foobar" or "helloworld".
NUMBER OF CLIENTS
The server must be given a
option with the number of clients to wait before the building of the tree/chain occurs.
If for some reason (node failure for instance) at some moment you don't want to wait for all the clients,
you can force the server to exit the 'wait mode'. To do this, just run a
option. This client will contact the server, tell him to stop waiting, and will
- -a NUM
Specify the 'arity' of the tree, the number of nodes under each node in the tree.
The default is 1, and the result is a chain, instead of a tree.
If this option is used, then the client will not exit before all the other clients have finished
receiving the data. This option can be used to synchronize a bit the clients before they exit
- FINDING THE SERVER
- NUMBER OF CLIENTS
- SERVER OPTIONS
- CLIENT OPTIONS
This document was created by
using the manual pages.
Time: 12:05:23 GMT, December 04, 2001