Connect Syracuse conection o mongo db replicaset

SUGGESTED

Does anyone knows how to connect Syracuse to a mongodb replica set instance?

What are the conection configuration parameters on node.js? Already tried several approaches without being able to connect Syracuse with success to the active mongo node…

No problem with the mongo replicaset configurarion and database HA.... only syracuse not connecting to the replicaset...

Regards.

Parents
  • 0

    Hi Andre,
    In the multi-node environments I usually connect each Syracuse server to it's local member of the replication set.  i.e. 3 presentation servers with a local copy of Mongo as a member of the replica set.  Syracuse on presentation1 connects to Mongo on presentation1, Syracuse on presentation2 connects to Mongo on presentation2, etc

    If you only have one instance of Syracuse then I would connect it to the primary host of the replica set (the one with priority set to 1).  Make sure the "host" is set correctly when you run cfg = rs.conf() in MongoDB. 

Reply
  • 0

    Hi Andre,
    In the multi-node environments I usually connect each Syracuse server to it's local member of the replication set.  i.e. 3 presentation servers with a local copy of Mongo as a member of the replica set.  Syracuse on presentation1 connects to Mongo on presentation1, Syracuse on presentation2 connects to Mongo on presentation2, etc

    If you only have one instance of Syracuse then I would connect it to the primary host of the replica set (the one with priority set to 1).  Make sure the "host" is set correctly when you run cfg = rs.conf() in MongoDB. 

Children