diff options
Diffstat (limited to 'PROTOCOL')
-rw-r--r-- | PROTOCOL | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -45,3 +45,15 @@ The coordinators also send all known workers to the master as a list: { "workers": { "name": "worker1", "mode": "direct", "command": "build.sh" } { "name": "worker2", "mode": "direct", "command": "build.sh" } } + +Coordinator operations: +----------------------- + +{ "op": "start", "rule": "master", "worker": "worker1" } +{ "op": "stop", "rule": "master", "worker": "worker1" } +{ "op": "kill", "rule": "master", "worker": "worker1" } + +The master sends this as survey call to all coordinators, the coordinator +who feels responsible for this working with start/stop/kill the worker +with the given name. + |