Running the Distributed Task Bag System

The system may be ran on one computer or on seperate computers. The current configuration is set for running all the processes on the same machine. To run the processes on seperate machines, modify the following configuration files:

The following processes may be executed at the command line in order to see informational messages and pass command line arguments:

  1. Task Bag
    taskbag -n joe -c 1
    The -n (name) option is not manditory. The -c (configuration number) sets the task bag order. 1 is the first, 2 is the second, and so on. The system is currently configured to handle a maximum of 3 task bags.

    This process must be executed first.

  2. Front End
    fe
    This process must be executed before any workers or task masters. You may run any number of front ends (making changes to the config files), but one is sufficient.

  3. Task Master
    taskmaster -n larry
    The -n (name) option is not manditory. If more than one task master is executed, each should have a unique name.

  4. Worker
    worker -n bob
    The -n (name) option is not manditory. If more than one worker is executed, each should have a unique name.

Research | Home

Page last modified: