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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        74d 18h 21m 1 Ken Zangelin 04/May/20 10:27 AM

          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: