You can use the dns name of either server, the drivers will find the other server by interogating tbe one that you specify.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/1d839e70-e753-46d3-8805-e57ed2427224%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I want to create a cluster of two servers ( each server has its own mongodb instance ). I set up a replicaset between these two servers.
The goal is when one server is down, the other server should work. I want to access to the mongo by the DNS of the Cluster and not the nodes ( servers).
What should be my DNS for this cluster ? Does Mongo supports this architecture ?