From a784c8f795f60604a2cd6f9633a213e891e4d7df Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 23 Nov 2014 19:49:11 +0100 Subject: got to POSTing the start command to the master, now we have to design the messaging below --- PROTOCOL | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'PROTOCOL') diff --git a/PROTOCOL b/PROTOCOL index 35ed369..14b0691 100644 --- a/PROTOCOL +++ b/PROTOCOL @@ -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. + -- cgit v1.2.3-54-g00ecf