aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-06-29 16:01:03 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-06-29 17:50:44 +0200
commitc5b6fcddca80153daba328334bc48caa3a546ab5 (patch)
treeffe7680d084c29bec80f912a087b155981392e79 /docs
parentae33f0dff59bbd493d48eabe521b33981a785271 (diff)
syz-hub: split client name and manager name
This allows to reduce number of hub clients by grouping managers and creating one client per such group.
Diffstat (limited to 'docs')
-rw-r--r--docs/hub.md (renamed from docs/connecting_several_managers.md)17
1 files changed, 11 insertions, 6 deletions
diff --git a/docs/connecting_several_managers.md b/docs/hub.md
index 9925bbfb6..7b7cb3f8c 100644
--- a/docs/connecting_several_managers.md
+++ b/docs/hub.md
@@ -1,15 +1,16 @@
-# How to connect several managers via Hub
+# Connecting several managers via Hub
-`syz-hub` program can be used to connect several `syz-manager`'s together and allow them to exchange programs.
+`syz-hub` program can be used to connect several `syz-manager`'s together and
+allow them to exchange programs.
-Build `syz-hub` with `go install github.com/google/syzkaller/syz-hub`. Then create a config file along the lines of:
+Build `syz-hub` with `make hub`. Then create a config file along the lines of:
```
{
"http": ":80",
"rpc": ":55555",
"workdir": "/syzkaller/workdir",
- "managers": [
+ "clients": [
{"name": "manager1", "key": "6sCFsJVfyFQVhWVKJpKhHcHxpCH0gAxL"},
{"name": "manager2", "key": "FZFSjthHHf8nKm2cqqAcAYKM5a3XM4Ao"},
{"name": "manager3", "key": "fTrIBQCmkEq8NsvQXZiOUyop6uWLBuzf"}
@@ -17,12 +18,16 @@ Build `syz-hub` with `go install github.com/google/syzkaller/syz-hub`. Then crea
}
```
-And start it with `$GOPATH/syz-hub -config hub.cfg`. Then add the following additional parameters to `syz-manager` config files of each manager:
+And start it with `bin/syz-hub -config hub.cfg`. Then add the following
+additional parameters to `syz-manager` config files of each manager:
```
"name": "manager1",
+ "hub_client": "manager1",
"hub_addr": "1.2.3.4:55555",
"hub_key": "6sCFsJVfyFQVhWVKJpKhHcHxpCH0gAxL",
```
-And start managers. Once they triage local corpus, they will connect to the hub and start exchanging inputs. Both hub and manager web pages will show how many inputs they send/receive from the hub.
+And start managers. Once they triage local corpus, they will connect to the hub
+and start exchanging inputs. Both hub and manager web pages will show how many
+inputs they send/receive from the hub.