diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-11-23 19:49:11 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-11-23 19:49:11 +0100 |
commit | a784c8f795f60604a2cd6f9633a213e891e4d7df (patch) | |
tree | 2e115572d1bc28243237c5a525548b6a7206d7cd /PROTOCOL | |
parent | 7b6d970a87fbfc2079ba98a26c0b457cc8cd05ee (diff) | |
download | biruda-a784c8f795f60604a2cd6f9633a213e891e4d7df.tar.gz biruda-a784c8f795f60604a2cd6f9633a213e891e4d7df.tar.bz2 |
got to POSTing the start command to the master, now we have to design the messaging below
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. + |