Launches a Pyro4 nameserver
Starts all pyro_workers defined in pyro_settings.pyro_workers
ssh’s into each computer and issues a command to start pyro_worker
Established communication with and gives tasks to all pyro_workers
N.B. pyro_nameserver must be set up first, and pyro workers must be running on each of the servers defined by pyro_settings.worker servers (either by running pyro_start.py or by manually starting them).
Starts off by finding each of the pyro_workers, then generates a task schedule and uses this to farm out work to each of the workers. Once all work has been done, finished.
Kills all pyro_workers defined in pyro_settings.pyro_workers
ssh’s into each computer and issues a command to kill pyro_worker
Runs on each of the worker servers
Listens for do_work requests by pyro_manager, on receiving of a test does the required work and saves it to disk using a results manager.
Do the work required by pyro_manager
Parameters: |
|
---|---|
Returns: | dict containing details of task |
Sets up a PyroWorker and starts its event loop to wait for calls from a pyro_manager
Represents on task that is to be done
Parameters: |
|
---|
Current status of task, must be in STATUSES
What task this is doing
Keeps track of all tasks to be done, and can issue the next outstanding class
Parameters: |
|
---|
Retursn the next outstanding task, None if there are no more
Returns a string representing the progress for all years
Returns a string representing the progress of the year
Prints progress