Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Neuer Multihost unter Windows ...?

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    500

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    405

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    986

Neuer Multihost unter Windows ...?

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
windows multihost
8 Beiträge 2 Kommentatoren 729 Aufrufe 2 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Offline
    M Offline
    mameier1234
    schrieb am zuletzt editiert von
    #1

    Hallo,

    ich versuche gerade ein neues IO-Broker System unter Windows als mutlihost aufzusetzen...

    Allerdings finde ich den parameter "setup" oder "multihost" nicht..

    https://www.iobroker.net/docu/index-24.htm?page_id=3068&lang=de So wie hier beschrieben, geht es wohl mit der aktuellen Version (2.1.0) nicht mehr...

    Geht das momentan gar nicht ?

    C:\Program Files\iobroker\SigmaIT\daemon>iobroker help
    A wrapper binary that can be used to host executables as Windows services
    
    Usage: winsw [/redirect file] <command> [<args>]
           Missing arguments trigger the service mode
    
    Available commands:
    - 'install'   - install the service to Windows Service Controller
    - 'uninstall' - uninstall the service
    - 'start'     - start the service (must be installed before)
    - 'stop'      - stop the service
    - 'restart'   - restart the service
    - 'restart!'  - self-restart (can be called from child processes)
    - 'status'    - check the current status of the service
    - 'test'      - check if the service can be started and then stopped
    - 'testwait'  - starts the service and waits until a key is pressed then stops the service
    - 'version'   - print the version info
    - 'help'      - print the help info (aliases: -h,--help,-?,/?)
    
    Extra options:
    - '/redirect' - redirect the wrapper's STDOUT and STDERR to the specified file
    
    WinSW 2.3.0.0
    More info: https://github.com/kohsuke/winsw
    Bug tracker: https://github.com/kohsuke/winsw/issues
    

    Grüße,

    Martin

    arteckA 1 Antwort Letzte Antwort
    0
    • M mameier1234

      Hallo,

      ich versuche gerade ein neues IO-Broker System unter Windows als mutlihost aufzusetzen...

      Allerdings finde ich den parameter "setup" oder "multihost" nicht..

      https://www.iobroker.net/docu/index-24.htm?page_id=3068&lang=de So wie hier beschrieben, geht es wohl mit der aktuellen Version (2.1.0) nicht mehr...

      Geht das momentan gar nicht ?

      C:\Program Files\iobroker\SigmaIT\daemon>iobroker help
      A wrapper binary that can be used to host executables as Windows services
      
      Usage: winsw [/redirect file] <command> [<args>]
             Missing arguments trigger the service mode
      
      Available commands:
      - 'install'   - install the service to Windows Service Controller
      - 'uninstall' - uninstall the service
      - 'start'     - start the service (must be installed before)
      - 'stop'      - stop the service
      - 'restart'   - restart the service
      - 'restart!'  - self-restart (can be called from child processes)
      - 'status'    - check the current status of the service
      - 'test'      - check if the service can be started and then stopped
      - 'testwait'  - starts the service and waits until a key is pressed then stops the service
      - 'version'   - print the version info
      - 'help'      - print the help info (aliases: -h,--help,-?,/?)
      
      Extra options:
      - '/redirect' - redirect the wrapper's STDOUT and STDERR to the specified file
      
      WinSW 2.3.0.0
      More info: https://github.com/kohsuke/winsw
      Bug tracker: https://github.com/kohsuke/winsw/issues
      
      arteckA Offline
      arteckA Offline
      arteck
      Developer Most Active
      schrieb am zuletzt editiert von
      #2

      @mameier1234

      anschauen bitte

      https://www.youtube.com/watch?v=r7gk4ilF_h4

      zigbee hab ich, zwave auch, nuc's genauso und HA auch

      1 Antwort Letzte Antwort
      0
      • M Offline
        M Offline
        mameier1234
        schrieb am zuletzt editiert von mameier1234
        #3

        Ja... nettes Video,

        aber unter Windows gibt es eben den parameter "Multihost" nicht..

        Und... ich bin in zwei Subnetzen.. da ginge das sowieso nicht....

        EDIT:

        OK... gefunden...

        Man muss jetzt die "Io-Broker Commandline" aus dem Startmenü öffnen,

        dann klappt auch der iobroker setup custom wieder

        Grüße,

        Martin

        M 1 Antwort Letzte Antwort
        0
        • M mameier1234

          Ja... nettes Video,

          aber unter Windows gibt es eben den parameter "Multihost" nicht..

          Und... ich bin in zwei Subnetzen.. da ginge das sowieso nicht....

          EDIT:

          OK... gefunden...

          Man muss jetzt die "Io-Broker Commandline" aus dem Startmenü öffnen,

          dann klappt auch der iobroker setup custom wieder

          M Offline
          M Offline
          mameier1234
          schrieb am zuletzt editiert von
          #4

          @mameier1234

          Geht leider noch nicht...

          Master hat die IP 192.168.171.6 und ist per VPN mit Slave 192.168.170.1 verbunden..

          Am Master follgendes durchgeführt:

          C:\Program Files\iobroker\SigmaIT>iobroker setup custom
          Current configuration:
          - Objects database:
            - Type: file
            - Host/Unix Socket: 127.0.0.1
            - Port: 9001
          - States database:
            - Type: file
            - Host/Unix Socket: 127.0.0.1
            - Port: 9000
          - Data Directory: ../../iobroker-data/
          - Host name: srvCLApp(SigmaIT)
          
          Type of objects DB [(f)ile, (r)edis], default [file]:
          Host / Unix Socket of objects DB(file), default[127.0.0.1]:
          Port of objects DB(file), default[9001]:
          Type of states DB [(f)file, (r)edis], default [file]:
          Host / Unix Socket of states DB (file), default[127.0.0.1]:
          Port of states DB (file), default[9000]:
          Data directory (file), default[../../iobroker-data/]:
          Host name of this machine [srvCLApp(SigmaIT)]:
          updating conf/iobroker.json
          

          Dann am Slave:

          C:\Program Files\iobroker\SigmaIT2>iobroker setup custom
          Current configuration:
          - Objects database:
            - Type: file
            - Host/Unix Socket: 127.0.0.1
            - Port: 9001
          - States database:
            - Type: file
            - Host/Unix Socket: 127.0.0.1
            - Port: 9000
          - Data Directory: ../../iobroker-data/
          - Host name: srvLocal(SigmaIT2)
          
          Type of objects DB [(f)ile, (r)edis], default [file]:
          Host / Unix Socket of objects DB(file), default[127.0.0.1]: 192.168.171.6
          Port of objects DB(file), default[9001]:
          Type of states DB [(f)file, (r)edis], default [file]:
          Host / Unix Socket of states DB (file), default[192.168.171.6]:
          Port of states DB (file), default[9000]:
          Host name of this machine [srvLocal]:
          updating conf/iobroker.json
          
          C:\Program Files\iobroker\SigmaIT2>iobroker start
          2020-01-22 15:41:42,778 INFO  - Starting the service with id 'iobroker(SigmaIT2)'
          

          Im Slave Log taucht dann nur:

          020-01-22 15:44:25.336  - info: host.srvLocal iobroker Starting node restart.js
          2020-01-22 15:47:08.834  - info: host.srvLocal iobroker.js-controller version 2.1.0 js-controller starting
          2020-01-22 15:47:08.834  - info: host.srvLocal Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
          2020-01-22 15:47:08.834  - info: host.srvLocal hostname: srvLocal, node: v10.17.0
          2020-01-22 15:47:08.850  - info: host.srvLocal ip addresses: fe80::7019:5d74:3461:dbe4 192.168.170.1
          2020-01-22 15:47:38.866  - error: host.srvLocal No connection to databases possible, restart
          2020-01-22 15:47:38.866  - info: host.srvLocal iobroker _restart
          2020-01-22 15:47:39.413  - info: host.srvLocal iobroker Starting node restart.js
          
          

          auf.. Dienst beendet sich wieder... Keinerlei Versuch auf die 192.168.171.6 zuzugreifen...

          Grüße,

          Martin

          arteckA 1 Antwort Letzte Antwort
          0
          • M mameier1234

            @mameier1234

            Geht leider noch nicht...

            Master hat die IP 192.168.171.6 und ist per VPN mit Slave 192.168.170.1 verbunden..

            Am Master follgendes durchgeführt:

            C:\Program Files\iobroker\SigmaIT>iobroker setup custom
            Current configuration:
            - Objects database:
              - Type: file
              - Host/Unix Socket: 127.0.0.1
              - Port: 9001
            - States database:
              - Type: file
              - Host/Unix Socket: 127.0.0.1
              - Port: 9000
            - Data Directory: ../../iobroker-data/
            - Host name: srvCLApp(SigmaIT)
            
            Type of objects DB [(f)ile, (r)edis], default [file]:
            Host / Unix Socket of objects DB(file), default[127.0.0.1]:
            Port of objects DB(file), default[9001]:
            Type of states DB [(f)file, (r)edis], default [file]:
            Host / Unix Socket of states DB (file), default[127.0.0.1]:
            Port of states DB (file), default[9000]:
            Data directory (file), default[../../iobroker-data/]:
            Host name of this machine [srvCLApp(SigmaIT)]:
            updating conf/iobroker.json
            

            Dann am Slave:

            C:\Program Files\iobroker\SigmaIT2>iobroker setup custom
            Current configuration:
            - Objects database:
              - Type: file
              - Host/Unix Socket: 127.0.0.1
              - Port: 9001
            - States database:
              - Type: file
              - Host/Unix Socket: 127.0.0.1
              - Port: 9000
            - Data Directory: ../../iobroker-data/
            - Host name: srvLocal(SigmaIT2)
            
            Type of objects DB [(f)ile, (r)edis], default [file]:
            Host / Unix Socket of objects DB(file), default[127.0.0.1]: 192.168.171.6
            Port of objects DB(file), default[9001]:
            Type of states DB [(f)file, (r)edis], default [file]:
            Host / Unix Socket of states DB (file), default[192.168.171.6]:
            Port of states DB (file), default[9000]:
            Host name of this machine [srvLocal]:
            updating conf/iobroker.json
            
            C:\Program Files\iobroker\SigmaIT2>iobroker start
            2020-01-22 15:41:42,778 INFO  - Starting the service with id 'iobroker(SigmaIT2)'
            

            Im Slave Log taucht dann nur:

            020-01-22 15:44:25.336  - info: host.srvLocal iobroker Starting node restart.js
            2020-01-22 15:47:08.834  - info: host.srvLocal iobroker.js-controller version 2.1.0 js-controller starting
            2020-01-22 15:47:08.834  - info: host.srvLocal Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
            2020-01-22 15:47:08.834  - info: host.srvLocal hostname: srvLocal, node: v10.17.0
            2020-01-22 15:47:08.850  - info: host.srvLocal ip addresses: fe80::7019:5d74:3461:dbe4 192.168.170.1
            2020-01-22 15:47:38.866  - error: host.srvLocal No connection to databases possible, restart
            2020-01-22 15:47:38.866  - info: host.srvLocal iobroker _restart
            2020-01-22 15:47:39.413  - info: host.srvLocal iobroker Starting node restart.js
            
            

            auf.. Dienst beendet sich wieder... Keinerlei Versuch auf die 192.168.171.6 zuzugreifen...

            arteckA Offline
            arteckA Offline
            arteck
            Developer Most Active
            schrieb am zuletzt editiert von
            #5

            @mameier1234 am master auch..

            iobroker multihost enable
            

            gemacht

            zigbee hab ich, zwave auch, nuc's genauso und HA auch

            M 1 Antwort Letzte Antwort
            0
            • arteckA arteck

              @mameier1234 am master auch..

              iobroker multihost enable
              

              gemacht

              M Offline
              M Offline
              mameier1234
              schrieb am zuletzt editiert von
              #6

              @arteck Nein.. denn:

              Multihost mit verschiedenen Subnetzen
              Achtung !!!
              
              Wenn beide ioBroker-Hosts in unterschiedlichen Subnetzen sind, …
              
              Beispiel:
              
              Normales LAN (für PC, Tablet, use.) = 192.168.178.0/24
              IoT LAN (für Shelly, Kameras, usw.) = 10.20.30.0/24
              … geht die Multihost-Automatik (“sudo iobroker multihost enable” und “sudo iobroker multihost browse“) nicht, sondern nur der alte Weg (iobroker setup custom) ==> Link
              

              Muss das Enable trotzdem sein ?? Ich habs ja mit iobroker setup custom aktiviert...

              Grüße,

              Martin

              arteckA 1 Antwort Letzte Antwort
              0
              • M mameier1234

                @arteck Nein.. denn:

                Multihost mit verschiedenen Subnetzen
                Achtung !!!
                
                Wenn beide ioBroker-Hosts in unterschiedlichen Subnetzen sind, …
                
                Beispiel:
                
                Normales LAN (für PC, Tablet, use.) = 192.168.178.0/24
                IoT LAN (für Shelly, Kameras, usw.) = 10.20.30.0/24
                … geht die Multihost-Automatik (“sudo iobroker multihost enable” und “sudo iobroker multihost browse“) nicht, sondern nur der alte Weg (iobroker setup custom) ==> Link
                

                Muss das Enable trotzdem sein ?? Ich habs ja mit iobroker setup custom aktiviert...

                arteckA Offline
                arteckA Offline
                arteck
                Developer Most Active
                schrieb am zuletzt editiert von arteck
                #7

                @mameier1234 jo hast ja recht aber der Fehler liegt in dem local host

                mach am master aus

                Type of objects DB [(f)ile, (r)edis], default [file]:
                Host / Unix Socket of objects DB(file), default[127.0.0.1]:
                Port of objects DB(file), default[9001]:
                Type of states DB [(f)file, (r)edis], default [file]:
                Host / Unix Socket of states DB (file), default[127.0.0.1]:
                Port of states DB (file), default[9000]:
                Data directory (file), default[../../iobroker-data/]:
                Host name of this machine [srvCLApp(SigmaIT)]:
                
                Type of objects DB [(f)ile, (r)edis], default [file]:
                Host / Unix Socket of objects DB(file), default[127.0.0.1]: 0.0.0.0
                Port of objects DB(file), default[9001]:
                Type of states DB [(f)file, (r)edis], default [file]:
                Host / Unix Socket of states DB (file), default[0.0.0.0]: 0.0.0.0
                Port of states DB (file), default[9000]:
                Data directory (file), default[../../iobroker-data/]:
                Host name of this machine [srvCLApp(SigmaIT)]:
                

                am slave bleibt es so wie es ist
                dann solte es gehen ..

                zigbee hab ich, zwave auch, nuc's genauso und HA auch

                M 1 Antwort Letzte Antwort
                0
                • arteckA arteck

                  @mameier1234 jo hast ja recht aber der Fehler liegt in dem local host

                  mach am master aus

                  Type of objects DB [(f)ile, (r)edis], default [file]:
                  Host / Unix Socket of objects DB(file), default[127.0.0.1]:
                  Port of objects DB(file), default[9001]:
                  Type of states DB [(f)file, (r)edis], default [file]:
                  Host / Unix Socket of states DB (file), default[127.0.0.1]:
                  Port of states DB (file), default[9000]:
                  Data directory (file), default[../../iobroker-data/]:
                  Host name of this machine [srvCLApp(SigmaIT)]:
                  
                  Type of objects DB [(f)ile, (r)edis], default [file]:
                  Host / Unix Socket of objects DB(file), default[127.0.0.1]: 0.0.0.0
                  Port of objects DB(file), default[9001]:
                  Type of states DB [(f)file, (r)edis], default [file]:
                  Host / Unix Socket of states DB (file), default[0.0.0.0]: 0.0.0.0
                  Port of states DB (file), default[9000]:
                  Data directory (file), default[../../iobroker-data/]:
                  Host name of this machine [srvCLApp(SigmaIT)]:
                  

                  am slave bleibt es so wie es ist
                  dann solte es gehen ..

                  M Offline
                  M Offline
                  mameier1234
                  schrieb am zuletzt editiert von mameier1234
                  #8

                  @arteck Tschaka !!

                  das sollte vieleicht in dem verlinkten Web-Artikel aktualisiert werden ?? ... noch schlimmer, es steht ja so da und ich habe versucht mitzudenken :-)

                  Grüße,

                  Martin

                  1 Antwort Letzte Antwort
                  0

                  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
                  Antworten
                  • In einem neuen Thema antworten
                  Anmelden zum Antworten
                  • Älteste zuerst
                  • Neuste zuerst
                  • Meiste Stimmen


                  Support us

                  ioBroker
                  Community Adapters
                  Donate
                  FAQ Cloud / IOT
                  HowTo: Node.js-Update
                  HowTo: Backup/Restore
                  Downloads
                  BLOG

                  471

                  Online

                  32.8k

                  Benutzer

                  82.9k

                  Themen

                  1.3m

                  Beiträge
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                  ioBroker Community 2014-2025
                  logo
                  • Anmelden

                  • Du hast noch kein Konto? Registrieren

                  • Anmelden oder registrieren, um zu suchen
                  • Erster Beitrag
                    Letzter Beitrag
                  0
                  • Home
                  • Aktuell
                  • Tags
                  • Ungelesen 0
                  • Kategorien
                  • Unreplied
                  • Beliebt
                  • GitHub
                  • Docu
                  • Hilfe