<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[gelöst] Multihost konfigurieren]]></title><description><![CDATA[<p dir="auto">Ich habe gerade etwas Probleme einen Slave zu verbinden. Der Master ist wie folgt aufgesetzt:</p>
<pre><code>pi@raspberrypi:~ $ iobroker setup custom
Current configuration:
- Objects database:
  - Type: file
  - Host/Unix Socket: 0.0.0.0
  - Port: 9001
- States database:
  - Type: redis
  - Host/Unix Socket: 0.0.0.0
  - Port: 6379
- Data Directory: ../../iobroker-data/

Type of objects DB [(f)ile, (r)edis], default [file]: f
Host / Unix Socket of objects DB(file), default[0.0.0.0]:
Port of objects DB(file), default[9001]:
Type of states DB [(f)file, (r)edis], default [redis]: r
Host / Unix Socket of states DB (redis), default[0.0.0.0]: 0.0.0.0
Port of states DB (redis), default[6379]:
Host name of this machine [raspberrypi]:
updating conf/iobroker.json
pi@raspberrypi:~ $ iobroker multihost enable
Please check the binding of redis service. By default it is only local: http://download.redis.io/redis-stable/redis.conf
Change "bind 127.0.0.1" to "bind 0.0.0.0" or to others.
No configuration change needed.


Multihost discovery server: enabled
Discovery authentication:   enabled
Objects:                    file on 0.0.0.0
States:                     redis on 0.0.0.0
</code></pre>
<p dir="auto">Der Slave so:</p>
<pre><code>pi@brokerslave:~ $ sudo iobroker setup custom
Current configuration:
- Objects database:
  - Type: file
  - Host/Unix Socket: 192.168.178.49
  - Port: 9001
- States database:
  - Type: redis
  - Host/Unix Socket: 192.168.178.49
  - Port: 6379
- Data Directory: ../../iobroker-data/

Type of objects DB [(f)ile, (r)edis], default [file]: f
Host / Unix Socket of objects DB(file), default[192.168.178.49]:
Port of objects DB(file), default[9001]:
Type of states DB [(f)file, (r)edis], default [redis]:
Host / Unix Socket of states DB (redis), default[192.168.178.49]:
Port of states DB (redis), default[6379]:
Host name of this machine [brokerslave]:
updating conf/iobroker.json
pi@brokerslave:~ $ iobroker multihost connect
No connection to states 192.168.178.49:6379[redis]
</code></pre>
<p dir="auto">Warum verbindet der slave nicht auf den master?</p>
<p dir="auto">[Edit:] Hat sich erledigt, ich musste in der redis.conf noch bind setzen.</p>
]]></description><link>https://forum.iobroker.net/topic/34046/gelöst-multihost-konfigurieren</link><generator>RSS for Node</generator><lastBuildDate>Wed, 06 May 2026 07:25:19 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/34046.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Jun 2020 21:57:05 GMT</pubDate><ttl>60</ttl></channel></rss>