NEWS
Multihost neue IPs - Slave wird nicht mehr gefunden [gelöst]
-
Hallo Leute,
struktureiere gerade meine Netzwerk um (neue IPs etc.)
Dazu musste der Master und Slave neue IP bekommen.
Auf dem Master habe ich so ziemlich alles wieder am Laufen allerdings findet er den Slave nicht mehr:
Habe schon auf der Master versucht:
admin@iobroker-master:~$ iobroker multihost enable Please check the binding of the configured jsonl server to allow remote connections. No configuration change needed. Multihost discovery server: enabled Discovery authentication: enabled Persistent activation: disabled Objects: jsonl on 0.0.0.0 States: jsonl on 0.0.0.0Dann auf Slave:
pi@iobroker:~ $ iobroker multihost connect No connection to databases possible ...Wie kann ich dem Master den Slave wieder bekannt machen?
Danke.
-
Hallo Leute,
struktureiere gerade meine Netzwerk um (neue IPs etc.)
Dazu musste der Master und Slave neue IP bekommen.
Auf dem Master habe ich so ziemlich alles wieder am Laufen allerdings findet er den Slave nicht mehr:
Habe schon auf der Master versucht:
admin@iobroker-master:~$ iobroker multihost enable Please check the binding of the configured jsonl server to allow remote connections. No configuration change needed. Multihost discovery server: enabled Discovery authentication: enabled Persistent activation: disabled Objects: jsonl on 0.0.0.0 States: jsonl on 0.0.0.0Dann auf Slave:
pi@iobroker:~ $ iobroker multihost connect No connection to databases possible ...Wie kann ich dem Master den Slave wieder bekannt machen?
Danke.
@reutli sagte in Multihost neue IPs - Slave wird nicht mehr gefunden:
struktureiere gerade meine Netzwerk um (neue IPs etc.)
Sind Master und Slave nun in unterschiedlichen Subnetzen?
-
@reutli sagte in Multihost neue IPs - Slave wird nicht mehr gefunden:
struktureiere gerade meine Netzwerk um (neue IPs etc.)
Sind Master und Slave nun in unterschiedlichen Subnetzen?
@marc-berg
Nein gleiches Subnetz. -
@marc-berg
Nein gleiches Subnetz.@reutli dann mach es zu Fuss über
iob setup custom
Danach Neustarts nicht vergessen -
Auf dem Admin? Mit welchen Werten? Wo soll man da was zum Slave einstellen können?
admin@iobroker-master:/opt/iobroker/iobroker-data$ iob setup custom Current configuration: - Objects database: - Type: jsonl - Host/Unix Socket: 0.0.0.0 - Port: 9001 - States database: - Type: jsonl - Host/Unix Socket: 0.0.0.0 - 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[0.0.0.0]: 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[0.0.0.0]: Port of states DB (jsonl), default[9000]: Data directory (file), default[../../iobroker-data/]: Host name of this machine [iobroker-master]: updating conf/iobroker.json admin@iobroker-master:/opt/iobroker/iobroker-data -
Auf dem Admin? Mit welchen Werten? Wo soll man da was zum Slave einstellen können?
admin@iobroker-master:/opt/iobroker/iobroker-data$ iob setup custom Current configuration: - Objects database: - Type: jsonl - Host/Unix Socket: 0.0.0.0 - Port: 9001 - States database: - Type: jsonl - Host/Unix Socket: 0.0.0.0 - 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[0.0.0.0]: 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[0.0.0.0]: Port of states DB (jsonl), default[9000]: Data directory (file), default[../../iobroker-data/]: Host name of this machine [iobroker-master]: updating conf/iobroker.json admin@iobroker-master:/opt/iobroker/iobroker-data@reutli sagte in Multihost neue IPs - Slave wird nicht mehr gefunden:
Wo soll man da was zum Slave einstellen können?
Hier muss jeweils die IP/ der Hostname des Master eingegeben werden, bevor man Enter drückt.
Host / Unix Socket of objects DB(jsonl), default[0.0.0.0]:Host / Unix Socket of states DB (jsonl), default[0.0.0.0]:EDIT: das Ganze NUR am Slave!
-
Auf dem Admin? Mit welchen Werten? Wo soll man da was zum Slave einstellen können?
admin@iobroker-master:/opt/iobroker/iobroker-data$ iob setup custom Current configuration: - Objects database: - Type: jsonl - Host/Unix Socket: 0.0.0.0 - Port: 9001 - States database: - Type: jsonl - Host/Unix Socket: 0.0.0.0 - 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[0.0.0.0]: 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[0.0.0.0]: Port of states DB (jsonl), default[9000]: Data directory (file), default[../../iobroker-data/]: Host name of this machine [iobroker-master]: updating conf/iobroker.json admin@iobroker-master:/opt/iobroker/iobroker-data@reutli sagte in Multihost neue IPs - Slave wird nicht mehr gefunden:
Auf dem Admin?
nein, über die jeweilge Konsole der Hosts
-
@reutli sagte in Multihost neue IPs - Slave wird nicht mehr gefunden:
Wo soll man da was zum Slave einstellen können?
Hier muss jeweils die IP/ der Hostname des Master eingegeben werden, bevor man Enter drückt.
Host / Unix Socket of objects DB(jsonl), default[0.0.0.0]:Host / Unix Socket of states DB (jsonl), default[0.0.0.0]:EDIT: das Ganze NUR am Slave!
Das war der entscheidende Hinweis!
pi@iobroker:~ $ iob setup custom Current configuration: - Objects database: - Type: jsonl - Host/Unix Socket: 192.168.200.5 - Port: 9001 - States database: - Type: jsonl - Host/Unix Socket: 192.168.200.5 - 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[192.168.200.5]: 192.168.13.25 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[192.168.13.25]: Port of states DB (jsonl), default[9000]: Host name of this machine [iobroker]: updating conf/iobroker.json pi@iobroker:~ $ sudo rebootDanke!