NEWS
(fixed) 2. Slave verbindet nicht 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 -
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???
-
@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.
-
@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
-
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):
iobroker multihost connect
Ein
iobroker multihost connectfunktioniert nicht über Subnetz-Grenzen, wie man sie in Docker Umgebungen meist (in Bridge-Netzwerken) hat. Einiobroker setup customauf dem Slave und anschließender Neustart reicht aus.EDIT: siehe auch die von @haselchen verlinkte Doku:

-
@baeckerman83 sagte in 2. Slave verbindet nicht mit Master (Docker, Raspi, VM):
iobroker multihost connect
Ein
iobroker multihost connectfunktioniert nicht über Subnetz-Grenzen, wie man sie in Docker Umgebungen meist (in Bridge-Netzwerken) hat. Einiobroker setup customauf dem Slave und anschließender Neustart reicht aus.EDIT: siehe auch die von @haselchen verlinkte Doku:

@marc-berg Vielen Dank! Ich hatte beim googlen immer gelesen, dass man multihost connect ausführen muss. Der Neustart das hatte ich nicht gelesen, damit geht es. Super.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden