Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-16550

[fiware-stackoverflow] Connect orion to a mongodb replica set

    Details

      Description

      Created question in FIWARE Q/A platform on 19-02-2020 at 15:02
      Please, ANSWER this question AT https://stackoverflow.com/questions/60302099/connect-orion-to-a-mongodb-replica-set

      Question:
      Connect orion to a mongodb replica set

      Description:
      I try to connect the orion context broker to a mongodb replica set. I have the following mongodb url:

      mongodb://rwuser:****@192.168.0.139:8635,192.168.0.180:8635/test?authSource=admin&replicaSet=replica

      As described here I set the following parameters:

      -rplSet replica
      -dbhost 192.168.0.139:8635,192.168.0.180:8635
      -dbuser rwuser
      -dbpwd password
      -dbAuthDb admin

      But orion can't connect to the database:

      time=Wednesday 19 Feb 10:42:20 2020.241Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=mongoConnectionPool.cpp[213]:mongoConnect | msg=Database Startup Error (cannot connect to mongo - doing 100 retries with a 1000 millisecond interval)

      What am I missing?

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2020-02-19 15:06|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-02-19 15:06|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        kzangeli Ken Zangelin added a comment -

        Answered and accepted long time ago. The question was retired from SOF

        Show
        kzangeli Ken Zangelin added a comment - Answered and accepted long time ago. The question was retired from SOF

          People

          • Assignee:
            kzangeli Ken Zangelin
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: