NEWS
2. Slave verbindet nicht mit Master (Docker, Raspi, VM)
-
Hi!
Meine Config:
iobroker Master auf Synology Docker
iobroker Slave 1 auf Raspberry (verbunden mit Master)
iobroker Slave 2 auf Proxmox (verbindet sich nicht mit Master)Ich habe auf beiden Slaves die gleiche Config für die Verbindung zum Master, aber die Verbindung wird nicht hergestellt.
Per Telnet und Ping habe ich geprüft, dass die Ports und die IP erreichbar sind, alles grün.
Was kann ich noch tun?Slave 1:
Current configuration: - Objects database: - Type: jsonl - Host/Unix Socket: 10.0.3.22 - Port: 9001 - States database: - Type: jsonl - Host/Unix Socket: 10.0.3.22 - Port: 9000 - Data Directory: ../../iobroker-data/
Slave 2
ben@iobrokerslave2:/opt/iobroker$ iobroker setup custom Current configuration: - Objects database: - Type: jsonl - Host/Unix Socket: 10.0.3.22 - Port: 9001 - States database: - Type: jsonl - Host/Unix Socket: 10.0.3.22 - Port: 9000 - Data Directory: ../../iobroker-data/ Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [jsonl]: Host / Unix Socket of objects DB(jsonl), default[10.0.3.22]: Port of objects DB(jsonl), default[9001]: Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [jsonl]: Host / Unix Socket of states DB (jsonl), default[10.0.3.22]: Port of states DB (jsonl), default[9000]: Host name of this machine [iobrokerslave2]: updating conf/iobroker.json ben@iobrokerslave2:/opt/iobroker$ iobroker multihost connect No Multihost server found. Make sure iobroker is running on the host where you enabled multihost discovery (and it is not this host)! ben@iobrokerslave2:/opt/iobroker$ nc -zvw 5 10.0.3.22 9001 iobroker.k0f.de [10.0.3.22] 9001 (?) open ben@iobrokerslave2:/opt/iobroker$ nc -zvw 5 10.0.3.22 9000 iobroker.k0f.de [10.0.3.22] 9000 (?) open
-
@baeckerman83 sagte in 2. Slave verbindet nicht mit Master (Docker, Raspi, VM):
Haste das Ding draußen im wilden Internetz stehen???
-
@thomas-braun Nein habe ich nicht. Lokaler DNS mit Zertifikaten. Hier ist alles intern. Auch wenn der lokale DNS Server aus ist geht es nicht.
-
Nach welcher Anleitung machst Du die Verbindung ?
Du musst ja den Master sichtbar machen.
Und am Ende beide Geräte neu starten.https://www.iobroker.net/#de/documentation/config/multihost.md
-
@baeckerman83 sagte in 2. Slave verbindet nicht mit Master (Docker, Raspi, VM):
iobroker multihost connect
Ein
iobroker multihost connect
funktioniert nicht über Subnetz-Grenzen, wie man sie in Docker Umgebungen meist (in Bridge-Netzwerken) hat. Einiobroker setup custom
auf dem Slave und anschließender Neustart reicht aus.EDIT: siehe auch die von @haselchen verlinkte Doku: