NEWS
Nach update js-controller auf 1.1.2 beide Slave offline
-
Habe Master und beide Slaves auf den js-controller 1.1.2 upgedatet (Raspberri Pi 3)
Master läuft und zeigt unter Host die Version 1.1.2 an.
Slave sind rot und zeigen noch die alte 1.0.3 an.
Slave sind erreichbar. Ausgabe ps -ef | grep iobroker
` > root@iobroker1:~# ps -ef | grep iobroker
root 609 1 0 17:41 ? 00:00:03 iobroker.js-controller
avahi 658 1 0 17:47 ? 00:00:00 avahi-daemon: running [iobroker1.local]
root 674 665 0 17:48 pts/0 00:00:00 grep iobroker
root@iobroker1:~#
avahi 508 1 0 Aug09 ? 00:05:04 avahi-daemon: running [iobroker2.local]
root 13884 1 0 17:24 ? 00:00:05 iobroker.js-controller
root 13989 13954 0 17:47 pts/2 00:00:00 grep iobroker
root@iobroker2:~# `
Hoffe Ihr habt ne Idee.
Danke
Gruß Zippolighter
-
Das schon gesehen?
-
Nein hatte ich nicht.
Allerdings verstehe ich nicht wie ich das umkonfigurieren muss.
Wenn ich zwei slave habe z.B. 192.168.0.100 und 192.168.0.101 wie muss dann der Bereich Objekts aussehen??
Danke
-
Auf dem Master gibt's bei objects und States (falls nicht Redis) den "host" Eintrag in json file. Dort muss das richtige rein. Die Anzahl der slaves sind egal. Am Ende bestimmst du damit auf dem Master ob/das ein anderer Rechner (deine slaves) auf die objects db zugreifen darf.
-
In der Datei steht folgendes
` > "objects": {"type": "file",
"typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
"host": "127.0.0.1",
"port": 9001,
"user": "",
"pass": "",
"noFileCache": false,
"connectTimeout": 2000
},
"states": {
"type": "file",
"typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
"host": "127.0.0.1",
"port": 9000,
"options": {
"auth_pass": null,
"retry_max_delay": 15000
}
}, `
Damit bleiben die beiden Slave offline
Was ist jetzt bitte das richtige was ich wo reinschreiben muss.
Sorry aber ich verstehe es wirklich nicht
Danke
-
Für Multihostbetrieb muss aber drinstehen:
` > "objects": {
"type": "file",
"typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
"host": "0.0.0.0",
"port": 9001,
"user": "",
"pass": "",
"noFileCache": false,
"connectTimeout": 2000
},
"states": {
"type": "file",
"typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
"host": "0.0.0.0",
"port": 9000,
"options": {
"auth_pass": null,
"retry_max_delay": 15000
}
}, `